-----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
xhost: bad hostname "root"The man page clearly shows the argument can be a host or a user name so either it is rejecting root or there is additional syntax. E.G. I tried xhost +root@ldesk which also fails with:
root@ldesk being added to access control list
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0xfe
Serial number of failed request: 7
Current serial number in output stream: 9
l
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.
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss