Re: bug in xauth
Re: bug in xauth
- Subject: Re: bug in xauth
- From: Jeremy Huddleston Sequoia <email@hidden>
- Date: Thu, 23 Aug 2012 22:30:06 -0700
On Aug 23, 2012, at 20:00, "Cook, Rich" <email@hidden> wrote:
> Hi,
> I'm trying to be able to display to my own machine as root.
> The issue is that I cannot run sudo from my normal account. I have to do this dance:
>
> ssh -Y cook47-a@localhost # change to admin account so I can run sudo
> sudo -s # get root with sudo
>
> So what I'm doing is this:
> xauth extract - $DISPLAY | ssh -Y cook47-a@localhost sudo xauth merge -
ssh -Y will "just work" as long as you have ssh forwarding configured right. You don't need to do that xauth stuff.
> No luck. I am just trying to be able to display xemacs from a root xterm.
>
> Nothing works yet. Sigh
Just do this:
echo $DISPLAY
<do your dance>
export DISPLAY=<what it was>
root can read/write to that launchd socket.
That being said, why do you want to do this anyways?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden