Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startx problems
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
unce
n00b
n00b


Joined: 11 Apr 2003
Posts: 3

PostPosted: Sat Apr 12, 2003 2:09 am    Post subject: startx problems Reply with quote

Let it be known that I am a newbie to linux and I decided that my first go was going to be using gentoo. With that said.
I did emerge xfree, everything went well...LONG, but well. Then I did /usr/X11R6/bin/xfs86config and wrote the new XFSCONFIG file.
Then at the promtp I type startx but I get
"-bash: startx: command not found"
So I search through the dirs and found it in /usr/X11R6/bin. At the prompt I type: ./startx and get the following errors...
./startx: line 133: xauth: command not found
./startx: line 134: xauth: command not found
./startx: line 133: xauth: command not found
./startx: line 134: xauth: command not found
./startx: line 140: xauth: command not found
./startx: line 143: xauth: command not found

so I figure xauth is a mod...but when I do emerge -p xauth ther eare no masked or unmasked ebuilds of satisfy "xauth"...
Can anyone point me in the right direction...Thanks
Back to top
View user's profile Send private message
ShadowDemon
n00b
n00b


Joined: 12 Feb 2003
Posts: 14
Location: Little Rock, AR

PostPosted: Sat Apr 12, 2003 3:27 am    Post subject: Reply with quote

I don't know if this will help but the first time I built X it wouldn't run for me either. I had to reboot first. Now I suspect that running

Code:
source /etc/profile


would have fixed it without a reboot.
Back to top
View user's profile Send private message
3vilinside
n00b
n00b


Joined: 11 Apr 2003
Posts: 56
Location: Graz, Austria

PostPosted: Sun Apr 13, 2003 10:19 am    Post subject: Reply with quote

I read a german thread about this problem. It can be found here:
http://www.tutorials.de/tutorials71872.html

Maybe you could just write down your startx script code and compare it with the one of the guy from the mentioned thread.

Code:

authdisplay=${display:-:0}
mcookie=`mcookie`
for displayname in $authdisplay $hostname$authdisplay; do
if ! xauth list "$displayname" | grep "$displayname " >/dev/null
2>&1; then xauth add $displayname . $mcookie
removelist="$displayname $removelist"
fi
done


If you need support on understanding the german stuff on that thread just drop me a line: kerstner@sbox.tu-graz.ac.at

Hope that helps...
_________________
"To err lies in the nature of humans, but to really fool things up you need a computer"
Back to top
View user's profile Send private message
3vilinside
n00b
n00b


Joined: 11 Apr 2003
Posts: 56
Location: Graz, Austria

PostPosted: Sun Apr 13, 2003 10:22 am    Post subject: Reply with quote

I think I found the solution to your problem:

Quote:

I searched Google Groups for a solution and found that /usr/X11R6/bin actually needed to be in my path. So, I edited .bash_profile in my home directory and changed path to: PATH=$PATH:$HOME/bin:/usr/X11R6/bin. I can now type startx at the command line to load the X-WIndows graphical interface. I have set Gnome as my default environment by issuing switchdesk GNOME.


whole text can be found here: http://www.unc.edu/~tmann/inls183/assignment10.html

Google is your friend :D [http://www.google.de/search?q=startx%3A+xauth%3A+command+not+found&ie=UTF-8&oe=UTF-8&hl=de&meta=]

Good luck![/url]
_________________
"To err lies in the nature of humans, but to really fool things up you need a computer"
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