Slack and root access to X server
Kurt Wall
kwall
Mon May 17 11:46:10 PDT 2004
An unnamed Administration source, Bill Campbell, 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.
That's how I do it at work.
% 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 :-).
Duh. :-)
Kurt
--
Demographic polls show that you have lost credibility across the
board. Especially with those 14 year-old Valley girls.
More information about the Linux-users
mailing list