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 07-21-2004, 06:11 PM   #1
ericfx
Member
 
Registered: Jun 2004
Location: CA Foothills
Distribution: Slackware
Posts: 54

Rep: Reputation: 15
slackware 10.0 x configuration


im sitting in /usr/X11R6/bin on my laptop but when i run "xorgconfig" nothing happens but "command not found". i installed fluxbox and x from the packages of slackware-current using pkgtool.

what am i doing wrong?

thanks

Last edited by ericfx; 07-21-2004 at 06:15 PM.
 
Old 07-21-2004, 06:13 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
Are you root? What happens if you just type startx? You're gonna have to give us more info...are you even using xorg or are you using XF86?
 
Old 07-21-2004, 06:16 PM   #3
ericfx
Member
 
Registered: Jun 2004
Location: CA Foothills
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: 15
yes i am logged in a root

i just download the x file out of /x on the packages mirror called x11-6.7.0-i486-4 and used pkgtool to install it

startx returns command not found

thanks!

Last edited by ericfx; 07-21-2004 at 06:18 PM.
 
Old 07-21-2004, 06:19 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
Could be that they're not in your path....in which case you'll need to add /usr/X11R6/bin to the PATH variable in /etc/profile (as root).

To run it from where you are you'll need to type:
Code:
./startx
Note the ./ in front of startx...that's because by default the current directory is not searched, it's a security precaution against bogus programs.

Edit:
Sorry, or
Code:
./xorgconfig
as that was what you originally asked for anyway!! Still, you could try ./startx to see if it works.

Last edited by Komakino; 07-21-2004 at 06:20 PM.
 
Old 07-21-2004, 06:26 PM   #5
ericfx
Member
 
Registered: Jun 2004
Location: CA Foothills
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: 15
thanks i got access to the config file now

my new challenge is getting fluxbox to work when i type startx
 
Old 07-21-2004, 06:31 PM   #6
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
Quote:
Originally posted by ericfx
thanks i got access to the config file now

my new challenge is getting fluxbox to work when i type startx
That's an easy one

In your home directory (you should not use root usually, hopefully you have a second user set up?) create (or edit, if it exists) the file .xinitrc - note that there is a DOT infront of the name (because the file is hidden). Inside this file add the line:
Code:
exec fluxbox
That's all you need.

If you don't have a non-root user, set one up now and only use root when you intend to make system-wide changes.
Code:
useradd username
where username is the name of the user you want to create. Then use
Code:
passwd username
as root, to set that user's initial password.
 
Old 07-21-2004, 06:45 PM   #7
ericfx
Member
 
Registered: Jun 2004
Location: CA Foothills
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: 15
i created the file .xinitrc in my /home/eric dir

i run startx and get "xauth" timeout in locking authority file /home/eric/.Xauthority"

whats the most likely problem?
 
Old 07-21-2004, 06:51 PM   #8
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
Does .Xauthority exist? If it does then try renaming it, if it doesn't then try creating an empty one!
 
Old 07-21-2004, 06:53 PM   #9
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
I found a post by someone with a similar problem - it turned out all their home directory and the files within were owned by root! Check that isn't the case with you.
 
Old 07-21-2004, 06:55 PM   #10
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
If none of that helps you then it could be a stale lock file, in which case you need to run xauth to try to break the stale lock. Try:
Code:
xauth -b -f /home/eric/.xauthority
I don't know if you need to be root or not, so try it as eric first and then as root if that makes no difference.
 
Old 07-21-2004, 06:59 PM   #11
ericfx
Member
 
Registered: Jun 2004
Location: CA Foothills
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: 15
how do i check to see if all my files are owned by root?
 
Old 07-21-2004, 07:03 PM   #12
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
Code:
ls -l
the third and fourth columns will both say 'root'. If that's the case change to be root and in eric's home directory type:
Code:
chown -R eric:users *
 
Old 07-21-2004, 07:11 PM   #13
ericfx
Member
 
Registered: Jun 2004
Location: CA Foothills
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: 15
.Xauthority and .xinitrc still say root and root in the 3rd and 4th column after issusing that command you gave me. it changed some of my tar files to my ownership but not the 2 listed files.

it says this when i run "startx" logged in as eric

hostname: Unknown host
xauth: timeout in locking authority file /home/eric/.Xauthority
xauth: timeout in locking authority file /home/eric/.Xauthority

followed by lots more text and it appears to be more errors.
i may try reinstalling and this time select X while installing, think that wouls help? maybe my config file is wrong?
 
Old 07-21-2004, 07:13 PM   #14
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
Try the command (chown) again but this time instead of * specify the actual names of the two files.
chown eric:users .Xauthority .xinitrc
 
Old 07-21-2004, 07:14 PM   #15
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
Once you've done that, do
Code:
chmod +rw .Xauthority .xinitrc
and now it's my bedtime, so good luck!
 
  


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
slackware 10.1 printer configuration joma Slackware 2 02-23-2005 04:44 AM
Slackware 10.0 server configuration Rudy Linux - Newbie 5 11-26-2004 04:14 PM
Slackware Windows X Configuration Cyb3rKnyght Slackware 4 07-10-2004 09:38 AM
Timezone Configuration in Slackware rapont Slackware 1 04-04-2004 02:12 PM
Slackware 8.1 and audio configuration undelete Linux - Hardware 6 10-21-2002 09:22 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration