Desktop PC running Plasma most of the time, but Xfce is also installed. This PC runs vncserver. /etc/sysconfig/vncservers has line:
- Code: Select all
VNCSERVERS="1:<user>"
/home/<user>/.vnc has config file all defaults.
When vncserver is started, I get in the /home/<user>/.vnc/ log file:
KCrash: Attempting to start /usr/bin/plasmashell from kdeinit
KCrash: Application 'plasmashell' crashing...
Subsequently running tigervncviewer from laptop, I can connect to the desktop, but in the viewer window I get the message that plasma cannot connect/use Opengl2 - which seems a known issue.
Anyway, what I really want is in the vnc window to run Xfce, not plasma.
Trying to get there I have my /home/<user>/.vnc/xstartup file:
- Code: Select all
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec /etc/X11/xinit/xinitrc
xfce-session &
but that has no effect, i just keep getting a black screen on the laptop tigervncviewer. I guess putting the xfce call in the xstartup file is too little too late, since the call and crash of plasma happens already at the start of the vncserver.
What am I missing ????