[PLUG] Opening X app when su root

Paul Johnson baloo at ursine.dyndns.org
Sat Sep 18 16:17:04 PDT 2004


<#secure method=pgp mode=sign>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rich Shepard <rshepard at appl-ecosys.com> writes:

> Logged in as a user and running the X Window System. In a virtual
> terminal I 'su -' to root. Now I want to run the OpenOffice.org's
> 'spadmin' program so I can add fonts to what OO.o sees. The X server
> responds that it cannot open the display.

su -m, or use sudo -s, or ssh -X root at localhost...

>    Is my only option to log out, then back in as root and startx from that
> login?

Don't consider that as an option, never log in X as root.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBTLp2UzgNqloQMwcRAsM4AKCSujrOOP8SjLCFAgD4u8Gk8HKNowCgoS4J
D98rfv+RVnEED3xkEEv2xhs=
=sIIv
-----END PGP SIGNATURE-----




More information about the PLUG mailing list