You are not logged in.

#1 2017-04-18 12:40:55

lsas
Member
Registered: 2010-11-23
Posts: 23

TigerVNC and KDE: black screen

Hello everyone.

I've just installed arch with KDE desktop.

Now i'm trying to get TigerVNC working, but without success.

I've already read the wiki but i still cant get it working.
When i try to login from a vncviewer (ethier from localhost or remote) it just show me a black windows.

Here the logfile:

Xvnc TigerVNC 1.7.1 - built Jan 23 2017 15:58:58
Copyright (C) 1999-2016 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11804000, The X.Org Foundation


Tue Apr 18 14:26:57 2017
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5901
 vncext:      created VNC server for screen 0
Loading stage  "initial" 147
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/5951
ksmserver: KSMServer: SetAProc_loc: conn  1 , prot= unix , file= /tmp/.ICE-unix/5951
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
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/dueelle/.local/share", "/usr/share", "/usr/local/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/dueelle/.local/share", "/usr/share", "/usr/local/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/dueelle/.local/share", "/usr/share", "/usr/local/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/dueelle/.local/share", "/usr/share", "/usr/local/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/dueelle/.local/share", "/usr/share", "/usr/local/share")

Tue Apr 18 14:27:14 2017
 Connections: accepted: [::1]::40928
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VeNCrypt(19)
 SVeNCrypt:   Client requests security type TLSVnc (258)

Tue Apr 18 14:27:21 2017
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
 VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian rgb888

Tue Apr 18 14:27:32 2017
 Connections: closed: [::1]::40928 (Clean disconnection)
 EncodeManager: Framebuffer updates: 2
 EncodeManager:   Tight:
 EncodeManager:     Solid: 2 rects, 1.53395 Mpixels
 EncodeManager:            32 B (1:191745 ratio)
 EncodeManager:   Total: 2 rects, 1.53395 Mpixels
 EncodeManager:          32 B (1:191745 ratio)

and my .vnc/xstartup

#!/bin/sh
exec startkde &

Any idea or suggestion?

Thanks for your time anyway smile

Offline

#2 2017-04-20 13:02:39

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: TigerVNC and KDE: black screen

It's very unusual to background ( the &) an exec command, and i've never seen it used for a "start DE" type command.

Try removing the & from the exec-line in .vnc/xstartup .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2017-04-22 16:02:20

lsas
Member
Registered: 2010-11-23
Posts: 23

Re: TigerVNC and KDE: black screen

Actually the & was just a mistake on the post, I didn't notice it sorry.

So in the script there's just exec startkde

Offline

#4 2017-04-25 18:34:59

MrWeatherbee
Member
Registered: 2007-08-01
Posts: 277

Re: TigerVNC and KDE: black screen

Try:

dbus-launch startkde

Offline

Board footer

Powered by FluxBB