Running X in runlevel 3

John Pierce john.j35 at gmail.com
Tue Jun 19 22:05:48 UTC 2007


> Also note, if you 'startx' as the super user you end up with an X session as
> the super user... This is really really a bad idea from a security point of
> view.
>
> Not tired it in a while, but I thought start x could be run by any user, not
> just root ?
>
You should not log in as the superuser, just log in as your normal
user and if you need to be superuser then open a shell and su.

This is the result of the ps command from a shell while logged in
under my normal user from level 5

[root at linbook2 ~]# ps aux | grep gdm
root      3127  0.0  0.3  16072  3284 ?        Ss   16:40   0:00
/usr/sbin/gdm-binary -nodaemon
root      3204  0.0  0.3  16412  3080 ?        S    16:40   0:00
/usr/sbin/gdm-binary -nodaemon
root      3206 14.5  2.5  32936 23036 tty7     SLs+ 16:40   2:48
/usr/bin/Xorg :0 -br -audit 0 -auth /var/gdm/:0.Xauth vt7
root      3742  0.0  0.0   4008   724 pts/1    S+   16:59   0:00 grep gdm

Notice gdm is still there as a process so it must be consuming some
resources, maybe not a lot but I will system free memory from several
states and report back.

-- 
John
Registered Linux User 263680, get counted at
http://counter.li.org




More information about the fedora-list mailing list