Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-21-2003, 11:12 AM   #1
Registered: Jan 2002
Distribution: CentOS 3.1
Posts: 119

Rep: Reputation: 15
Gentoo X11 Problem

Hi All,

I've been trying to get a desktop Linux box working and have hit a wall getting X on the Gentoo box.

I am following the guide at, so far I've compiled X, and run XF86Config. When I do startx I get:


./stratx: line 112: xauth: command not found
./stratx: line 113: xauth: command not found
./stratx: line 112: xauth: command not found
./stratx: line 113: xauth: command not found
./stratx: line 151: xauth: command not found
./stratx: line 1: xauth: command not found


Seems like somethings not properly installed (startx wasn't in the command path either, I had to do "./startx"...)

Any ideas?

Old 06-22-2003, 01:23 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Since startx is a script to "start X" You might wanna take a look at it. However, FYI, I had very little problems using Gentoo to configure X, so maybe one of your USE flags is stopping a needed package from getting installed. Post em up.

Another idea, what is "stratx"? Did you type it wrong? Make sure you have a wm installed (KDE, Gnome, Fluxbox, openbox...) and a corresponding entry in your HOME directory within the xinitrc. That sentence isn't very clear:
Make sure you have a file in your USER'S home directory (you should be doing this with a user as it's very rarely necessary to use root in X) (which is characterized as ~ in most tutorials) called .xinitrc and in that file you have a line that says:
exec /path/to/your/preferred/window/manager
So if you are using fluxbox, and it's installed to /opt/fluxbox/fluxbox then:
exec /opt/fluxbox/fluxbox
If your $PATH is the problem, edit /etc/profile and make sure you are editing your USER path's and not the ROOT's path.


Old 06-22-2003, 03:54 PM   #3
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
I think gentoo installs twm with xfree during the emerge. ONce yuo run xf86config you should just be able to type startx. If everything is configured right, twm (?) should start. I agree with masterc on the flags issue. I haven't had any problems with getting x to start. Just a heads up: on both of my gentoo installs, there is no .xinitrc file, you have to make it yourself (unless I missed something along the way).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo emege xorg-x11 error Alinuxnoob Linux - General 11 09-22-2005 04:36 PM
X11 Won't compile Gentoo-2.6.10 skip1 Linux - Software 9 02-19-2005 06:15 PM
Gentoo: X11 crashes when closing or switching zangan128 Linux - General 3 01-07-2005 11:18 PM
Gentoo: X11 destroys standard terminals zangan128 Linux - Newbie 2 01-06-2005 09:21 PM
Gentoo: X11 destroys standard terminals zangan128 Linux - Laptop and Netbook 0 01-06-2005 08:32 PM

All times are GMT -5. The time now is 06:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration