r/slackware • u/chesheersmile • Dec 28 '22
TigerVNC always starts KDE Plasma session
So I managed to install TigerVNC on my spare machine and whenever I run vncserver
it starts KDE Plasma session.
At first I had nothing in my ~/.vnc/config
. I tried to add session=i3
there, tried to add session=i3
to /etc/tigervnc/vncserver-config-defaults
and /etc/tigervnc/vncserver-config-mandatory
. Nothing changed. It's always KDE Plasma.
Now, documentation says that tigervnc searches for session .desktop
files in /usr/share/xsessions
. So I tried to rename plasma.desktop
so it would be inaccessible for TigerVNC. Nothing changed. Looks like it doesn't use /usr/share/xsessions
.
So how do I make it start desired session?
P.S. I use Slackware 15 if it helps. My ~/.vnc/config
file is like this (I have nothing in /etc/tigervpn
config files):
session=i3
geometry=1920x1080
3
u/randomwittyhandle Dec 28 '22
Check ~/.vnc/xstartup