Re: X over ssh
On Sun, 30 Mar 2003 13:38:42 -0700 [EMAIL PROTECTED] (Bob Proulx) wrote: > And also VNC should be mentioned here too. > > http://www.uk.research.att.com/vnc/ > > apt-cache show vncserver xvncviewer tightvncserver is a debian package of tightVNC, also worth mention. Kevin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X over ssh
Joseph Barillari wrote: > PJ> That's all you need to do. Don't expect full X sessions over SSH, > PJ> that's not what's intended there. > > There is a project called s-terminal > > http://ayesha.phys.virginia.edu/~bryan/projects/knoppix/sterminal/ And also VNC should be mentioned here too. http://www.uk.research.att.com/vnc/ apt-cache show vncserver xvncviewer VNC can be tunneled over SSH for a secure window connection. Bob pgp0.pgp Description: PGP signature
Re: X over ssh
"Michael" == Michael Naumann <[EMAIL PROTECTED]> writes: Michael> So I do not see any difference and yet, X over ssh only Michael> works in one direction. Michael> Any pointer gladly apriciated, Run 'ssh -v -X' and see what the last few lines tell you about the X forwarding. It is likely that sshd on one of the servers has disabled X forwarding (/etc/ssh/sshd_config needs to have a line saying "X11Forwarding yes" in it). Cheers! Shyamal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X over ssh
On Sunday 30 March 2003 20:17, Frank Gevaerts wrote: > On Sun, Mar 30, 2003 at 07:53:21PM +0200, Michael Naumann wrote: > > Oh, somehow I expected another answer. > > I'm quite sure, that it should be possible to tunnel X over ssh. > > And in one direction it works perfectly. > > > > So from machine m1 > > ssh -X m2 xlogo > > works fine, whereas from machine m2 > > ssh -X m1 xlogo > > gives me > > Error: Can't open display: > > Are you sure sshd on m1 allows -X ? (check /etc/ssh/sshd_config) That was it. I had X11Forwarding no in there. Changed to yes, HUPed sshd, and everything workes. Thanx a lot, you saved my day. Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X over ssh
> "PJ" == Paul Johnson <[EMAIL PROTECTED]> writes: PJ> On Sun, Mar 30, 2003 at 06:22:06PM +0200, Michael Naumann wrote: >> I'm a bit clueless now. >> Hopefully anybody can help me out here. >> I have two machines m1 and m2 (both woody) connected. >> I can ssh -X successfully from m1 to m2 and vice versa. PJ> That's all you need to do. Don't expect full X sessions over SSH, PJ> that's not what's intended there. There is a project called s-terminal http://ayesha.phys.virginia.edu/~bryan/projects/knoppix/sterminal/ ...that reportedly does just that. I haven't yet tried it. --Joe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X over ssh
On Sun, Mar 30, 2003 at 07:53:21PM +0200, Michael Naumann wrote: > Oh, somehow I expected another answer. > I'm quite sure, that it should be possible to tunnel X over ssh. > And in one direction it works perfectly. > > So from machine m1 > ssh -X m2 xlogo > works fine, whereas from machine m2 > ssh -X m1 xlogo > gives me > Error: Can't open display: Are you sure sshd on m1 allows -X ? (check /etc/ssh/sshd_config) If it does, check you have a correct $DISPLAY before you run ssh. Frank > I think, it should work. Too often I read in this list the > "xhost +" technique is considered bad. So what are my alternatives ? > What might I be missing ? > > Thanx, Michael > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X over ssh
On Sunday 30 March 2003 19:13, Paul Johnson wrote: > On Sun, Mar 30, 2003 at 06:22:06PM +0200, Michael Naumann wrote: > > I'm a bit clueless now. > > Hopefully anybody can help me out here. > > I have two machines m1 and m2 (both woody) connected. > > I can ssh -X successfully from m1 to m2 and vice versa. > > That's all you need to do. Don't expect full X sessions over SSH, > that's not what's intended there. Oh, somehow I expected another answer. I'm quite sure, that it should be possible to tunnel X over ssh. And in one direction it works perfectly. So from machine m1 ssh -X m2 xlogo works fine, whereas from machine m2 ssh -X m1 xlogo gives me Error: Can't open display: I think, it should work. Too often I read in this list the "xhost +" technique is considered bad. So what are my alternatives ? What might I be missing ? Thanx, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X over ssh
On Sun, Mar 30, 2003 at 06:22:06PM +0200, Michael Naumann wrote: > I'm a bit clueless now. > Hopefully anybody can help me out here. > I have two machines m1 and m2 (both woody) connected. > I can ssh -X successfully from m1 to m2 and vice versa. That's all you need to do. Don't expect full X sessions over SSH, that's not what's intended there. -- .''`. Baloo Ursidae <[EMAIL PROTECTED]> : :' :proud Debian admin and user `. `'` `- Debian - when you have better things to do than fix a system pgp0.pgp Description: PGP signature
Re: X over ssh
On Fri, Aug 17, 2001 at 03:47:56PM -0500, Kirk Strauser wrote: | | At 2001-08-17T19:13:34Z, dman <[EMAIL PROTECTED]> writes: | | > When I login I get : | > | > $ ssh redoaksw.com | > [EMAIL PROTECTED]'s password: | > /usr/X11R6/bin/xauth: not found | | That's the error message I usually get when the X libraries aren't installed | on the machine I'm ssh'ing into. Are you positive that your webserver does, | in fact, have X installed? Yep, gvim compiled fine with Athena support (configure found it). The remote X stuff sometimes works, and it seems to be working most of the time now. The weirdest thing is that is the full path to xauth on that machine. Thanks, -D
Re: X over ssh
On Fri, Aug 17, 2001 at 01:10:03PM -0700, Karsten M. Self wrote: | on Fri, Aug 17, 2001 at 03:13:34PM -0400, dman ([EMAIL PROTECTED]) wrote: | > On Fri, Aug 17, 2001 at 11:39:27AM -0700, Karsten M. Self wrote: | > | on Fri, Aug 17, 2001 at 11:23:19AM -0400, dman ([EMAIL PROTECTED]) wrote: | > | > | > | > This isn't really Debian related, but I'm having some trouble with X | > | > over ssh. I am at a win2k box with XWin32 running (& access control | > | > disabled). I use ssh (from cygwin) on that box to login to a FreeBSD | > | > box (our webhosting server). The DISPLAY variable is correctly set, | > | > but whenever I try to run an X app I get : | > | | > | It's not clear from what you've posted that: | > | | > | - You're requesting X forwarding on the client side. | > | - You've allowed X forwarding on the server side. | > | | > | Post your SSH invocation and look at your daemon logs for connection | > | attempts on the remote server. | > | > Ok : | > | > On the client side I have the following in my ~/.ssh/config | > Host redoaksw.com | > Userredoaksw | > ForwardX11 yes | > Compression yes | > Protocol2 | > | > When I login I get : | > | > $ ssh redoaksw.com | > [EMAIL PROTECTED]'s password: | > /usr/X11R6/bin/xauth: not found | ^^^ | This seems to be your problem. From ssh manpage, you may want to set an | appropriate XAuthLocation, as the default isn't working. It certainly looks like it would be a problem, but ... I just installed Cygwin/XFree86 -- it works great now (except that twm kinda sucks). Last time I tried XFree under cygwin there was no installer and I couldn't get it to work. Now (using XFree as the X server) if I ssh to the FreeBSD box from an xterm, I get that error message however remote X works. I just tried logging in from a cygwin bash shell (in MS-DOS window) and didn't get the xauth error and remote X works (didn't specify any other options than before). If I ssh into the Solaris box from a DOS window (bash) I get the error regardless of whether or not I specify the proper path (/usr/X/bin/xauth). I can't run 'xterm' but I can run 'gvim' (my 2 test cases). Weird! The problem seems to have corrected itself. I don't know whether that is a good thing or a bad thing because if it comes back I don't really know the solution (though I know what to try). Thanks for your assistance. -D
Re: X over ssh
At 2001-08-17T19:13:34Z, dman <[EMAIL PROTECTED]> writes: > When I login I get : > > $ ssh redoaksw.com > [EMAIL PROTECTED]'s password: > /usr/X11R6/bin/xauth: not found That's the error message I usually get when the X libraries aren't installed on the machine I'm ssh'ing into. Are you positive that your webserver does, in fact, have X installed? -- Kirk Strauser
Re: X over ssh
on Fri, Aug 17, 2001 at 03:13:34PM -0400, dman ([EMAIL PROTECTED]) wrote: > On Fri, Aug 17, 2001 at 11:39:27AM -0700, Karsten M. Self wrote: > | on Fri, Aug 17, 2001 at 11:23:19AM -0400, dman ([EMAIL PROTECTED]) wrote: > | > > | > This isn't really Debian related, but I'm having some trouble with X > | > over ssh. I am at a win2k box with XWin32 running (& access control > | > disabled). I use ssh (from cygwin) on that box to login to a FreeBSD > | > box (our webhosting server). The DISPLAY variable is correctly set, > | > but whenever I try to run an X app I get : > | > | It's not clear from what you've posted that: > | > | - You're requesting X forwarding on the client side. > | - You've allowed X forwarding on the server side. > | > | Post your SSH invocation and look at your daemon logs for connection > | attempts on the remote server. > > Ok : > > On the client side I have the following in my ~/.ssh/config > Host redoaksw.com > Userredoaksw > ForwardX11 yes > Compression yes > Protocol2 > > When I login I get : > > $ ssh redoaksw.com > [EMAIL PROTECTED]'s password: > /usr/X11R6/bin/xauth: not found ^^^ This seems to be your problem. From ssh manpage, you may want to set an appropriate XAuthLocation, as the default isn't working. -- Karsten M. Self http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org Free Dmitry! Boycott Adobe! Repeal the DMCA!http://www.freesklyarov.org Geek for Hirehttp://kmself.home.netcom.com/resume.html pgpew54kkmSA5.pgp Description: PGP signature
Re: X over ssh
On Fri, Aug 17, 2001 at 11:39:27AM -0700, Karsten M. Self wrote: | on Fri, Aug 17, 2001 at 11:23:19AM -0400, dman ([EMAIL PROTECTED]) wrote: | > | > This isn't really Debian related, but I'm having some trouble with X | > over ssh. I am at a win2k box with XWin32 running (& access control | > disabled). I use ssh (from cygwin) on that box to login to a FreeBSD | > box (our webhosting server). The DISPLAY variable is correctly set, | > but whenever I try to run an X app I get : | | It's not clear from what you've posted that: | | - You're requesting X forwarding on the client side. | - You've allowed X forwarding on the server side. | | Post your SSH invocation and look at your daemon logs for connection | attempts on the remote server. Ok : On the client side I have the following in my ~/.ssh/config Host redoaksw.com Userredoaksw ForwardX11 yes Compression yes Protocol2 When I login I get : $ ssh redoaksw.com [EMAIL PROTECTED]'s password: /usr/X11R6/bin/xauth: not found Last login: Fri Aug 17 15:01:04 2001 from roc-24-169-98-16 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.1.1-STABLE (SERVER) #0: Tue Jul 24 17:47:40 GMT 2001 You have new mail. (~) [EMAIL PROTECTED] [269]$ TERM is 'cygwin' on the local machine and the .login switches it to 'xterm' and then exec's bash (which sets the prompt up among other things). On the server side /etc/ssh/sshd_config includes : X11Forwarding yes X11DisplayOffset 10 The funny thing is it is working now for that host (after several restarts of the X server), but it is no longer working for the Solaris box at school that used to work just fine. The config on both sides is the same (except for hostname). Actually, once I logged out and logged back into that FreeBSD box it can no longer connect either. Weird. Summary : X forwarding works for the first login to FreeBSD box after restarting X server, doesn't work for any subsequent logins. X forwarding isn't working at all logging into Solaris, but it used to (the last time I used it on that system). BTW, do you know of an image viewing program that would be on a FreeBSD system? 'xv' 'gimp' and 'eog' are all not found in the PATH. Thanks, -D
Re: X over ssh
on Fri, Aug 17, 2001 at 11:23:19AM -0400, dman ([EMAIL PROTECTED]) wrote: > > This isn't really Debian related, but I'm having some trouble with X > over ssh. I am at a win2k box with XWin32 running (& access control > disabled). I use ssh (from cygwin) on that box to login to a FreeBSD > box (our webhosting server). The DISPLAY variable is correctly set, > but whenever I try to run an X app I get : It's not clear from what you've posted that: - You're requesting X forwarding on the client side. - You've allowed X forwarding on the server side. Post your SSH invocation and look at your daemon logs for connection attempts on the remote server. -- Karsten M. Self http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org Free Dmitry! Boycott Adobe! Repeal the DMCA!http://www.freesklyarov.org Geek for Hirehttp://kmself.home.netcom.com/resume.html pgpTB8Sy1SKg2.pgp Description: PGP signature