Ask Your Question
2

VNC does not work on startup but works otherwise

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

Ace_Ravi gravatar image

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

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 ?


After=syslog.target network.target

[Service]
Type=forking
User=root

# 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'
PIDFile=/root/.vnc/%H%i.pid
ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'

[Install]
WantedBy=multi-user.target
edit retag flag offensive close merge delete

Comments

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 -0600 )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 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2018-12-06 18:27:53 -0600

simmon gravatar image

tigervnc stable but sometime show that blank screen, it's a conflict other reason,

first, check your firewalld system for open your port to use vnc service 5900-5905,

and check your home folder ./vnc

-rw-r--r-- 1 root root 332 12월 5 00:28 config

-rw-r--r-- 1 root root 3561 12월 5 12:08 orion:1.log

-rw-r--r-- 1 root root 6 12월 5 10:51 orion:1.pid

-rw------- 1 root root 8 12월 5 00:28 passwd

-rwxr-xr-x 1 root root 92 12월 5 00:28 xstartup

remove, pid and log file...it's show to restart your system. try vnc server...

also, check your vnc client check video...it's a another reason to make a problem.

Fedora System and Other Redhat Support Tigervnc wide use, and good work.

have a nice day...written by simmon

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-11-27 15:29:12 -0600

Seen: 48 times

Last updated: Dec 06