This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE Plasma displays grey screen over TightVNC - Kali/rpi4

Tags: kde plasma, kali, tightvnc, rpi4 kde plasma, kali, tightvnc, rpi4 kde plasma, kali, tightvnc, rpi4
(comma "," separated)
randye007
Registered Member
Posts
0
Karma
0
Hi All,

Here are the details of my config:

    Linux kali 5.4.83-Re4son-v7l+
    Raspberry Pi 4
    Using TightVNC in a headless setup
    KDE Plasma

I had the setup working when I had the XFCE Desktop installed, but I wanted to migrate to KDE Plasma.

Here is my ~/.vnc/xstartup file:
Code: Select all
#!/bin/sh

xrdb "$HOME/.Xresources"
#startxfce4 &
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession
/usr/bin/startplasma-x11 &


Here is the systemctl status output of the vncserver service:
Code: Select all
● vncserver@1.service - VNC with TightVNCServer
     Loaded: loaded (/etc/systemd/system/vncserver@.service; disabled; vendor preset: disabled)
     Active: active (running) since Thu 2021-10-14 19:38:15 EDT; 54min ago
    Process: 1997 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill :1 > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)
    Process: 2002 ExecStart=/usr/bin/vncserver :1 -geometry 1920x1080 -depth 24 (code=exited, status=0/SUCCESS)
   Main PID: 2014 (Xtightvnc)
      Tasks: 73 (limit: 4915)
        CPU: 18.185s
     CGroup: /system.slice/system-vncserver.slice/vncserver@1.service
             ├─2014 Xtightvnc :1 -desktop X -auth /home/kali/.Xauthority -geometry 1920x1080 -depth 24 -rfbwait 120000 -rfbauth /home/kali/.vnc/passwd -rfbport 5901 -fp /usr/share/fonts/X11/misc/>
             ├─2020 /bin/sh /home/kali/.vnc/xstartup
             ├─2024 x-session-manager
             ├─2037 dbus-launch --autolaunch f8a0810db4424eda915d170a04ae1894 --binary-syntax --close-stderr
             ├─2038 /usr/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
             ├─2061 /usr/bin/dbus-launch --exit-with-session --sh-syntax
             ├─2062 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --session
             ├─2076 /usr/bin/ssh-agent x-session-manager
             ├─2098 /usr/lib/arm-linux-gnueabihf/libexec/kf5/start_kdeinit
             ├─2099 kdeinit5: Running...
             ├─2114 /usr/lib/arm-linux-gnueabihf/libexec/kf5/klauncher --fd=9
             ├─2136 /usr/bin/kwin_x11
             ├─2145 /usr/libexec/dconf-service
             ├─2150 /usr/bin/xsettingsd
             ├─2173 /usr/lib/arm-linux-gnueabihf/libexec/kactivitymanagerd
             ├─2186 /usr/bin/kglobalaccel5
             ├─2188 /usr/bin/ksmserver
             ├─2211 /usr/lib/arm-linux-gnueabihf/libexec/org_kde_powerdevil
             ├─2213 /usr/bin/gmenudbusmenuproxy
             ├─2226 /usr/lib/arm-linux-gnueabihf/libexec/DiscoverNotifier
             ├─2231 /usr/lib/arm-linux-gnueabihf/libexec/kdeconnectd
             ├─2238 /usr/libexec/geoclue-2.0/demos/agent
             ├─2243 /usr/libexec/at-spi-bus-launcher --launch-immediately
             ├─2256 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
             └─2311 /usr/lib/arm-linux-gnueabihf/libexec/kf5/kscreen_backend_launcher

Oct 14 19:38:23 kali org.kde.kded5[2341]: true
Oct 14 19:38:23 kali org.kde.kded5[2341]: Imported file "/usr/share/khotkeys/defaults.khotkeys"
Oct 14 19:38:23 kali org.kde.kded5[2341]: Version 2 File!
Oct 14 19:38:23 kali org.kde.kded5[2341]: The X11 connection broke: Unsupported extension used (code 2)
Oct 14 19:38:23 kali org.kde.kded5[2341]: XIO:  fatal IO error 0 (Success) on X server ":1"
Oct 14 19:38:23 kali org.kde.kded5[2341]:       after 316 requests (316 known processed) with 0 events remaining.
Oct 14 19:39:18 kali org.kde.KSplash[2196]: org.kde.knotifications: WaitForName: Service was not registered within timeout
Oct 14 19:39:18 kali dbus-daemon[2062]: [session uid=1000 pid=2060] Activated service 'org.kde.KSplash' failed: Process org.kde.KSplash exited with status 1
Oct 14 19:39:20 kali org.freedesktop.Notifications[2292]: org.kde.knotifications: WaitForName: Service was not registered within timeout
Oct 14 19:39:20 kali dbus-daemon[2062]: [session uid=1000 pid=2060] Activated service 'org.freedesktop.Notifications' failed: Process org.freedesktop.Notifications exited with status 1


From the KDE errors, looks like process KDE 2341 errors out and seems to be related to the X11 connection.
Any thoughts on what could fix this?

Thanks,
Randy


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]