Bret, thanks for the reply. I thought this worked on 7.3 as well, but I
installed 8.0 on my laptop and cannot figure out what is going on. I have
another computer in my office, that is 7.3 so I'll give it a try to see what
happens.

What version of SSH is on your machine.
I am using SSH tunneling.


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Bret Hughes
> Sent: Thursday, October 10, 2002 10:56 PM
> To: [EMAIL PROTECTED]
> Subject: Re: running remote window through sudo and ssh
>
>
> On Thu, 2002-10-10 at 17:54, Chad Skinner wrote:
> > I have ssh setup on the server and can run a remote xwindows
> application on
> > the local machine, but I am trying to setup the system so some
> of our users
> > can run a few of the utilities as root using sudo. The problem
> is that when
> > the user issues the sudo command the xserver drops the
> connection stating
> > invalid authentication. I have seen this before when executing
> programs as
> > root and I had to add localhost using xhost. I have tries adding both
> > localhost and the remote ip on both hosts (before and after using ssh to
> > reach the remote computer) to no avail. Does anyone have any
> ideas what I
> > need to do to solve this issue.
> >
>
> FWIW I tried this and it worked.  what does sudo env show?  on my test
> it was using the ssh tunneled display:
>
> [bhughes@compaq2 bhughes]$ sudo env|grep DISPLAY
> DISPLAY=compaq2.brets.elevating.com:10.0
>
> [bhughes@compaq2 bhughes]$ sudo -V
> Sudo version 1.6.3
>
> This worked for me on both a 6.0 server with a bootloadof updates and a
> 7.2 install
>
> Are you using the ssh Xforwarding or setting the display variable
> manually?
>
> Bret
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to