LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-21-2003, 10:12 AM   #1
R4z0r
Member
 
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 Gentoo.org, so far I've compiled X, and run XF86Config. When I do startx I get:



code:--------------------------------------------------------------------------------

./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?

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

Rep: Reputation: 69
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.

HTH

Cool
 
Old 06-22-2003, 02:54 PM   #3
busbarn
Member
 
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).
 
  


Reply


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 03:36 PM
X11 Won't compile Gentoo-2.6.10 skip1 Linux - Software 9 02-19-2005 05:15 PM
Gentoo: X11 crashes when closing or switching zangan128 Linux - General 3 01-07-2005 10:18 PM
Gentoo: X11 destroys standard terminals zangan128 Linux - Newbie 2 01-06-2005 08:21 PM
Gentoo: X11 destroys standard terminals zangan128 Linux - Laptop and Netbook 0 01-06-2005 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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