Re: SLES10 ssh X Forwarding

2008-02-05 Thread Christian Langer
denberg > Sent: Friday, February 01, 2008 11:48 AM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: SLES10 ssh X Forwarding > > > Edmund R. MacKenty wrote: >> On Friday 01 February 2008 13:53, Kim Goldenberg wrote: >> >>> Mark - I still get "Gtk-WARNING **: cann

Re: SLES10 ssh X Forwarding

2008-02-04 Thread Mark Post
>>> On Mon, Feb 4, 2008 at 12:27 PM, in message <[EMAIL PROTECTED]>, Kim Goldenberg <[EMAIL PROTECTED]> wrote: -snip- > Of course this problem goes away when I use su rather than sudo, but > that means I have to give the root password to everyone who needs to > install their software, and I pr

Re: SLES10 ssh X Forwarding

2008-02-04 Thread Kim Goldenberg
Mark Post wrote: On Fri, Feb 1, 2008 at 1:53 PM, in message <[EMAIL PROTECTED]>, Kim Goldenberg <[EMAIL PROTECTED]> wrote: -snip- Mark - I still get "Gtk-WARNING **: cannot open display: " with a "sudo gedit foo" command that works when I use "gedit foo". This all works fine under SLES9x. A

Re: SLES10 ssh X Forwarding

2008-02-01 Thread Mark Post
>>> On Fri, Feb 1, 2008 at 1:53 PM, in message <[EMAIL PROTECTED]>, Kim Goldenberg <[EMAIL PROTECTED]> wrote: -snip- > Mark - I still get "Gtk-WARNING **: cannot open display: " with a "sudo > gedit foo" command that works when I use "gedit foo". > > This all works fine under SLES9x. Any thought

Re: SLES10 ssh X Forwarding

2008-02-01 Thread RPN01
LAY before starting the sudo command. > > Second: DISPLAY=localhost can't work. I don't see how xclock can be working. > > -Original Message- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of Kim > Goldenberg > Sent: Friday, February 01, 2008 11:48

Re: SLES10 ssh X Forwarding

2008-02-01 Thread Adam Thornton
On Feb 1, 2008, at 1:53 PM, Fargusson.Alan wrote: There are two problems here. First: doing a "sudo echo $DISPLAY" does not echo the DISPLAY that sudo is using. The shell will replace the $DISPLAY before starting the sudo command. Second: DISPLAY=localhost can't work. I don't see how xclock

Re: SLES10 ssh X Forwarding

2008-02-01 Thread Fargusson.Alan
al Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of Kim Goldenberg Sent: Friday, February 01, 2008 11:48 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: SLES10 ssh X Forwarding Edmund R. MacKenty wrote: > On Friday 01 February 2008 13:53, Kim Goldenberg wrote: > >>

Re: SLES10 ssh X Forwarding

2008-02-01 Thread Kim Goldenberg
Edmund R. MacKenty wrote: On Friday 01 February 2008 13:53, Kim Goldenberg wrote: Mark - I still get "Gtk-WARNING **: cannot open display: " with a "sudo gedit foo" command that works when I use "gedit foo". If you pasted the entire error message here, then it looks like the DISPLAY variable

Re: SLES10 ssh X Forwarding

2008-02-01 Thread Edmund R. MacKenty
On Friday 01 February 2008 13:53, Kim Goldenberg wrote: >Mark - I still get "Gtk-WARNING **: cannot open display: " with a "sudo >gedit foo" command that works when I use "gedit foo". If you pasted the entire error message here, then it looks like the DISPLAY variable is not set in your environmen

Re: SLES10 ssh X Forwarding

2008-02-01 Thread Kim Goldenberg
Mark Post wrote: On Fri, Feb 1, 2008 at 1:18 PM, in message <[EMAIL PROTECTED]>, Kim Goldenberg <[EMAIL PROTECTED]> wrote: Adam Thornton wrote: -snip- Look in /etc/ssh/sshd_conf and see if X11 forwarding is enabled. Adam Yes, it is, but it doesn't work under sudo ("sudo /sbin/yast2"

Re: SLES10 ssh X Forwarding

2008-02-01 Thread Mark Post
>>> On Fri, Feb 1, 2008 at 1:18 PM, in message <[EMAIL PROTECTED]>, Kim Goldenberg <[EMAIL PROTECTED]> wrote: > Adam Thornton wrote: -snip- >> Look in /etc/ssh/sshd_conf and see if X11 forwarding is enabled. >> >> Adam >> > Yes, it is, but it doesn't work under sudo ("sudo /sbin/yast2"). This >

Re: SLES10 ssh X Forwarding

2008-02-01 Thread Kim Goldenberg
Adam Thornton wrote: On Jan 31, 2008, at 2:51 PM, Kim Goldenberg wrote: Group - We are using both SLES 9x and SLES10. I have set up my ssh to use keys for authentication, and X forwarding is turned on for trusted connections. (My desktop is Ubuntu Linux.) When I invoke an X-enabled applicat

Re: SLES10 ssh X Forwarding

2008-01-31 Thread Brad Hinson
On Thu, 2008-01-31 at 16:19 -0600, Adam Thornton wrote: > On Jan 31, 2008, at 2:51 PM, Kim Goldenberg wrote: > > > Group - > > We are using both SLES 9x and SLES10. I have set up my ssh to use > > keys > > for authentication, and X forwarding is turned on for trusted > > connections. (My deskto

Re: SLES10 ssh X Forwarding

2008-01-31 Thread Adam Thornton
On Jan 31, 2008, at 2:51 PM, Kim Goldenberg wrote: Group - We are using both SLES 9x and SLES10. I have set up my ssh to use keys for authentication, and X forwarding is turned on for trusted connections. (My desktop is Ubuntu Linux.) When I invoke an X-enabled application (such as YaST2

SLES10 ssh X Forwarding

2008-01-31 Thread Kim Goldenberg
Group - We are using both SLES 9x and SLES10. I have set up my ssh to use keys for authentication, and X forwarding is turned on for trusted connections. (My desktop is Ubuntu Linux.) When I invoke an X-enabled application (such as YaST2) under SLES9x, it opens in an X window. When I do th