You are not logged in.
I'm having a problem with my VNC server displaying a virtual KDE session. I am using TigerVNC with an Nvidia gpu and the proprietary driver. Everything worked fine when I was using my integrated Intel graphics before I bought this new NVIDIA GPU. I can launch applications from an xterm window. Interestingly, I have no problem connecting to the local display directly by starting the server with x0vncserver.
When I first connect to the virtual session this error displays "Plasma is unable to start as it could not correctly use OpenGL 2. Please check that your graphic drivers are set up correctly."
So I thought I could fix this by starting a second X server to which I could connect(does this even makes sense in this context?), fiddling with xorg settings, or fiddling with nvidia settings. All of with which I'm uncomfortable. A few hours later, some reading done, a few commands tried, and I'm here to ask for some help.
I didn't see anything in the nvidia-settings GUI to alter that would help. I also tried changing my Compositor settings, the "Enable compositor on startup" checkbox and also the "Rendering backend" to no avail.
I tried automatic and manual configuration suggestions as suggested in the NVIDIA wiki as well.
Here is my ~/.vnc/xstartup
OS=`uname -s`
if [ $OS = 'Linux' ]; then
case "$WINDOWMANAGER" in
*gnome*)
if [ -e /etc/SuSE-release ]; then
PATH=$PATH:/opt/gnome/bin
export PATH
fi
;;
esac
fi
if [ -x /etc/X11/xinit/xinitrc ]; then
exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
exec sh /etc/X11/xinit/xinitrc
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
exec startkde
And here is my vncserver log:
Xvnc TigerVNC 1.6.0 - built Dec 25 2015 15:38:10
Copyright (C) 1999-2015 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11800000, The X.Org Foundation
Tue Apr 26 21:45:07 2016
vncext: VNC extension running!
vncext: Listening for VNC connections on local interface(s), port 5901
vncext: created VNC server for screen 0
file:///usr/share/plasma/look-and-feel/org.kde.oxygen/contents/splash/Splash.qml:89: ReferenceError: bott
omRect is not defined
file:///usr/share/plasma/look-and-feel/org.kde.oxygen/contents/splash/Splash.qml:88: ReferenceError: bott
omRect is not defined
file:///usr/share/plasma/look-and-feel/org.kde.oxygen/contents/splash/Splash.qml:89: ReferenceError: bott
omRect is not defined
Loading stage "initial" 83
startkde: Starting up...
Xlib: extension "XFree86-VidModeExtension" missing on display ":1".
Xlib: extension "XFree86-VidModeExtension" missing on display ":1".
Xlib: extension "XFree86-VidModeExtension" missing on display ":1".
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-mes'
Service started, version: 7.0.0
Could not open library 'libkdeinit5_lib/kdeconnectd'.
Cannot load library libkdeinit5_lib/kdeconnectd: (libkdeinit5_lib/kdeconnectd: cannot open shared object
file: No such file or directory)
** (process:3426): CRITICAL **: polkit_agent_listener_register_with_options: assertion 'POLKIT_IS_SUBJECT
(subject)' failed
(process:3426): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Tue Apr 26 21:45:13 2016
Connections: accepted: [::1]::44602
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VncAuth(2)
Tue Apr 26 21:45:17 2016
VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888
Tue Apr 26 21:45:18 2016
VNCSConnST: Client pixel format depth 8 (8bpp) color-map
KCrash: Application 'kscreenlocker_greet' crashing...
KCrash: Application 'kscreenlocker_greet' crashing...
KCrash: Application 'kscreenlocker_greet' crashing...
KCrash: Application 'kscreenlocker_greet' crashing...
Tue Apr 26 22:12:34 2016
Connections: closed: [::1]::44602 (Clean disconnection)
EncodeManager: Framebuffer updates: 429
EncodeManager: CopyRect:
EncodeManager: Copies: 9 rects, 417.768 kpixels
EncodeManager: 144 B (1:2901.92 ratio)
EncodeManager: RRE:
EncodeManager: Solid: 136 rects, 6.36925 Mpixels
EncodeManager: 2.25781 KiB (1:2755.57 ratio)
EncodeManager: ZRLE:
EncodeManager: Bitmap RLE: 55 rects, 1.6713 Mpixels
EncodeManager: 3.71191 KiB (1:439.873 ratio)
EncodeManager: Indexed RLE: 1.067 krects, 48.8504 Mpixels
EncodeManager: 1.41198 MiB (1:33.003 ratio)
EncodeManager: Total: 1.267 krects, 57.3087 Mpixels
EncodeManager: 1.41795 MiB (1:38.5546 ratio)
:
Any suggestions on how to get this to work properly so I can have headless vnc connections? I haven't tried the nouveau driver but I've had stability issues with it and I also want to get into CUDA. I know that this is not a problem when using my integrated intel graphics. Is there something simple I'm missing here? Any help is greatly appreciated. This is essentially my first post so I hope I've provided most relevant info. Thanks for reading.
Offline
Quick update. I have no issue whatsoever using xfce. Going to look for more information on kdeinit5.
Offline