Google
  Web www.spinics.net

RE: X11 forward root over SSH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


-----Original Message-----
From: redhat-install-list-bounces@xxxxxxxxxx [mailto:redhat-install-list-bounces@xxxxxxxxxx] On Behalf Of Bob McClure Jr
Sent: Friday, July 15, 2011 12:55 PM
To: Getting started with Red Hat Linux
Subject: Re: X11 forward root over SSH

Hi Travis,

On Fri, Jul 15, 2011 at 12:46:42PM -0700, Waldher, Travis R wrote:
> I have an install routine that brings up a GUI, the routine of course 
> requires root access to do the work.
> 
>  
> 
> I can SSH in to a box using my credentials, su to root, but X11 is 
> blocking transmission back to my computer because I am root.
> 
> X connection to localhost:11.0 broken (explicit kill or server shutdown).
> 
>  
> 
> Is there a way to get a root owned X window to pop up, WITHOUT having 
> access to the Xauthority file associated with my userid that I used to 
> initially login to the system?  (home directory is NFS mounted, no 
> root access)

Try this before you su to root:

  xhost localhost

> Thanks

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
bob@xxxxxxxxxxxx             http://www.bobcatos.com
"A fondness for power is implanted, in most men, and it is natural to abuse it, when acquired."
  — Alexander Hamilton, the first U.S. Secretary of the Treasury and
  coauthor of the Federalist Papers. From The Farmer Refuted, 1775

xhost access control is disabled:

access control disabled, clients can connect from any host


_______________________________________________
Redhat-install-list mailing list
Redhat-install-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@xxxxxxxxxx
Subject: unsubscribe



[Red Hat Kickstart]     [Fedora Users]     [Red Hat General]     [Red Hat Development]     [Samba]     [Kernel]     [Kernel Newbies]     [Hot Springs]     [Yosemite News]

Powered by Linux