I have a tigervnc configured via system, I have it running on multiple times on different Raspis, and they run as expected. Except for one. This one exits regularly and with no obvious reason. Also the time between crashes can vary.
Between 3 and 30 days.
If I look at the command line in ps the only obvious difference I can see there compared to the other machines is that the Passwordfile is not the one specified in the home directory but -PasswordFile /tmp/tigervnc.RuRM8e/passwd where on the others it would be -PasswordFile /home/user/.vnc/passwd
The only message related I can find in the log is:
Sat Aug 24 07:43:12 2024
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:nan ratio)
The Xtigervnc server cleanly exited!
Killing Xtigervnc process ID 870… success!
Any way to troubleshoot this?
on
DietPi v9.4.2
RPi 5 Model B
conf via dietpi.txt and systemd
So now it happened again. journalctl | grep vnc gives me only the start:
Sep 12 10:17:05 ELROND vncserver[716]: [ INFO ] Starting virtual desktop at display :1 in 3440x1440x16
Logfile says:
Sat Sep 21 15:34:38 2024
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:nan ratio)
The Xtigervnc server cleanly exited!
Killing Xtigervnc process ID 864... success!
Last used was on Sep 19th with a bit a strange entry:
Actually I don’t think it has anything to do with TigerVNC. But this is a problem in itself. since I was looking for hints for what could be the reason for TigerVNCs crrashes I came across this. And I found a .xsession-errors file in my home directory that was 1.6GB in file size.
The Raspi is used mainly by terminal but is for convenience sometimes approached via vnc.
So I installed TigerVNC and mate. No further configuration for anything else. There is no audio stuff connected whatsoever.
This file grows by the minute.
No I didn’t because I don’t know anything about audio. And there is no audio present, no device connected and nothing that I have installed related to audio.
So what would you recommend?
As I watch it now with tail -f I see that there is a permanent stream of error messages/s coming in
The only thing that remotely has to do with audio is handbrake which I have installed to automatically transcode video files. No clue if there could be a connection.
Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
bookworm 0
Kernel version | uname --all
Linux ELROND 6.6.31+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
Architecture | dpkg --print-architecture
arm64
SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
RPi 5 Model B (aarch64)
Power supply used | (EG: 5V 1A RAVpower)
SD card used | (EG: SanDisk ultra)
I am getting about 50 entries per second in .xsession-errors
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: Datei oder Verzeichnis nicht gefunden
ALSA lib control.c:1528:(snd_ctl_open_noupdate) Invalid CTL default
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_card_inum returned error: Datei oder Verzeichnis nicht gefunden
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_concat returned error: Datei oder Verzeichnis nicht gefunden
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: Datei oder Verzeichnis nicht gefunden
Although I understand your desire to keep things slender, the ALSA lib problem has nothing to do with TigerVNC.
In fact the ALSA lib problem is much more dramatic. It is a permanent anoying filling of diskspace which cannot be stopped. That’s why I opened a new topic.
At this point Joulinar I need to know whether there is anything to expect from your side or if I’m alone on this and should consider deleting this server and try a different OS?