LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-05-2002, 08:21 PM   #1
dksk8
LQ Newbie
 
Registered: Aug 2002
Posts: 3

Rep: Reputation: 0
Angry is startx not for me?


I am really new to linux. i have had it up and running for maybe a week. i have been playing around tho and i really like it, but now i am sort of stuck. i got the kde desktop up and running on SuSE 7.0 ( which was a hassle when i found out my cd-rom was not able to be booted from ) . My only problem is that i cant get " startx " to work with regular users. anyone out there have any ideas?


thanks,

randall
 
Old 08-05-2002, 09:25 PM   #2
dksk8
LQ Newbie
 
Registered: Aug 2002
Posts: 3

Original Poster
Rep: Reputation: 0
does anyone have an idea or advice on this? i am in dier need

thanks,

randall
 
Old 08-05-2002, 09:29 PM   #3
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Are you sure regular users have enought rights to start X?
locate startx
chmod +755 startx
 
Old 08-05-2002, 09:31 PM   #4
dksk8
LQ Newbie
 
Registered: Aug 2002
Posts: 3

Original Poster
Rep: Reputation: 0
err ...
ill try those commands but can you explain a little more about what they do possibly? i am really new to linux ...

thanks,
randall
 
Old 08-05-2002, 09:43 PM   #5
oostevo
Member
 
Registered: Sep 2001
Location: Virginia
Distribution: OpenBSD/Mandrake 9/Redhat 8/Gentoo
Posts: 33

Rep: Reputation: 15
First of all, when you want to find out what a command does, try typing in man command or info command (where you would replace command with the command you are trying to learn about).

Locate is a sort of find program that helps you to find various files on your computer. For example, if you are trying to find a file named mydoc.txt, but you can't remember where you put it, you could type in locate mydoc or locate .txt (yes, just part of the file name will work).

The problem it seems you are having is that your normal users aren't allowed to use the startx command. Chmod changes the 'permissions' on the file so that they are allowed to.

Another thing that might cause your problem could be that normal users don't have the command startx in their 'path' (where the computer goes looking for the program you told it to run). You can either type in the full path to it each time you want to run it (/usr/X11R6/bin/startx on my system), or add the directory containing startx (/usr/X11R6/bin) to each users path in the .bash_profile in their home directories.

Hope this helps.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WHY should I type startx twice to startx? hiux Debian 6 09-09-2005 09:12 AM
startx doesn't startx for user vdemuth Mandriva 10 11-08-2004 07:41 PM
Bug / Xwindows / startx : xinit works but startx crash www.rzr.free.fr Linux - Software 4 10-17-2004 08:06 AM
startx vs startx -- :2 (font dimension is different!!) moly82 Linux - General 7 09-15-2003 12:11 PM
Can not startx ol' digital Linux - Newbie 3 02-06-2003 04:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:14 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