VNC does not work on startup but works otherwise

asked 2018-11-27 15:29:12 -0500

Ace_Ravi gravatar image

updated 2018-11-27 22:35:43 -0500

florian gravatar image

Fedora25 - Xvnc TigerVnc 1.7.0

VNC starts when the system boot's up but when logging in gives a blank screen But ssh into the system and running 'vncserver' in the CLI works fine. Able to vnc into the machine

I suspect issue with vncserver@.service in /etc/systemd/system (Below is the file content)

Can someone please help ?


# Clean any existing files in /tmp/.X11-unix environment
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/sbin/runuser -l root -c '/usr/bin/vncserver'
ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'

edit retag flag offensive close merge delete


Well, actually F25 is way beyond its lifetime. Could you upgrade to a supported distribution first, at the moment F28 or better yet F29, and then try again?

ed209 gravatar imageed209 ( 2018-11-28 04:37:40 -0500 )edit

Will recommend to use x11vnc server instead of vncserver. Will also recommend to upgrade from Fedora 25

aeperezt gravatar imageaeperezt ( 2018-11-28 19:27:23 -0500 )edit