Hallo,
@admin: Beitrag kann evtl. auch ins Netzwerk forum?
Opensuse Quereinsteiger hier. (Sonst RPI / Kubuntu). Bin verwundert, dass VNC nicht geht. Auf jedem mickrigen RPI klappt dass doch.
Suse 15.1 laeuft auf einem Dell E7470. Da starte ich den vncserver.
vncserver -alwaysshared -geometry 1200x800
Soweit ich das verstehe, erstellt vnc beim ersten Start das xstartup aus dem momentan aktiven System. Das hat auf dem Laptop Grafikbeschleuniger Hardware. Ich glaube da liegt das Problem. Der X-start im VNC, wo Software maessig keine Beschleunigung ist, klappt nicht und auf dem Client geht der Viewer natuerlich nicht.
Die Meldung vom vnc log:
~/.vnc> cat E7470:1.log
Xvnc TigerVNC 1.9.0 - built ??? ?? ???? ??:??:??
Copyright (C) 1999-2018 TigerVNC Team and many others (see README.rst)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12003000, The X.Org Foundation
Tue Sep 29 15:22:16 2020
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:
> Internal error: Could not resolve keysym XF86WWAN
> Internal error: Could not resolve keysym XF86RFKill
Errors from xkbcomp are not fatal to the X server
kcm_input: Using X11 backend
startkde: Starting up...
kdeinit5: Communication error with launcher. Exiting!
kdeinit5_wrapper: Warning: connect(/run/user/1000/kdeinit5__1) failed: : Connection refused
Qt: Session management error: networkIdsList argument is NULL
Configuring Lock Action
ksmserver: "/run/user/1000/KSMserver"
ksmserver: KSMServer: SetAProc_loc: conn 0 , prot= local , file= @/tmp/.ICE-unix/6301
ksmserver: KSMServer: SetAProc_loc: conn 1 , prot= unix , file= /tmp/.ICE-unix/6301
ksmserver: KSMServer::restoreSession "saved at previous logout"
startkde: Shutting down...
kdeinit5_wrapper: Warning: connect(/run/user/1000/kdeinit5__1) failed: : Connection refused
Error: Can not contact kdeinit5!
startkde: Done.
Qt: Session management error: Could not open network socket
Invalid Context= "Notifications" line for icon theme: "/home/sibylle/.local/share/icons/Windows-XP-master/32x32/notifications/"
Invalid Context= "Notifications" line for icon theme: "/home/sibylle/.local/share/icons/Windows-XP-master/48x48/notifications/"
Invalid Context= "Notifications" line for icon theme: "/home/sibylle/.local/share/icons/Windows-XP-master/128x128/notifications/"
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 7.0, 256 bits)
OpenGL version string: 3.1 Mesa 18.3.2
OpenGL shading language version string: 1.40
Driver: LLVMpipe
GPU class: Unknown
OpenGL version: 3.1
GLSL version: 1.40
Mesa version: 18.3.2
X server version: 1.20.3
Linux kernel version: 4.12.14
Requires strict binding: yes
GLSL shaders: yes
Texture NPOT support: yes
Virtual Machine: no
kf5.kcoreaddons.desktopparser: Property type "Url" is not a known QVariant type. Found while parsing property definition for "X-KWin-Video-Url" in "/usr/share/kservicetypes5/kwineffect.desktop"
Und das erzeugte xstartup.
~/.vnc> cat xstartup
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
userclientrc=$HOME/.xinitrc
sysclientrc=/etc/X11/xinit/xinitrc
if -f "$userclientrc" ]; then
client="$userclientrc"
elif -f "$sysclientrc" ]; then
client="$sysclientrc"
fi
if -x "$client" ]; then
exec "$client"
fi
if -f "$client" ]; then
exec sh "$client"
fi
-r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
if -x /usr/bin/twm ]; then
/usr/bin/twm &
else
echo "No window manager found. You should install a window manager to get properly working VNC session."
fi
Was ist derr Trick??
Cheers,
Gert