The time now is Tue 18 Jun 2013, 17:58
All times are UTC - 4 |
| Author |
Message |
sankarv
Joined: 09 Mar 2006 Posts: 18
|
Posted: Tue 15 May 2007, 00:45 Post_subject:
Xwindows not running for Users Sub_title: permission problem |
|
I have installed Puppy 2.14 to my hard drive.
I have modified the /etc/inittab by just replacing /usr/bin/autologinroot with /usr/bin/login (i just replaced 'autologinroot' with 'login') so that it asks for login.
Then i created an user "test" with adduser command. I tried to login as test, it is logging in but i cannot run xwindows. When i tried with startx it says permission denied when it tries to access the /etc/X11/* directory, the /tmp/* directory and returns to prompt saying startx failed.
pls help me getting run xwindows with normal user....
|
|
Back to top
|
|
 |
GuestToo
Puppy Master
Joined: 04 May 2005 Posts: 4078
|
Posted: Tue 15 May 2007, 01:16 Post_subject:
|
|
you need to make a number of changes ... for example, you must run X as root whether you like it or not, so that you have the permissions to access the hardware using the video drivers ... so X (Xvesa or Xorg) must be owned by root and the uid bit must be set
when X starts, it accesses and possibly changes certain files in /etc, /tmp, /root, /var etc etc etc ... you need to set the permissions on those various files
you will need to set the permissions on various devices so that they will work properly with your unprivileged user
various programs like the drive mounter programs will need to be rewritten
and if you make one mistake, you can create security problems that would allow others to access your machine and data ... running as an unprivileged user is not an automatic guarantee that you have a secure system
it is possible to run Puppy as an unprivileged user, but if you really do not want to run as root, it might be better to use another operating system ... GrafPup, for example
|
|
Back to top
|
|
 |
Lyle
Joined: 29 Dec 2012 Posts: 3
|
Posted: Sun 30 Dec 2012, 14:59 Post_subject:
|
|
Is this still true? That it's best to always run as root in Puppy LInux?
I just started running 5.4.3 and was surprised that X didn't start automatically for a non-root user.
It's ok. But I've spent years brow-beating my poor sysadmin-self not to work as root all the time.
Thanks....Lyle
|
|
Back to top
|
|
 |
|
|
|
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
[ Time: 0.0400s ][ Queries: 11 (0.0066s) ][ GZIP on ] |