Slack and root access to X server
Collins Richey
erichey2
Mon May 17 11:46:07 PDT 2004
On Sun, 30 Mar 2003 14:28:11 -0800
Bill Campbell <bill at celestial.com> wrote:
> 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 :-).
>
Thanks.
I circumvented the problem by logging in as root and starting xfce.
In case anyone else tries this, the new (pretty much undocumented) way
of installing OO in network mode is ./setup --interactive.
--
Collins
More information about the Linux-users
mailing list