root user and any GUI
JT Moree
moreejt at pcxperience.com
Mon Nov 27 22:09:35 MST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dazed_75 wrote:
> 1) Can anyone tell me why distros prevent root from using GUI
> applications (e.g. display not defined)?
Root isn't prevented from running GUI apps per se but ubuntu does not
set a root password so logging in and running apps as root is more involved.
> 2) Can I set up ubuntu like that and so root could startx and run GUI
> apps if I wanted instead of having to sudo them from my user?
you can run apps as root as long as root has permissions to display on
your x windows session. Use xhost to allow it.
xhost + allows anyone to display to your Xwindows session.
xhost +root allows root to display apps in your session
run a terminal and type
xhost +root
sudo su
xterm
in the terminal type
whoami
- --
JT Morée
PC Xperience, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFa8SP1JwGi/ukQqERAiCbAKCSzdHDtzwQOpiap/zht1s1XZ05FwCfa+Cb
31CDrPo5fh8DvpTQBcRL44Y=
=LHvq
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
More information about the PLUG-discuss
mailing list