centos 8.3 vncserver wont start

Issues related to applications and software problems and general support
Post Reply
vcba79
Posts: 31
Joined: 2015/12/21 09:36:06

centos 8.3 vncserver wont start

Post by vcba79 » 2020/12/17 12:54:02

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

:1=vincent


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
geometry=1024x768
localhost
alwaysshared


#!/bin/sh

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

# XFCE4 GUI
#/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 https://www.tigervnc.org 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?

syosil_jacob
Posts: 2
Joined: 2021/01/06 08:32:28

Re: centos 8.3 vncserver wont start

Post by syosil_jacob » 2021/01/06 08:35:12

I think you need to remove the Gnome session line in the config file and replace it with:

session=gnome

Read more in /usr/share/doc/tigervnc/HOWTO.md

/JSA

Post Reply

Return to “CentOS 8 - General Support”