Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all! Reading about security issues I came to a conclusion that it is not safe to work with the root account. So, I added another personal account with the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jan 2004
    Location
    Belgrade, S&M
    Posts
    177

    How to run X windows as a non root user ??


    Hi all! Reading about security issues I came to a conclusion that it is not safe to work with the root account. So, I added another personal account with the comand: useradd user1. Then: passwd user1 somepassword. OK. I login with my new account and try to start X - but it can't. It doesn't have the access to the HOME directory. I switch back to root and chmod a+rwx the home folder but the message is still the same. Any ideas ?

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Check and see if there is a /home/newuser and see what the permissions are on that directory.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Linux Newbie
    Join Date
    Jan 2004
    Location
    Belgrade, S&M
    Posts
    177
    Hi ! Thanks for helping. I deleted the new user and downloaded Webmin. It is a great program and i recommend it to everyone. With it I easily created a new account and condigured the permissions so I can now run X smoothly.

    Have a nice day !

  4. $spacer_open
    $spacer_close

Posting Permissions

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