You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

  • "captain.petz" started this thread

Posts: 11

Location: suedpfalz

  • Send private message

1

Monday, January 2nd 2006, 11:19pm

can't contact kdeinit

hi everybody, I bet you've had this a thousand times, but sure I can't find a post about it. I'm in Xfce now and I want my K back. when I enter startkde, this is what

xset: unable to open display ""
xset: unable to open display ""
xset: unable to open display ""
xsetroot: unable to open display ´´
ksplash: cannot connect to X server
kdeinit: Aborting. $DISPLAY is not set
WARNING: Connect() failed :: No such file or directory
ksmserver: Cannot connect to Xserver
startkde: shutting down
WARNING: Connect() failed :: No such file or directory
Error: can´t contact kdeinit!
startkde: running shutdown scripts...
startkde: Done.


however, startx causes no probs. I'm not 100% posivite that this the exact response (coz I copied it from experts-exchange, where I am not registered because it costs a fortune) but it very much looks like it and it certainly says can't contact kdeinit.

ttfn, would be great if s1 could help, thanks.
Gravity sucks!

This post has been edited 1 times, last edit by "captain.petz" (Jan 2nd 2006, 11:26pm)


  • "captain.petz" started this thread

Posts: 11

Location: suedpfalz

  • Send private message

2

Tuesday, January 3rd 2006, 11:10am

there are some additional probs not mentioned above:
system (or whatever) is unable to attach (to?) dcop(server?)
Gravity sucks!

3

Tuesday, January 3rd 2006, 11:24am

I think the first errors are more important. It says: "can't open X-server". You need to enter the X-server in the DISPLAY-variable. This can be done with

Source code

1
2
export DISPLAY="localhost:0"
startkde
or

Source code

1
DISPLAY="localhost:0" startkde


Of course, you need to setup the variable DISPLAY correct: that depends on place where your Xserver is. "localhost:0" is a common value for it if your Xserver also runs locally.

  • "captain.petz" started this thread

Posts: 11

Location: suedpfalz

  • Send private message

4

Tuesday, January 3rd 2006, 12:42pm

whe I do that, nothing happens and I get the same response.

I'm sorry about my ingorance but i don't know whether xserver runs locally nor what it is.
Gravity sucks!

5

Tuesday, January 3rd 2006, 1:00pm

If you don't know if it runs locally means in most cases that it does run locally.

The normal way to startup KDE from a console is startx /path/to/kde/bin/startkde. I tried to run startkde from another wm, and (althought it works partially) kde appears as windows in my previous wm.

You can (in most configurations) open two x-sessions. You can open a new KDE-session with the following command:

Source code

1
startx /path/to/kde/bin/startkde -- :1
Afterwards, you can switch between those sessions with Ctrl+Alt+Fn where Fn is (in my case) F7 and F8, but it depends on your distribution.

  • "captain.petz" started this thread

Posts: 11

Location: suedpfalz

  • Send private message

6

Tuesday, January 3rd 2006, 2:16pm

now whats this?

after reinstalling and rebooting, I get a kubuntu splash screen (I've never seen before) and I can enter my good old KDE - which looks slightly different, but I sure haven't touched it, as in upgrading or anything.

but the mystery is not solved: when I leave the K gui and enter startkde, same things happen (which basically isnt't much)
I don't know where my kde folder is and my find files isn't working properly either.

I suppose what I want now is a way to get rid of all the errors i get for startkde - i don't think their appearing is convenient.
Gravity sucks!

7

Tuesday, January 3rd 2006, 3:18pm

Quoted

Originally posted by captain.petz
but the mystery is not solved: when I leave the K gui and enter startkde, same things happen (which basically isnt't much)
I don't know where my kde folder is and my find files isn't working properly either.
How do you leave the K gui?

You can find out where KDE is installed by executing

Source code

1
2
updatedb
locate startkde
The first step only is neccesairy if you haven't a recent database of file names and the first should be executed as root.

  • "captain.petz" started this thread

Posts: 11

Location: suedpfalz

  • Send private message

8

Tuesday, January 3rd 2006, 4:13pm

k menu - log out - end current session

and I think I've found it. startx /usr/something/startkde does indeed work, resulting in the same kubuntu splash screen as mentioned earlier
Gravity sucks!