Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot start KDE from command prompt
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Ash2k4
n00b
n00b


Joined: 08 Nov 2004
Posts: 15
Location: VT

PostPosted: Sun Nov 14, 2004 2:18 pm    Post subject: Cannot start KDE from command prompt Reply with quote

Hello. If anyone can help me out I would appreciate it greatly.
I emerged KDE and when i typr startkde to run it from the command prompt I get an error
xsetroot unable to open display :0,0
xset unable to open display:0,0
kdepersonalizer cannot connect to xserver

But if i start x windows and then type startkde in a terminal wiondow then i can get it to run...
any ideas on what i need to do to get kde to run on its own...im lost thanx!!
_________________
Why shouldn't I use the microwave to dry off my hamster...?
Back to top
View user's profile Send private message
connyosis
n00b
n00b


Joined: 04 Oct 2002
Posts: 53

PostPosted: Sun Nov 14, 2004 2:28 pm    Post subject: Reply with quote

Create a file called .xinitrc in your home directory, and in that file add the line

exec startkde

Now run startx and KDE will start up.
_________________
If rubbin cold dirt in your crotch is wrong - I don't wanna be right!
Back to top
View user's profile Send private message
angstycoder
n00b
n00b


Joined: 14 Nov 2004
Posts: 25

PostPosted: Wed Nov 17, 2004 5:42 am    Post subject: Reply with quote

THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

The Gentoo docs do not mention this as a requiredt step.... however, no amount of startkde would do it (startx and then startkde from inside x would, but it was ugly.)
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Wed Nov 17, 2004 6:51 am    Post subject: Reply with quote

If you want to start KDE from the prompt just do:
Code:
startx /usr/kde/3.2/bin/startkde -- :1


Obviously /usr/kde/3.2/bin/ will need to change if your startkde is is a different place.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum