Page 1 of 1

centos 8.3 vncserver wont start

Posted: 2020/12/17 12:54:02
by vcba79
Hi, all

I just update to 8.3 and vncserver wont start any more.

more /etc/tigervnc/vncserver.users
# TigerVNC User assignment
# This file assigns users to specific VNC display numbers.
# The syntax is <display>=<username>. E.g.:
# :2=andrew
# :3=lisa


more /home/vincent/.vnc/config
## Supported server options to pass to vncserver upon invocation can be listed
## in this file. See the following manpages for more: vncserver(1) Xvnc(1).
## Several common ones are shown below. Uncomment and modify to your liking.
# securitytypes=vncauth,tlsvnc
# desktop=sandbox


# Gnome GUI
/usr/bin/gnome-session &

#/usr/bin/startxfce4 &

And here is log
Xvnc TigerVNC 1.10.0 - built Aug 5 2020 15:49:28
Copyright (C) 1999-2019 TigerVNC Team and many others (see README.rst)
See for information on TigerVNC.
Underlying X server release 12008000, The X.Org Foundation

Thu Dec 17 20:49:41 2020
vncext: VNC extension running!
vncext: Listening for VNC connections on local interface(s), port 5901
vncext: created VNC server for screen 0
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Could not resolve keysym XF86MonBrightnessCycle
> Warning: Could not resolve keysym XF86RotationLockToggle
Errors from xkbcomp are not fatal to the X server
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
xinit: connection to X server lost

waiting for X server to shut down ComparingUpdateTracker: 0 pixels in / 0 pixel
s out
ComparingUpdateTracker: (1:-nan ratio)

What can I do to fix this problem?

Re: centos 8.3 vncserver wont start

Posted: 2021/01/06 08:35:12
by syosil_jacob
I think you need to remove the Gnome session line in the config file and replace it with:


Read more in /usr/share/doc/tigervnc/