Re: display export??
-----BEGIN PGP SIGNED MESSAGE-----
On Thu, 13 Jul 2000, Bolan Meek wrote:
<snipped stuff about X server security>
> I'm not understanding how to
> directly change this, but an easy work-around is to CTL-ALT-F2...F3,
> log in as root, and startx -- :1. This starts a new display.
> Then, you can flip between them with CTL-ALT-F7 ... CTL-ALT-F8.
There's a much easier workaround for this: Give root permission to access
the display (i.e. the X Server).
There are many issues with allowing any kind of access to the X server,
and you don't want to do it unnecessarily. But in this case, since
everybody (your user and the root login via su) it's probably safe.
As the user who owns the X session, run 'xhost local:root'
Then as the root user (in the shell where you'll be running commands as
root), run 'export DISPLAY=:0' to tell X clients run within that shell
what display to access.
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
-----END PGP SIGNATURE-----