Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
06-07-2006, 06:55 PM
|
#1
|
Member
Registered: Jul 2005
Distribution: Slackware
Posts: 244
Rep:
|
#xorgconfig => "bash no such command"
I installed Slackware 10.2 today. I tried to run a window manager by typing "startx" but the computer told me that there was no such command as "startx." I've tried to setup X by typing both "xorgconfig" and "xf86config," but I was again told that there was no such command as "xorgconfig" and "xf86config" respectively.
What am I doing wrong? How can I set up a GUI?
|
|
|
06-07-2006, 07:01 PM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
|
The command is:
Xorg -configure
|
|
|
06-07-2006, 07:04 PM
|
#3
|
Senior Member
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425
Rep:
|
startx and xorgconfig don't work on my machine as root, try logging in as a user.
Samac
|
|
|
06-07-2006, 07:23 PM
|
#4
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
Quote:
startx and xorgconfig don't work on my machine as root, try logging in as a user.
|
hmm, it's the exact opposite for me. Isn't the '/etc/X11/xorg.conf' owned by root?
halfpower, try running 'xorgsetup' first and see if that works. This will usually autodetect your settings and set up everything for you. The only things I had to change was my default resolution.
If it does not autodetect correctly, you can go though the manual configuration as suggested.
regards,
...drkstr
|
|
|
06-07-2006, 07:31 PM
|
#5
|
Senior Member
Registered: Sep 2004
Distribution: slackware
Posts: 4,729
|
Quote:
Originally Posted by halfpower
I installed Slackware 10.2 today. I tried to run a window manager by typing "startx" but the computer told me that there was no such command as "startx."
|
Is X installed?
startx should work in any login.
What is the output of "whereis startx" ?
|
|
|
06-07-2006, 07:34 PM
|
#6
|
Senior Member
Registered: Sep 2004
Distribution: slackware
Posts: 4,729
|
Quote:
Originally Posted by drkstr
hmm, it's the exact opposite for me. Isn't the '/etc/X11/xorg.conf' owned by root?
|
Does that really matter? It (like all your other system-wide configuration files) should be readable by all. ie. It's permissions should be rw-r--r--.
|
|
|
06-07-2006, 07:41 PM
|
#7
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
Quote:
It (like all your other system-wide configuration files) should be readable by all. ie. It's permissions should be rw-r--r--.
|
Yes, but to write to it....
I think the difference is how you have X set up in your system. Do you have it installed to the home directory of the user or something? If not, how did you initially configure X?
regards,
...drkstr
|
|
|
06-07-2006, 08:08 PM
|
#8
|
Senior Member
Registered: Sep 2004
Distribution: slackware
Posts: 4,729
|
Quote:
Originally Posted by drkstr
I think the difference is how you have X set up in your system. Do you have it installed to the home directory of the user or something? If not, how did you initially configure X?
|
Errr... Slackware 10.2 installs X under /usr/X11R6 by default.
It comes with a default configuration file (/etc/X11/xorg.conf) which works with the frame buffer device. It has worked for me straight out of the box on several different hardware combinations.
So after you've installed Slackware, "startx" should result in X starting without the need to tweak anything.
If the "startx" command is not found, then I'd hazard a guess that X wasn't installed.
Quote:
Originally Posted by drkstr
Yes, but to write to it....
|
In what circumstances does a normal user need to write to system-wide configuration files?
Last edited by rkelsen; 06-07-2006 at 08:13 PM.
|
|
|
06-07-2006, 08:25 PM
|
#9
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
Quote:
Errr... Slackware 10.2 installs X under /usr/X11R6 by default.
|
Right, which means that you would not be able to modify any of the system setting as a non root user. (which are located in /etc/X11)
Quote:
In what circumstances does a normal user need to write to system-wide configuration files?
|
Never.
I see where the confusion is. My X did not work out of the box. I thought you were saying you had to configure X as a non-root user. Since the Xorg configuration file is owned by root, I was curious how you went about doing this.
You are correct in saying that a non root user can run X, assuming that root has configured it correctly for that user.
regards,
...drkstr
|
|
|
06-07-2006, 08:42 PM
|
#10
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Maybe a distillation of what's been said:
AS ROOT
Code:
xorgsetup
xorgconfig
Either one should work, but must be run as root
If you are still having issues (i.e. 'not found'), you may not have X installed correctly.
Let us know the results
|
|
|
06-07-2006, 08:45 PM
|
#11
|
Senior Member
Registered: Sep 2004
Distribution: slackware
Posts: 4,729
|
Quote:
Originally Posted by drkstr
I see where the confusion is. My X did not work out of the box.
|
Interesting. I wonder why? The default configuration has worked for me since I can't remember when.
|
|
|
06-07-2006, 08:46 PM
|
#12
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Different hardware. Mine doesn't work straight out of the box, either. (On my Nvidia box it did, but not my i8xx boxes at all.)
|
|
|
06-07-2006, 08:52 PM
|
#13
|
Member
Registered: Jul 2005
Distribution: Slackware
Posts: 244
Original Poster
Rep:
|
Quote:
Originally Posted by rkelsen
Is X installed?
startx should work in any login.
What is the output of "whereis startx" ?
|
I'm pretty sure I installed it durring the initial installation.
Code:
root@computer:/# whereis startx
startx: /usr/X11R6/startx /usr/bin/X11/startx /usr/X11/bin/startx /usr/X11/man/man1/startx.1x.gz
|
|
|
06-07-2006, 08:57 PM
|
#14
|
Senior Member
Registered: Sep 2004
Distribution: slackware
Posts: 4,729
|
Quote:
Originally Posted by halfpower
Code:
root@computer:/# whereis startx
startx: /usr/X11R6/startx
|
OK. So X is installed and startx is in your path.
And typing "startx" yields "Command not found?" Odd.
Try typing "/usr/X11/bin/startx" and report back with the results.
|
|
|
06-07-2006, 09:03 PM
|
#15
|
Member
Registered: Jul 2005
Distribution: Slackware
Posts: 244
Original Poster
Rep:
|
xorgsetup does not work either. I suppose I might have screwed up the X install when I was installing the OS. I don't knwo how I could find out though.
|
|
|
All times are GMT -5. The time now is 10:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|