I’m testing Manjaro ARM on my phone running in chroot using the Linux Deploy and VNC to large screen for display. VNC is the only way to access the desktop in my setup. I prepared the rootfs for installation in LD from the provided Manjaro ARM minimal rootfs and installed the DE. So far I’ve been using XFCE accessed by VNC. Worked fine.
But now I decided to try KDE Plasma instead of XFCE. So I set up new chroot in LD and installed plasma, kio-extras and tigervnc packages. But after setting the vncpasswd and running vncserver :1 the vncserver output in terminal stops “somewhere in the middle” compared to the output from the VNC output in the XFCE setup. When I connect using the VNC client, it shows the KDE splash screen for couple of seconds and then the screen turns to black. No panel, no background, no right click response, just the moveable cursor on the black screen. Nothing else. And no other VNC server output in terminal to check what is wrong.
I set up the VNC server and I’m connecting to it in the same way as I was with the XFCE setup. But with XFCE it worked, With KDE Plasma it doesn’t. Any idea why?
This is the whole VNC server output with the KDE Plasma:
-sh-5.1$ vncserver :1
Using desktop session plasma
New 'linux@pocof3:1 (tux)' desktop is linux@pocof3:1
Starting desktop session plasma
Xvnc TigerVNC 1.11.0 - built Nov 24 2020 20:54:48
Copyright (C) 1999-2020 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12009000, The X.Org Foundation
Sun Nov 14 23:41:02 2021
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5901
vncext: created VNC server for screen 0
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Could not resolve keysym XF86BrightnessAuto
> Warning: Could not resolve keysym XF86DisplayOff
> Warning: Could not resolve keysym XF86Info
> Warning: Could not resolve keysym XF86AspectRatio
> Warning: Could not resolve keysym XF86DVD
> Warning: Could not resolve keysym XF86Audio
> Warning: Could not resolve keysym XF86ChannelUp
> Warning: Could not resolve keysym XF86ChannelDown
> Warning: Could not resolve keysym XF86Break
> Warning: Could not resolve keysym XF86VideoPhone
> Warning: Could not resolve keysym XF86ZoomReset
> Warning: Could not resolve keysym XF86Editor
> Warning: Could not resolve keysym XF86GraphicsEditor
> Warning: Could not resolve keysym XF86Presentation
> Warning: Could not resolve keysym XF86Database
> Warning: Could not resolve keysym XF86Voicemail
> Warning: Could not resolve keysym XF86Addressbook
> Warning: Could not resolve keysym XF86DisplayToggle
> Warning: Could not resolve keysym XF86SpellCheck
> Warning: Could not resolve keysym XF86ContextMenu
> Warning: Could not resolve keysym XF86MediaRepeat
> Warning: Could not resolve keysym XF8610ChannelsUp
> Warning: Could not resolve keysym XF8610ChannelsDown
> Warning: Could not resolve keysym XF86Images
> Warning: Could not resolve keysym XF86NotificationCenter
> Warning: Could not resolve keysym XF86PickupPhone
> Warning: Could not resolve keysym XF86HangupPhone
> Warning: Could not resolve keysym XF86Fn
> Warning: Could not resolve keysym XF86Fn_Esc
> Warning: Could not resolve keysym XF86FnRightShift
> Warning: Could not resolve keysym XF86Numeric0
> Warning: Could not resolve keysym XF86Numeric1
> Warning: Could not resolve keysym XF86Numeric2
> Warning: Could not resolve keysym XF86Numeric3
> Warning: Could not resolve keysym XF86Numeric4
> Warning: Could not resolve keysym XF86Numeric5
> Warning: Could not resolve keysym XF86Numeric6
> Warning: Could not resolve keysym XF86Numeric7
> Warning: Could not resolve keysym XF86Numeric8
> Warning: Could not resolve keysym XF86Numeric9
> Warning: Could not resolve keysym XF86NumericStar
> Warning: Could not resolve keysym XF86NumericPound
> Warning: Could not resolve keysym XF86NumericA
> Warning: Could not resolve keysym XF86NumericB
> Warning: Could not resolve keysym XF86NumericC
> Warning: Could not resolve keysym XF86NumericD
> Warning: Could not resolve keysym XF86CameraFocus
> Warning: Could not resolve keysym XF86WPSButton
> Warning: Could not resolve keysym XF86CameraZoomIn
> Warning: Could not resolve keysym XF86CameraZoomOut
> Warning: Could not resolve keysym XF86CameraUp
> Warning: Could not resolve keysym XF86CameraDown
> Warning: Could not resolve keysym XF86CameraLeft
> Warning: Could not resolve keysym XF86CameraRight
> Warning: Could not resolve keysym XF86AttendantOn
> Warning: Could not resolve keysym XF86AttendantOff
> Warning: Could not resolve keysym XF86AttendantToggle
> Warning: Could not resolve keysym XF86LightsToggle
> Warning: Could not resolve keysym XF86ALSToggle
> Warning: Could not resolve keysym XF86Buttonconfig
> Warning: Could not resolve keysym XF86Taskmanager
> Warning: Could not resolve keysym XF86Journal
> Warning: Could not resolve keysym XF86ControlPanel
> Warning: Could not resolve keysym XF86AppSelect
> Warning: Could not resolve keysym XF86Screensaver
> Warning: Could not resolve keysym XF86VoiceCommand
> Warning: Could not resolve keysym XF86Assistant
> Warning: Could not resolve keysym XF86BrightnessMin
> Warning: Could not resolve keysym XF86BrightnessMax
> Warning: Could not resolve keysym XF86KbdInputAssistPrev
> Warning: Could not resolve keysym XF86KbdInputAssistNext
> Warning: Could not resolve keysym XF86KbdInputAssistPrevgroup
> Warning: Could not resolve keysym XF86KbdInputAssistNextgroup
> Warning: Could not resolve keysym XF86KbdInputAssistAccept
> Warning: Could not resolve keysym XF86KbdInputAssistCancel
> Warning: Could not resolve keysym XF86RightUp
> Warning: Could not resolve keysym XF86RightDown
> Warning: Could not resolve keysym XF86LeftUp
> Warning: Could not resolve keysym XF86LeftDown
> Warning: Could not resolve keysym XF86RootMenu
> Warning: Could not resolve keysym XF86MediaTopMenu
> Warning: Could not resolve keysym XF86Numeric11
> Warning: Could not resolve keysym XF86Numeric12
> Warning: Could not resolve keysym XF86AudioDesc
> Warning: Could not resolve keysym XF863DMode
> Warning: Could not resolve keysym XF86NextFavorite
> Warning: Could not resolve keysym XF86StopRecord
> Warning: Could not resolve keysym XF86PauseRecord
> Warning: Could not resolve keysym XF86VOD
> Warning: Could not resolve keysym XF86Unmute
> Warning: Could not resolve keysym XF86FastReverse
> Warning: Could not resolve keysym XF86SlowReverse
> Warning: Could not resolve keysym XF86Data
> Warning: Could not resolve keysym XF86OnScreenKeyboard
> Warning: Could not resolve keysym XF86PrivacyScreenToggle
> Warning: Could not resolve keysym XF86SelectiveScreenshot
> Warning: Could not resolve keysym XF86Macro1
> Warning: Could not resolve keysym XF86Macro2
> Warning: Could not resolve keysym XF86Macro3
> Warning: Could not resolve keysym XF86Macro4
> Warning: Could not resolve keysym XF86Macro5
> Warning: Could not resolve keysym XF86Macro6
> Warning: Could not resolve keysym XF86Macro7
> Warning: Could not resolve keysym XF86Macro8
> Warning: Could not resolve keysym XF86Macro9
> Warning: Could not resolve keysym XF86Macro10
> Warning: Could not resolve keysym XF86Macro11
> Warning: Could not resolve keysym XF86Macro12
> Warning: Could not resolve keysym XF86Macro13
> Warning: Could not resolve keysym XF86Macro14
> Warning: Could not resolve keysym XF86Macro15
> Warning: Could not resolve keysym XF86Macro16
> Warning: Could not resolve keysym XF86Macro17
> Warning: Could not resolve keysym XF86Macro18
> Warning: Could not resolve keysym XF86Macro19
> Warning: Could not resolve keysym XF86Macro20
> Warning: Could not resolve keysym XF86Macro21
> Warning: Could not resolve keysym XF86Macro22
> Warning: Could not resolve keysym XF86Macro23
> Warning: Could not resolve keysym XF86Macro24
> Warning: Could not resolve keysym XF86Macro25
> Warning: Could not resolve keysym XF86Macro26
> Warning: Could not resolve keysym XF86Macro27
> Warning: Could not resolve keysym XF86Macro28
> Warning: Could not resolve keysym XF86Macro29
> Warning: Could not resolve keysym XF86Macro30
> Warning: Could not resolve keysym XF86MacroRecordStart
> Warning: Could not resolve keysym XF86MacroRecordStop
> Warning: Could not resolve keysym XF86MacroPresetCycle
> Warning: Could not resolve keysym XF86MacroPreset1
> Warning: Could not resolve keysym XF86MacroPreset2
> Warning: Could not resolve keysym XF86MacroPreset3
> Warning: Could not resolve keysym XF86KbdLcdMenu1
> Warning: Could not resolve keysym XF86KbdLcdMenu2
> Warning: Could not resolve keysym XF86KbdLcdMenu3
> Warning: Could not resolve keysym XF86KbdLcdMenu4
> Warning: Could not resolve keysym XF86KbdLcdMenu5
Errors from xkbcomp are not fatal to the X server
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)
dbus-update-activation-environment: error: unable to connect to D-Bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-tux'
And here I’m adding just the fragment from the VNC output with the working XFCE setup just for comparison (it continues further after this fragment):
> Warning: Could not resolve keysym XF86KbdLcdMenu1
> Warning: Could not resolve keysym XF86KbdLcdMenu2
> Warning: Could not resolve keysym XF86KbdLcdMenu3
> Warning: Could not resolve keysym XF86KbdLcdMenu4
> Warning: Could not resolve keysym XF86KbdLcdMenu5
Errors from xkbcomp are not fatal to the X server
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
Running X session wrapper
Loading profile from /etc/profile
Loading xinit script /etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module.sh
Loading xinit script /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)
dbus-update-activation-environment: error: unable to connect to D-Bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
X session wrapper complete, running session startxfce4
/usr/bin/startxfce4: X server already running on display :1
Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)
dbus-update-activation-environment: error: unable to connect to D-Bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
(process:29017): Gtk-WARNING **: 23:44:27.769: Locale not supported by C library.
Using the fallback 'C' locale.
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
I would be glad for any idea on how to make VNC server working for KDE Plasma too.