Closed ml232528 closed 6 months ago
No idea. Given the other problems you were experiencing, including the XDG permissions error you reported, the issue may be system-specific. No one else is reporting it, and I cannot reproduce it.
My best suggestion is to start the TurboVNC Server without a window manager, by passing -noxstartup
to /opt/TurboVNC/bin/vncserver
. Then run the window manager command manually:
DISPLAY=:1 /etc/X11/Xsession "env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --systemd --session=ubuntu"
That may reveal the source of the failure.
Scratch that. Ubuntu apparently logs the console output of the window manager to ~/.xsession-errors, so check that file for errors.
Scratch that. Ubuntu apparently logs the console output of the window manager to ~/.xsession-errors, so check that file for errors.
Resolved. By reviewing file ~/.xsession-errors, it was found that there is an error in the format of file ~/.xsessionrc. Correct after modifying the format of file ~/.xsessionrc.
~/.xsessionrc
delete remove_apps=("thunderbird" "rhythmbox" "libreoffice-writer")
Caused by installing NVIDIA driver
Found the same issue on the NVIDIA forum: https://forums.developer.nvidia.com/t/xrdp-fails-to-launch-due-to-nvidias-xsessionrc/222165 https://forums.developer.nvidia.com/t/fix-for-xsessionrc-file-for-usage-with-xrdp-gnome/252044
Starting without error, but actually not starting
log prompt Killing Xvnc process ID: