Cannot startx except as root
Greetings. I am working with Slackware 9.1 and am experiencing a slight problem. I can run KDE perfectly as root, however I am unable to run X as a user. Whenever I logon as said user I get the error message startx: command not found. I am assuming there is a file I need to edit to get this running correctly, however after reading the man pages and googling I have had no luck in finding the correct solution. Please help a new slackie.
::dieb:: |
"Whenever I logon as said user I get the error message startx: command not found."
The first thing I would check is the permissions for the startx command. Mine are set to 755. ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
-rwxr-xr-x 1 root bin 3.2K Sep 16 18:15 startx*
Permissions look ok to me (i think).... thanks for the quick reply though... still investigating whether there is a wrapper or something I need to be addressing here, atm just reading up on permissions to make sure they are ok. (Edited: turns out my permissions were set wrong DOHHH!) thanks a ton for helping me out, ended up I learned about chmod! YAY! Thanks again. Case closed.) |
Is startx on the PATH for user? Try:
which startx for both root and user. ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
Hello, I have the same problem. I can log in as user at runlevel 3 but when I try to get to X "# startx" I get "startx: command not found"
Everything works perfectly well as root. It sounds like the above solution works well, but I am a new user and dont know how to edit the permissions on the command "startx" Please help. I'm using Yoper 2.2 prerelease. |
Quote:
#whereis startx you should probably find it in /usr/bin/X11/startx or similiar. (if you don't have whereis, try "locate") and then you can run startx by writing the whole path in the command line. if you suspect the permissions are wrong then write #chmod 755 /path/to/startx and all should be set. |
You just need to have /usr/X11R6/bin in your PATH variable. (a default install should set permissions correctly but its always good to check.
if it is not there ( echo $PATH ) then add it in the system wide env setup (/etc/profile ?) or at the command line if you just want to test first: export PATH=$PATH:/usr/X11R6/bin -grunthos |
All times are GMT -5. The time now is 07:51 PM. |