[Gllug] Problem with installing OpenOffice

tet at accucard.com tet at accucard.com
Wed Jun 26 13:31:01 UTC 2002


>I can't remember the trickery required to let you run X applications as root 
>from a regular user X session but there was some discussion a while back on 
>the list about this.

By far the easiest way is just to do:

	ssh root at localhost /path/to/x11/application

Of course, your sshd config file will need to have X11 forwarding
turned on, but it is by default in RH, and probably other distributions
too.

Alternatively, you can authorize root to connect to your X server:

	xauth extract - $DISPLAY | ssh root at localhost /usr/X11R6/bin/xauth merge -

Or for the quick and dirty method:

	xhost +

Note that the latter is a huge security risk, and certain applications
(e.g., exmh) will take preventative measures to disable it as soon as
you enable it...

Tet


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list