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 04-27-2004, 04:27 PM   #1
Evilbob
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
Problems starting X


Im running slackware 9.0 and my gui was running fine untill recently when this error appeared after i typed startx, from reading around previous posts it should be fixed by running xf86config but this doesnt seem to work for me? ive even tried removing the base package and installing the package listed on the slackware website under the package browser for slackware 9.0, and the on that is on the cd aswell but its still not working.. please can someone help me

Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority

xinit: Permission denied (errno 13): no server "X" in PATH

Use the -- option, or make sure that /usr/X11R6/bin is in your path and
that "X" is a program or a link to the right type of server
for your display. Possible server names include:

XFree86 XFree86 displays
 
Old 04-27-2004, 04:36 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
hey, don't run X as root even if you can.

issue the command
echo $PATH
and see if /usr/X11R6/bin is in the list. If it isn't, you have to add /usr/X11R6/bin to your PATH.
 
Old 04-27-2004, 04:49 PM   #3
Evilbob
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
yeah i know i about the root thing was only trying it to see if it wasnt just my other user that was effected however impossible that is.. forgot to mention that I have already looked @ $PATH and its definately in there.?!?
 
Old 04-27-2004, 04:54 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
check if you have a program called X.
whereis X

on my setup, it's actually a link to Xwrapper. I don't know how things are setup in slackware.
 
Old 04-27-2004, 04:58 PM   #5
Evilbob
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
i think it should be a link too but im really not sure... whereis x says : X: /usr/X11R6/bin/X /usr/bin/X11/X /usr/X11/bin/X /usr/X11/man/man7/X.7.gz
what is xwrapper ??
 
Old 04-27-2004, 05:02 PM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I don't know what Xwrapper is exactly but I suppose it's the thing that actually starts the xserver or something like that. In any case, you can check what your X is pointing to (if it is a link) with
ls -l /usr/X11R6/bin/X
 
Old 04-27-2004, 05:03 PM   #7
kooch
Member
 
Registered: Mar 2004
Location: Upstate NY
Distribution: Slackware/YDL
Posts: 77

Rep: Reputation: 15
try the newsgroup: alt.os.linux.slackware
 
Old 04-27-2004, 05:08 PM   #8
Evilbob
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
when i try the ls command i get permission denied!?
 
Old 04-27-2004, 05:11 PM   #9
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
even as root? You should be able to give yourself permissions as root. Maybe all that's wrong is that you don't have execute permissions on some of the relevant files.
 
Old 04-27-2004, 05:14 PM   #10
Evilbob
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
i tried to chmod the file but it didnt work at all?? cant understand why not?
 
Old 04-27-2004, 05:21 PM   #11
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
is X a link? you can only change the permissions on the link target but not on the symlink itself (the symlink itself has full r-w-x permisisons for all).
 
Old 04-27-2004, 05:22 PM   #12
Evilbob
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
i think its a link but im really not sure, i think its a link to xfree86 isnt it?
 
Old 04-27-2004, 05:25 PM   #13
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
dunno. as I said, for me, it's a link to Xwrapper. Maybe it a link to XFree86 for you. does the ls -l still not work? Can you cd into /usr/X11R6/bin?
 
Old 04-27-2004, 05:27 PM   #14
Evilbob
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
yeah i can cd into there but i still cant ls -l
 
Old 04-27-2004, 05:38 PM   #15
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
does the directory /usr/X11R6/bin have read permission? It's the only thing that comes to my mind. The directory should have rwx permissions for root and rx (but not write) permissons for others.
 
  


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
Problems starting X Dreamcatcher Slackware 8 11-14-2004 06:00 PM
problems starting X Diminished7th Linux - Laptop and Netbook 1 06-21-2004 05:59 PM
Problems starting X aidankitch Linux - Software 4 04-21-2004 03:25 PM
problems starting X sn9ke_eyes Slackware 2 02-26-2003 11:44 AM
Problems starting up 6.1 elrond25 Linux - Distributions 3 10-17-2000 09:41 PM


All times are GMT -5. The time now is 08:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration