Find the answer to your Linux question:
Results 1 to 8 of 8
what I must do to be able to start KDE from user? now I can run startx only as root....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    obs
    obs is offline
    Just Joined! obs's Avatar
    Join Date
    Dec 2004
    Posts
    14

    startx command not found


    what I must do to be able to start KDE from user?

    now I can run startx only as root.

  2. #2
    Just Joined!
    Join Date
    Nov 2004
    Location
    philippines
    Posts
    18
    goto /sbin or /bin and change the file attributes using chmod as a root and hope that works ...

  3. #3
    obs
    obs is offline
    Just Joined! obs's Avatar
    Join Date
    Dec 2004
    Posts
    14
    usr/X11R6/bin/startx has - rwxr-xr-x

    if I dont lie myself the last "x" means that users can execute this link, so this cant help.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    What exactly happens when you try and run it as a user?

    When you made your user did your user get a home directory?
    if you used
    useradd then no home directory was written I bet.
    if so delete the user and readd the user using
    adduser
    or
    add a test user with the adduser and see if they can startx

    useradd just adds users
    adduser runs you through a series of questions just use the defaults and it will right a home directory

    another way to check is in a term go to /home and see if your user has a home directory.

    Mike
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  6. #5
    Linux User eugrus's Avatar
    Join Date
    Dec 2004
    Location
    Russia
    Posts
    391
    it is possible, that you do not have /usr/X11R6/bin/ in users $PATH

  7. #6
    obs
    obs is offline
    Just Joined! obs's Avatar
    Join Date
    Dec 2004
    Posts
    14
    Mike, nothing happes, just command not found :D ...

    Code:
    fok@coke:~$ startx
    bash: startx: command not found
    fok@coke:~$
    I try to add another user using "adduser" but same - nothing happens.
    both users has a home directory.


    eugrus, can u explain how to check for this path?


    edit:
    Code:
    fok@coke:/usr/X11R6/bin$ startx
    bash: startx: command not found
    maybe I must change permissions for users, or smth ?

    any ideas?

  8. #7
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    try
    Code:
    whereis startx
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  9. #8
    obs
    obs is offline
    Just Joined! obs's Avatar
    Join Date
    Dec 2004
    Posts
    14
    fixed, thanks Mike

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •