RE: ssh x forwarding Charlebois, Serge Thu Feb 02 15:07:21 2012
Hi. Thanks Dean for the programmer's info. Disabling the X server resolved the issue: -start iSSH -go to the Xserver icon. It asks to confirm starting the Xserver. Wait till you see it. -select and start an SSH connection. Thanks! Serge Charlebois Local C1-3072, GEGI Université de Sherbrooke Tél. (819) 821-8000 #62621 FAX. (819) 821-7937 -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Dean Beeler Envoyé : 23 janvier 2012 19:26 À : iSSH/iX11 Objet : Re: ssh x forwarding I'm sorry it seems the X server is rather difficult to work with. I don't see the X server get in this state quite as often. Some extra steps need to be taken when the X server is backgrounded because servers aren't supposed to run in the background per the Apple guidelines. What devices are you using? Ideally I'll try to match your configuration and then work to make things more reliable for you. "TIP to developer: Just add a simple button to restart the X11 server!" This is actually what the "Use X Server" button does when it's being turned on and off. It's not immediate though. The X server loads quick but not that quick. Ideally you can go over to the actual X server window and see it come to life. Once you see it up in the X display, you're good to go. Dean On Jan 23, 7:26 am, Ed <[EMAIL PROTECTED]> wrote: > I finally got Tunneled X11 to work. And yes, a lot of 'restarting the > app' is involved, because changes to settings don't take effect. > > TIP to developer: Just add a simple button to restart the X11 server! > Even something to let you close it on command would work. The > existing prompt to start the X11 server would serve to restart it. > > To make X11 tunneling work: > > - make sure your server is setup correctly, with X11Forwarding turned > on in its sshd.conf > - open iSSH > - go to General Settings and set "Enable Compression" on, "Only > Tunneled Connections" on, "Use X Server" off, and "Use DWM" on. > - press Back > - RESTART iSSH! (see below for instructions if you don't know what > this means) > - choose the configuration that connects to the host you want > - press the X in the top right corner to go to the Active Connections > screen > - press the X in the top right corner and press "yes" to launch the > X11 Server > - press the arrow in the top left corner to return to active > connections > - tap on the session you opened previously > - launch an X11 client. for example "xterm" > - it shouldn't give you any errors, but just sit there > - press the X in the top right corner to go to the Active Connections > screen > - press the X in the top right corner to go to the X11 Server > - your X11 client should be there (if you launched xterm, it should be > a prompt you can use to launch other X11 clients, such as xeyes or > xcalc) > > If this seems like a Royal Pain In The Ass, well it is. But it does > work. X11 performance is pretty good on WiFi and a crawl on 3G. My > host that I'm running these X11 clients off of is pretty crappy > (350MHz iMac!) but on WiFi I can get work done. > > HOW TO RESTART iSSH > > - push the button on the front of your iPad once to return to the Menu > - double press the button on the front of your iPad to bring up the > list of running apps > - tap and hold on the iSSH icon until everything starts wiggling > - tap the red negative sign on iSSH to close it > - tap the button on the front of your iPad to stop the wiggling ;) > - launch iSSH normally, by finding it and tapping the icon > > Restarting is sort of the giant hammer that pounds iSSH into working > about 25% of the time. If you use iSSH often, get used to doing this! > > Ed > > On Jan 23, 8:55 am, "Charlebois, Serge" > > > > > > > > <[EMAIL PROTECTED]> wrote: > > Hi, > > To the rist of sounding dumm... what/how do you mean by "restarting"... > > Stopping and lunching the APP? > > > Thanks for the rapid answer. > > > Serge Charlebois > > Local C1-3072, GEGI > > Université de Sherbrooke > > Tél. (819) 821-8000 #62621 > > FAX. (819) 821-7937 > > > -----Message d'origine----- > > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Dean Beeler > > Envoyé : 23 janvier 2012 03:08 > > À : iSSH/iX11 > > Objet : Re: ssh x forwarding > > > There are several options that you can experiment with. Under General > > Settings, try disabling the X server and starting it again before > > connecting over ssh. Also on some systems the "only tunneled conn" > > option will resolve this as well. > > > More than likely the X server is functioning in a manner that's > > leaving it only open to localhost connections (DWM by itself). > > Restarting it before you connect should resolve this issue. > > > Dean > > > On Jan 19, 1:05 pm, Ed <[EMAIL PROTECTED]> wrote: > > > > I am also having trouble getting X11 to work to my Linux host. > > > > The host has X11Forwarding turned on, and on another Linux desktop, I > > > can `ssh -X [EMAIL PROTECTED] then run `xterm` successfully. > > > > I connect to the host with iSSH with iSSH's X11 server started, but > > > when I try `xterm` in that shell, it reports "xterm Xt error: Can't > > > open display: localhost:10.0". > > > > In the past, my experience with Linux has told me that if you've got > > > to the point where its trying to connect through the tunnel (ie: > > > DISPLAY is set), you're good to go. In this case, its like the iSSH > > > has setup the tunnel, but the X11 server on my iPad isn't accepting > > > connections. > > > > This is the point where I'd run "ssh -vvv -X [EMAIL PROTECTED]" and get > > > some > > > debugging information to find out the issue, but iSSH provides no such > > > opportunity. > > > > I like iSSH but when I recommend it to friends, I have to say "The > > > advertised X11 support doesn't work." > > > > Any help folks? I'd love to make this work! > > > > Ed > > > > On Jan 14, 7:51 am, pavel <[EMAIL PROTECTED]> wrote: > > > > > X server is active, but i can only login to computers terminal...no > > > > success with X forwarding..- Hide quoted text - > > > > - Show quoted text - > > > -- > > You received this message because you are subscribed to the Google Groups > > "iSSH/iX11" group. > > To post to this group, send email to [EMAIL PROTECTED] > > To unsubscribe from this group, send email to [EMAIL PROTECTED] > > For more options, visit this group > > athttp://groups.google.com/group/issh?hl=en. -- You received this message because you are subscribed to the Google Groups "iSSH/iX11" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/issh?hl=en. -- You received this message because you are subscribed to the Google Groups "iSSH/iX11" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/issh?hl=en.
- ssh x forwarding pavel 2012/02/02