Bug 216402 - KDE 4.3 cannot be started within a virtual X Window System (Xvnc)
Summary: KDE 4.3 cannot be started within a virtual X Window System (Xvnc)
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-27 17:52 UTC by Axel Keller
Modified: 2020-09-28 23:08 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Keller 2009-11-27 17:52:49 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    openSUSE RPMs

Server
System:		LINUX openSUSE 11.2
Desktop:	KDE 4.3
Problem:	KDE cannot be started with startkde from a virtual X Window Session.
		Case a: vncserver is started as standard user,
		DISPLAY environment variable value other than :0.0
		causes an error.
		Case b: vncserver is started as root,
		dbus is not available.
Case a
------
Step1:		Starting vncserver as user axel: 
		New 'X' desktop is Haydn:5
Step2:		Starting vncviewer (Web): http:/haydn:5805
		For this the script /home/axel/.vnc/xstartup is used
		that opens an xterm
Step3:		Starting KDE with script startkde
		the openSUSE start screen can be seen shortly,
		but then the following error messages appear:

axel~> startkde
startkde: Starting up...
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
kdeinit4: Communication error with launcher. Exiting!
kdeinit4_wrapper: Warning: connect(/home/axel/.kde4/socket-Haydn/kdeiniled: : Connection refused
Could not register with D-BUS. Aborting.
startkde: Shutting down...
kdeinit4_wrapper: Warning: connect(/home/axel/.kde4/socket-Haydn/kdeiniled: : Connection refused
Error: Can not contact kdeinit4!
startkde: Running shutdown scripts...
startkde: Done.
axel~>

Analysis:	In script startkde the the program
		/usr/lib/kde4/libexec/start_kdeinit_wrapper
   				+kcminit_startup
		is called. This routine works with value
		$DISPLAY=:0.0 but not with value $DISPLAY=:5.0 
		that has to be used here.
	
Case b
------
Step4:		Starting vncserver as user root: New 'X' desktop is 
		Haydn:5

Step5:		Starting vncviewer (Web): http:/haydn:5805
		For this the script /root/.vnc/xstartup is used 
		that opens an xterm

Step6:		Starting KDE with script startkde
		the openSUSE start screen can be seen shortly, 
		but then the following d-bus error message appears:

# startkde
startkde: Starting up...
startkde: Could not start D-Bus. Can you call qdbus?

# qdbus
Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Comment 1 Mike 2010-07-07 17:46:15 UTC
I am using SUSE Linux Desktop 11
with updated KDE: Version 4.3.3 (KDE 4.3.3) "release 1"
Installed from:    media+buid service repository

I have exactly the same problem. I did the same steps 1-6 with the same results.
Comment 2 priya sundararajan 2010-07-22 19:38:07 UTC
When will this bug get fixed??
thanks,
priya
Comment 3 Sérgio Basto 2011-09-20 03:59:33 UTC
hi, 
I got also vncserver Error: Can not contact kdeinit4!,
on Fedora 15 , kde 4.6.5 
and can't start vncserver of my user logged , but works out of the box , if I use other user for example teste
su - teste
vncserver :1
works pretty
Comment 4 Andrew Crouthamel 2018-11-06 15:09:23 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-11-17 05:01:37 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Nate Graham 2020-09-28 23:08:40 UTC
No response; assuming it was fixed since then.