cat /etc/redhat-release
Code: Select all
[code]CentOS Linux release 8.4.2105
Code: Select all
tigervnc-server-1.11.0-6.el8.x86_64
tigervnc-selinux-1.11.0-6.el8.noarch
tigervnc-server-minimal-1.11.0-6.el8.x86_64
tigervnc-license-1.11.0-6.el8.noarch
cat /etc/tigervnc/vncserver.user
Code: Select all
# TigerVNC User assignment
#
# This file assigns users to specific VNC display numbers.
# The syntax is <display>=<username>. E.g.:
#
# :2=andrew
# :3=lisa
:6=jeremyt
Code: Select all
## Default settings for VNC servers started by the vncserver service
#
# Any settings given here will override the builtin defaults, but can
# also be overriden by ~/.vnc/config and vncserver-config-mandatory.
#
# See the following manpages for more details: vncserver(1) Xvnc(1)
#
# Several common settings are shown below. Uncomment and modify to your
# liking.
# securitytypes=vncauth,tlsvnc
# desktop=sandbox
# geometry=2000x1200
# localhost
# alwaysshared
# Default to GNOME session
# Note: change this only when you know what are you doing
session=gnome
Code: Select all
## Mandatory settings for VNC servers started by the vncserver service
#
# Any settings given here will override the builtin defaults and
# settings specified in ~/.vnc/config or vnc-config-defaults.
#
# See the following manpages for more details: vncserver(1) Xvnc(1)
#
# Several common settings are shown below. Uncomment and modify to your
# liking.
# securitytypes=vncauth,tlsvnc
# desktop=sandbox
# geometry=2000x1200
# localhost
# alwaysshared
I attempted to start the vncserver service for my user
systemctl enable vncserver@:6
Code: Select all
Created symlink /etc/systemd/system/multi-user.target.wants/vncserver@:6.service → /etc/systemd/system/vncserver@.service.
systemctl status vncserver@:6
Code: Select all
● vncserver@:6.service - Remote desktop service (VNC)
Loaded: loaded (/etc/systemd/system/vncserver@.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Mon 2021-06-14 15:28:14 CDT; 24s ago
Process: 197763 ExecStart=/usr/libexec/vncsession-start :6 (code=exited, status=0/SUCCESS)
Main PID: 197770 (code=exited, status=0/SUCCESS)
Jun 14 15:28:12 gitlab.idm.nac-issa.org systemd[1]: Starting Remote desktop service (VNC)...
Jun 14 15:28:12 gitlab.idm.nac-issa.org systemd[1]: Started Remote desktop service (VNC).
Jun 14 15:28:14 gitlab.idm.nac-issa.org systemd[1]: vncserver@:6.service: Succeeded.
cat gitlab.idm.nac-issa.org\:6.log
Code: Select all
Using desktop session gnome
New 'gitlab.idm.nac-issa.org:6 (jeremyt@ad.nac-issa.org)' desktop is gitlab.idm.nac-issa.org:6
Starting desktop session gnome
Xvnc TigerVNC 1.11.0 - built Dec 17 2020 04:16:33
Copyright (C) 1999-2020 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12010000, The X.Org Foundation
Mon Jun 14 15:28:12 2021
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5906
vncext: created VNC server for screen 0
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
** (process:197813): WARNING **: 15:28:13.091: Could not make bus activated clients aware of XDG_CURRENT_DESKTOP=GNOME environment variable: Could not connect: Connection refused
xinit: connection to X server lost
waiting for X server to shut down
Mon Jun 14 15:28:13 2021
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:-nan ratio)