Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startkde errors - help!
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
mael4
n00b
n00b


Joined: 31 Jul 2002
Posts: 16

PostPosted: Tue Aug 06, 2002 9:30 pm    Post subject: startkde errors - help! Reply with quote

mael $ startkde
xsetroot: unable to open display ''
xset: unable to open display ""
xset: unable to open display ""
xset: unable to open display ""
xset: unable to open display ""
xset: 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 X server
Error: Can't open display:
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!

I know theres kdm (and it does work), but I'm not crazy about it.

I originally wanted to use startx, but everytime I start it, it gives me xterm (even after i change XSESSION=KDE /etc/rc.conf)

If you have any suggestions on how I can get startkde to work, or change startx to get into kde, I'd appreciate it.
_________________
Windows [n.]

A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.
Back to top
View user's profile Send private message
Toan Nguyen
n00b
n00b


Joined: 06 Aug 2002
Posts: 16

PostPosted: Tue Aug 06, 2002 11:36 pm    Post subject: Reply with quote

You should type "startx", not "startkde" from console.

On a second note, make sure you have a file named "KDE" in your /etc/X11/Sessions. Its content should be (make sure it's executable,
"chmod a+x /etc/X11/Sessions/KDE"):

#!/bin/sh
/usr/kde/3/bin/startkde
Back to top
View user's profile Send private message
TwoSlick
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2002
Posts: 114
Location: Rolla, MO

PostPosted: Wed Aug 07, 2002 2:03 am    Post subject: Reply with quote

Basically KDE is complaining because there is no Xwindows to start up in.

Here's what I've done:

if you don't have the file .xinitrc in your home directory, make it, and add the line:
Code:
exec startkde



Then just run startx to get going. Basically this starts your Xwindows, then it runs startkde for ya.

Easy as pie! :D

-Tim
Back to top
View user's profile Send private message
mael4
n00b
n00b


Joined: 31 Jul 2002
Posts: 16

PostPosted: Wed Aug 07, 2002 12:48 pm    Post subject: Reply with quote

Got it :)

The problem was:

XSESSION=KDE in /etc/ rc.conf

I changed it to what was in /etc/rc.conf (in my case XSESSION=kde-3.0.2).

Thought I'd post my results to anyone who has this problem in the future. Thanks for the help Twoslick and Toan Nguyen
_________________
Windows [n.]

A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.
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