KasmVNC
KasmVNC copied to clipboard
KDE installed but not recognised as such
Describe the bug
vncserver does not show KDE as a possible desktop environment. vncserver --select-de kde shows:
'kde': Desktop Environment not installed
Failed to execute /usr/lib/kasmvncserver/select-de.sh --select-de kde
KDE is my regular desktop environment on that machine, though. It's Ubuntu with the kubuntu-desktop package installed, so it is very much there.
The documentation, as linked from https://github.com/kasmtech/KasmVNC?tab=readme-ov-file#documentation, does mention that KDE should be supported.
System Description
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
Linux ws-sybren 5.15.0-97-generic #107-Ubuntu SMP Wed Feb 7 13:26:48 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
KasmVNC Details
Package: kasmvncserver_jammy_1.3.1_amd64.deb
Provide the output of this command.
$ Xvnc -version
Xvnc KasmVNC 1.3.1.230e50f7b89663316c70de7b0e3db6f6b9340489 - built Mar 15 2024 09:25:50
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12008000, The X.Org Foundation
To Reproduce
- Install Kubuntu 22.04 LTS
- Download https://github.com/kasmtech/KasmVNC/releases/download/v1.3.1/kasmvncserver_jammy_1.3.1_amd64.deb
- Run
sudo apt install kasmvncserver_jammy_1.3.1_amd64.deb - Run
vncserver --select-dm kde - See error
Expected behavior I expect KDE to be recognised and usable when it's installed.
I had this same issue with kubuntu 22.04. The command vncserver --select-dm invokes the script /usr/lib/kasmvncserver/select-de.sh to find the specified desktop environment. For KDE it expects /usr/bin/startkde to exist which is missing in Kubuntu 22.04. A workaround is to create a soft link to /usr/bin/startplasma-x11
sudo ln -s /usr/bin/startplasma-x11 /usr/bin/startkde
Then vncserver --select-dm kde should work. Tested on Kubuntu 22.04
for suse tumbleweed one gets the same error