Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startx error (solved)
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
tux900
n00b
n00b


Joined: 21 Apr 2007
Posts: 14

PostPosted: Wed Jul 04, 2007 8:01 pm    Post subject: startx error (solved) Reply with quote

I ran emerge kde and a few hours later everything apparently installed. This was from a stage3 install along with portage. When i tried to run startx i got the following error:

Code:

xauth: creating new authority for /root/.serverauth.4432

xinit: no such file or directory (errno2): no server "X" in PATH

giving up.
xinit: connection refused (errno111): unable to connect to X server

xinit: No such process (errno3): server error


As far as i understand emerge kde is suppose to install the X Server and all the dependencies?

The xinitrc file also seems to be in place.

Any hints how to get kde started would help.


Last edited by tux900 on Wed Jul 04, 2007 11:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2605

PostPosted: Wed Jul 04, 2007 8:16 pm    Post subject: Reply with quote

No, as far as I know, emerge kde does NOT install the X server. My recommendation is to install X and make sure you can get twm up and running before emerging a different desktop environment. Please open up your terminal and type the following:

Code:

emerge --search xorg-x11


See what it says next to "latest version installed:" If it says the version number, you do in fact have the X server, but I'm guessing that you don't.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Wed Jul 04, 2007 9:02 pm    Post subject: Reply with quote

xorg-x11 won't be pulled in by KDE, because the entire X11 installation isn't required. It should drag in the minimal stuff it needs, though - xorg-server for example is one package that definitely should have been installed.

Try 'emerge -vpD kde' and see if there are any packages that need building - it's possible that without --deep not all of the dependencies were caught. Also try running 'X -configure' to generate an X configuration file.
_________________
Saving the world, one kilobyte at a time.
Back to top
View user's profile Send private message
tux900
n00b
n00b


Joined: 21 Apr 2007
Posts: 14

PostPosted: Wed Jul 04, 2007 10:41 pm    Post subject: Reply with quote

Thanks! You are right, X Server does not install with emerge kde.

I'm now trying to set kdm as my display manager. I've already set inittab to run-level 5 but no display manager shows when i boot up.
What do i need to do for the kdm display manager to show up? Do i have to edit /etc/rc.conf?

Thanks.
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Wed Jul 04, 2007 10:45 pm    Post subject: Reply with quote

Code:
$EDITOR /etc/conf.d/xdm
    ->  DISPLAYMANAGER="kdm"
rc-update add xdm default
reboot

_________________
Saving the world, one kilobyte at a time.
Back to top
View user's profile Send private message
tux900
n00b
n00b


Joined: 21 Apr 2007
Posts: 14

PostPosted: Wed Jul 04, 2007 11:05 pm    Post subject: Reply with quote

Worked like a charm. Thanks a lot.
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