LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-15-2003, 03:55 AM   #1
Steve009
LQ Newbie
 
Registered: Feb 2001
Location: London
Posts: 8

Rep: Reputation: 0
Angry startx, xauth


A perplexing x problem ... when I log in - as user or root - I can startx at the command prompt, no errors reported. But when I quit x and try to restart it ... I get "command not found". So I skedaddle over to /usr/X11R6/bin and try "./startx", this time I get the error message "xauth: command not found". xauth is there, sitting in the same directory as startx.
Any ideas ?
Thanks in advance,
Steve
 
Old 05-15-2003, 06:15 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Could be it's not in your path. "echo $PATH", and if X11 ain't in it, do "export PATH=$PATH:/usr/X11R6/bin" or make it permanent and add it to your shell's system-wide resource file's PATH statement.
 
Old 05-16-2003, 06:44 AM   #3
Steve009
LQ Newbie
 
Registered: Feb 2001
Location: London
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks unSpawn, the export command fixed it temporarily. "echo PATH" / "set" finds it before I go to X but not after I've switched between root and user ... I realise I have no .bashrc or .bash_profile files, so I was thinking to copy samples from a working Mandrake os, adding X11 to the PATH variable, to both /root/ and /home/<user>/ in the hope that they'll stick. Any inherent problems in doing this ?
Thanks again for your advice,
Steve
 
Old 05-16-2003, 07:44 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I realise I have no .bashrc or .bash_profile files
You could set the path from /etc/profile. If there are there no samples in /etc/skel then you could tweak samples from another box w/o probs, yes.
 
Old 05-20-2003, 05:28 AM   #5
Steve009
LQ Newbie
 
Registered: Feb 2001
Location: London
Posts: 8

Original Poster
Rep: Reputation: 0
unSpawn - thanks for your advice. There's no /etc/skel on the minimal Slackware 9.0 I'm running (from a magazine CD), but root's .bash~ files from Mandrake (with PATH edited according to privileges) do the trick. One day I'll try and get to the bottom of this, meanwhile I've 101 other configuration tasks.
Thanks again,
Steve
 
  


Reply



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
about xauth? Chowroc Linux - General 6 05-24-2005 05:21 PM
How to use xauth? Chowroc Linux - Networking 1 05-22-2005 10:31 AM
How can I get xauth with startx? hypnos Linux - Software 1 01-15-2005 04:39 PM
xauth - where is it? (VNC) figmentium Linux - Newbie 6 07-19-2003 02:00 PM
su - and xauth .. doublefailure Linux - General 0 03-05-2003 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:51 PM.

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