Slack and root access to X server
Bill Campbell
bill
Mon May 17 11:46:07 PDT 2004
On Sun, Mar 30, 2003 at 03:12:19PM -0700, Collins Richey wrote:
>I'm trying to install OpenOffice, and the script always dies "unabble to
>access the X server" - any clues?
>
>I've done "xhost +localhost" and even "xhost +", but no dice.
Try ``xterm -l root -e slogin localhost'' or ``ssh -f -l root xterm''.
This should give you root access with the proper X capabilities. You may
have to edit the ssh_config and sshd_config files to turn X11 forwarding
on.
I find it far easier to run X clients with ssh than dealing with the
$DISPLAY variable and xhosts, not to mention more secure (as if X without
ssh were at all secure :-).
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/
``Liberty don't work as good in practice as it does in speeches.''
Will Rogers
More information about the Linux-users
mailing list