You are not logged in.

#1 2016-06-04 17:17:48

chiiidog
Member
From: Florida
Registered: 2016-06-04
Posts: 11

[SOLVED]VNC Black Screen KDE Plasma

I am trying to set up VNC on my new install of Arch. I'm really stupid and an extreme Linux newbie. It's really a miracle that I got Arch installed in the first place. I have a little bit of Linux experience with a raspberry pi (on which I easily set up VNC without having to edit the .vnc/xstartup file).

I'm running SDDM and KDE Plasma. I've installed TigerVNC. Initially, I started vncserver and opened it up on my MacBook to the default X environment. Obviously I'd like to open to the KDE Plasma desktop that I see on my monitor. After reading a lot of different posts about editing the xstartup file, I've commented out all the lines of ~/.vnc/xstartup down to the following

#!/bin/sh

unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
startkde &

In VNC Viewer I see a black screen with a KDE-style cursor (not an X like other users seem to experience). I haven't been able to find anyone with this specific issue.

The first line in my log file that seems to be bad is

kdeinit5: Communication error with launcher. Exiting!

Here's the full 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


Sat Jun  4 12:31:08 2016
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5901
 vncext:      created VNC server for screen 0
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/splash/Splash.qml:50:13: QML Image: Binding loop detected for property "sourceSize.width"
Loading stage  "initial" 154
startkde: Starting up...

Sat Jun  4 12:31:13 2016
 Connections: accepted: 192.168.0.103::59451
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)
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
XSync seems available and ready
XSync Inited
Supported, init completed
ksmserver: "/run/user/1000/KSMserver"
ksmserver: KSMServer: SetAProc_loc: conn  0 , prot= local , file= @/tmp/.ICE-unix/5269
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
Icon theme "oxygen" not found.
Icon theme "oxygen" not found.
kwin_core: Failed to initialize compositing, compositing disabled

Sat Jun  4 12:31:16 2016
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
 VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian rgb888

Sat Jun  4 12:31:25 2016
 Connections: closed: 192.168.0.103::59451 (Clean disconnection)
 EncodeManager: Framebuffer updates: 2
 EncodeManager:   RRE:
 EncodeManager:     Solid: 13 rects, 786.692 kpixels
 EncodeManager:            260 B (1:12103.6 ratio)
 EncodeManager:   ZRLE:
 EncodeManager:     Full Colour: 1 rects, 260 pixels
 EncodeManager:                  208 B (1:5.05769 ratio)
 EncodeManager:   Total: 14 rects, 786.952 kpixels
 EncodeManager:          468 B (1:6726.44 ratio)

Last edited by chiiidog (2016-06-07 01:55:56)

Offline

#2 2016-06-05 21:38:09

chiiidog
Member
From: Florida
Registered: 2016-06-04
Posts: 11

Re: [SOLVED]VNC Black Screen KDE Plasma

Update: I'm now getting a nice KDE-looking warning box on the black screen that says "Plasma is unable to start as it couldn't correctly use OpenGL 2. Please check that your graphic drivers are set up correctly." I don't know what that means. My graphics work fine on my display. NVIDIA Quadro 1800 GPU, so during OS install I chose to install the nvidia 304xx graphics driver, which worked perfectly. I found someone else who has this issue, here (https://bugs.kde.org/show_bug.cgi?id=356409), and I tried the solution suggested but it didn't work. Here are my new logs, which for some reason are different than my old logs, even though my xstartup file is the same?? I see something about plasmashell crashing. I just tried again and looked at the logs and it's basically everything in the posted logs minus the KCrash lines. The only errors occur after terminating the VNC connection.

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


Sun Jun  5 17:25:16 2016
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5901
 vncext:      created VNC server for screen 0
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/splash/Splash.qml:50:13: QML Image: Binding loop detected for property "sourceSize.width"
Loading stage  "initial" 159
startkde: Starting up...

Sun Jun  5 17:25:21 2016
 Connections: accepted: 192.168.0.103::52864
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
Service started, version: 7.0.0

Sun Jun  5 17:25:24 2016
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888

Sun Jun  5 17:25:25 2016
 VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian rgb888
KCrash: Attempting to start /usr/bin/plasmashell from kdeinit
KCrash: Application 'plasmashell' crashing...
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit

Sun Jun  5 17:27:07 2016
 Connections: closed: 192.168.0.103::52864 (Clean disconnection)
 EncodeManager: Framebuffer updates: 123
 EncodeManager:   RRE:
 EncodeManager:     Solid: 60 rects, 2.92113 Mpixels
 EncodeManager:            1.17188 KiB (1:9737.69 ratio)
 EncodeManager:   ZRLE:
 EncodeManager:     Indexed RLE: 30 rects, 74.917 kpixels
 EncodeManager:                  11.3389 KiB (1:25.84 ratio)
 EncodeManager:                  11.3389 KiB (1:25.84 ratio)
 EncodeManager:     Full Colour: 87 rects, 941.931 kpixels
 EncodeManager:                  198.082 KiB (1:18.5804 ratio)
 EncodeManager:   Total: 177 rects, 3.93798 Mpixels
 EncodeManager:          210.593 KiB (1:73.0547 ratio)
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
      after 127 requests (127 known processed) with 0 events remaining.
klauncher: Exiting on signal 1
Unexpected response from KInit (response = 0).
startkde: Could not start ksmserver. Check your installation.
Error: Can't open display: :1
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
      after 999 requests (999 known processed) with 0 events remaining.
startkde: Shutting down...
kdeinit5_wrapper: Warning: connect(/run/user/1000/kdeinit5__1) failed: : No such file or directory
Error: Can not contact kdeinit5!
xprop:  unable to open display ':1'
xprop:  unable to open display ':1'
startkde: Done.

Offline

#3 2016-06-06 23:29:50

chiiidog
Member
From: Florida
Registered: 2016-06-04
Posts: 11

Re: [SOLVED]VNC Black Screen KDE Plasma

Update 2: I purged my system of KDE and SDDM and installed GNOME. I replaced startkde with gnome-session in the xstartup script and now I get a completely blank screen with only a small box as a cursor. I've tried un- and reinstalling tigervnc, which did nothing. I can start up the X environment fine, but theres obviously something wrong with my desktop environment settings. Leaving the xinitrc line uncommented just starts up X. Logs show nothing this time.

Offline

#4 2016-06-07 01:55:31

chiiidog
Member
From: Florida
Registered: 2016-06-04
Posts: 11

Re: [SOLVED]VNC Black Screen KDE Plasma

Update 3: Solved. Found the solution in this thread https://bbs.archlinux.org/viewtopic.php?id=193286. Simply replaced nvidia-libgl with mesa-libgl.

Offline

Board footer

Powered by FluxBB