With a fresh installation of F26 worktation with lxqt, I found two issues:
1 - SELinux prevents the vncserver daemon to run. This is bug (on buzilla) #1412468. The solution is to run as root:
ausearch -c 'systemd' --raw | audit2allow -M my-systemd
semodule -i my-systemd.pp
After rebooting, you can run: (as user, for display #3 with SELinux enforcing)
sudo systemctl start vncserver@:3.service
2 - After fixing SELinux, you can connect with vncviewer but the screen is dark blue. I tested it on the same computer running vncserver with:
vncviewer :3 (easier to debug)
It executes ~/.vnc/xstartup, which executes /etc/X11/xinit/xinitrc
xinitrc executes /etc/X11/xinit/Xclients which, in the fresh installation, does not support lxqt. The solution appears to be to add lxqt support in that file. It requires two things:
a) create /etc/sysconfig/desktop as root. the file content is:
set the permissions , as root: chmod 644 /etc/sysconfig/desktop
b) modify /etc/X11/xinit/Xclients to add lxqt. Here is the content of the modified file:
GSESSION="$(type -p gnome-session)"
MSESSION="$(type -p mate-session)"
STARTKDE="$(type -p startkde)"
STARTLXDE="$(type -p startlxde)"
STARTLXQT="$(type -p startlxqt)" # Added for LXQT
if [ -f /etc/sysconfig/desktop ]; then
if [ "$DESKTOP" = "GNOME" ]; then
elif [ "$DESKTOP" = "MATE" ]; then
elif [ "$DESKTOP" = "KDE" ]; then
elif [ "$DESKTOP" = "LXDE" ]; then
elif [ "$DESKTOP" = "LXQT" ]; then # Added for LXQT
PREFERRED="$STARTLXQT" # Added for LXQT
if [ -n "$PREFERRED" ]; then
if [ -n "$GSESSION" ]; then
# by default, we run GNOME.
elif [ -n "$STARTKDE" ]; then
# if GNOME isn't installed, try KDE.
elif [ -n "$STARTLXDE" ]; then
# if neither GNOME nor KDE then LXDE
elif [ -n "$STARTLXQT" ]; then # Added for LXQT
# if neither GNOME nor KDE nor LXDE then LXQT # Added for LXQT
exec "$STARTLXQT" # Added for LXQT
rm -f $HOME/Xrootenv.0Argh! Nothing good is installed. Fall back to twm
# gosh, neither fvwm95 nor fvwm2 is available;
# fall back to failsafe settings
[ -x /usr/bin/xsetroot ] && /usr/bin/xsetroot -solid '#222E45'
After these changes, I rebooted the system and vncviewer worked fine.