View previous topic :: View next topic |
Author |
Message |
Hetfield666 Tux's lil' helper
Joined: 28 Feb 2004 Posts: 99
|
Posted: Mon Mar 01, 2004 10:22 pm Post subject: not root server x |
|
|
how to start server X as not root user?
actually:
xfs 3961 0.0 0.2 7256 696 ? S 08:35 0:01 /usr/X11R6/bin/xfs -daemon -config /etc/X11/fs/
root 4072 0.0 0.1 2464 492 ? S 08:35 0:00 /usr/kde/3.1/bin/kdm
root 4083 5.4 4.8 62780 12352 ? S 08:35 47:10 /etc/X11/X -nolisten tcp -auth /var/run/xauth/A
root 4101 0.0 0.3 3304 800 ? S 08:35 0:00 -:0
hetfield 4389 0.0 0.3 4320 920 ? S 08:36 0:00 /bin/sh /etc/X11/Sessions/kde-3.1.4
hetfield 4427 0.0 0.3 4336 976 ? S 08:36 0:00 /bin/sh --login /usr/kde/3.1/bin/startkde
so server X is root, kde user
any other importat app to limit? |
|
Back to top |
|
|
TTK Guru
Joined: 02 Mar 2004 Posts: 523
|
Posted: Wed Mar 03, 2004 9:46 am Post subject: |
|
|
Hi !
X needs to be root. You can't run it as normal user.
Abso-fucking-lutely
--
TTK |
|
Back to top |
|
|
Hetfield666 Tux's lil' helper
Joined: 28 Feb 2004 Posts: 99
|
Posted: Sat Mar 06, 2004 5:38 pm Post subject: |
|
|
not true....security guide SUGGEST to not run X as root!! |
|
Back to top |
|
|
eug2k Tux's lil' helper
Joined: 10 Feb 2004 Posts: 141
|
Posted: Sat Mar 06, 2004 9:26 pm Post subject: |
|
|
just use gdm you can actually do startx without being root _________________ I wish I had a pet penguin
way better than a pet window |
|
Back to top |
|
|
TTK Guru
Joined: 02 Mar 2004 Posts: 523
|
Posted: Mon Mar 15, 2004 9:13 pm Post subject: |
|
|
You should not be root when you run X, but the X process
always belongs to root.
I don't know which security guide you're talking about but I
think you didn't understand it correctly.
As a normal user you use the startx command, which launches
X (as a root process) and lets you use it for your user apps.
Bye |
|
Back to top |
|
|
Gelfling Tux's lil' helper
Joined: 21 Jan 2003 Posts: 106 Location: Avenel, NJ
|
Posted: Thu May 06, 2004 4:41 pm Post subject: |
|
|
I made the mistake of running startx as root now I can't run it as a user, how do I repair things? _________________ Phanbox64: MSI K8N Neo2, AMD Athlon64 3500+, ATI Radeon 9800XT, Corsair TwinX1024-3200C2 1024MB SDRAM, 2 WD 74GB Raptors & 120GB SATA HD, Audigy2 ZS, Plextor PX-708A DVD-/+RW, Pioneer DVD-106S DVD-ROM, CoolerMaster WaveMaster Case |
|
Back to top |
|
|
|