TigerVNC xfce config

Hi everyone,
I’ve been struggling since days to use latest TigerVNC, i finally get it to work but there is a glitch while using ~/.vnc/config file.

session=xfce
geometry=1920x1080
localhost
alwaysshared

I have remove it to be able to use TigerVNC :thinking: What can be the issue with it ?

[jeanmarc@zbox .vnc]$ cat /etc/pam.d/tigervnc
#%PAM-1.0
# pam_selinux.so close should be the first session rule
#-session   required     pam_selinux.so close
session    required     pam_loginuid.so
#-session   required     pam_selinux.so open
session    required     pam_namespace.so
session    optional     pam_keyinit.so force revoke
session    required     pam_limits.so
-session   optional     pam_systemd.so
session    required     pam_unix.so
-session   optional     pam_reauthorize.so prepare

[jeanmarc@zbox .vnc]$ sudo systemctl --full edit vncserver@:1
[Unit]
Description=Remote desktop service (VNC)
After=syslog.target network.target

[Service]
Type=forking
ExecStart=/usr/bin/vncsession-start %i
PIDFile=/run/vncsession-%i.pid

[Install]
WantedBy=multi-user.target

[jeanmarc@zbox .vnc]$ cat /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=jeanmarc
:2=jm

I have tried to use you configuration and in my case I have solved the issue with this command:

ln /etc/X11/tigervnc/Xsession /etc/X11/Xsession
1 Like