You are not logged in.

#1 2017-08-06 21:26:28

w88dy
Member
Registered: 2017-07-26
Posts: 9

VNC won't work on boot

Following the TigerVNC wiki page, I've managed to get VNC to work when I SSH into my server and start a vncserver manually. However, attempting to get VNC to work once I log out of the user, or to start on boot, is proving to be troublesome.

First of all, enabling linger:

loginctl enable-linger username

Will allow me to start a VNC session after I log out of my user (closing the ssh connection), but will break the connection once I reboot the system. When I say 'break' I mean that I can still create vncserver sessions, but they will not display the gnome desktop like it should, I just get a black screen.

The same is true if I try to get a vncserver to start on boot (I've tried both user and system modes, as described in the TigerVNC wiki). It works in that it does create a vncserver session on boot, but again if I attempt to connect to it (vncviewer on my client) I just get a black screen.

My guess is that there is something in loginctl/systemctl which is being problematic with vncserver. However I need some help in working out why it's not displaying the gnome desktop as I expect.

Thanks.

Offline

Board footer

Powered by FluxBB