From rbyrnes at gmail.com Fri Sep 10 00:18:22 2010 From: rbyrnes at gmail.com (Rob Byrnes) Date: Fri, 10 Sep 2010 09:18:22 +1000 Subject: [shifter-users] xpra on linux, shifter on windows Message-ID: I have an xpra session running on a Linux box (Ubuntu Lucid Lynx), and want to connect to it using Shifter via an SSH tunnel over the internet. I have ssh tunnelling checked on the Windows box, but TortoisePlink does not seem to start when I hit the "connect" button Here's the relevant bits from server.log on the windows box 2010/10/09 08:09:24 ServerLink.connect() server=ServerConfig(thecouch:), launching portinfo monitor 2010/10/09 08:09:24 ServerPortMonitor.start() usePTY=False, env={'TMP': 'C:\\DOCUME~1\\RBYRNE~1\\LOCALS~1\\Temp', 'COMPUTERNAME': 'ITPM04', 'HOMESHARE': '\\\\ITFHS1\\users\\RByrnes15', 'USERDOMAIN': 'CENTRAL', 'PSMODULEPATH': 'C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules\\', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 13, GenuineIntel', 'PROGRAMFILES': 'C:\\Program Files', 'PROCESSOR_REVISION': '0f0d', 'SYSTEMROOT': 'C:\\WINDOWS', 'PATH': 'C:\\Program Files\\PC Connectivity Solution\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Common Files\\GTK\\2.0\\bin;C:\\Program Files\\Common Files\\Lenovo;C:\\Program Files\\Calibre2\\;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0;C:\\Program Files\\QuickTime\\QTSystem\\', 'COM.ADOBE.VERSIONCUE.CLIENT.APPVERSION': '1.0.0', 'TEMP': 'C:\\DOCUME~1\\RBYRNE~1\\LOCALS~1\\Temp', 'TVT': 'C:\\Program Files\\Lenovo', 'COM.ADOBE.VERSIONCUE.CLIENT.APPNAME': 'AdobeDrive', 'PROCESSOR_ARCHITECTURE': 'x86', 'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users', 'SESSIONNAME': 'Console', 'HOMEPATH': '\\', 'USERNAME': 'RByrnes15', 'LOGONSERVER': '\\\\UGPPDCCNT05', 'ULTRAMON_LANGDIR': 'C:\\Program Files\\UltraMon\\Resources\\en', 'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe', 'WINDIR': 'C:\\WINDOWS', 'CLASSPATH': '.;C:\\Program Files\\Java\\jre6\\lib\\ext\\QTJava.zip', 'USERDNSDOMAIN': 'CENTRAL.DET.WIN', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1', 'FP_NO_HOST_CHECK': 'NO', 'QTJAVA': 'C:\\Program Files\\Java\\jre6\\lib\\ext\\QTJava.zip', 'HOMEDRIVE': 'Z:', 'APPDATA': 'C:\\Documents and Settings\\RByrnes15\\Application Data', 'SYSTEMDRIVE': 'C:', 'COM.ADOBE.VERSIONCUE.CLIENT.APPLOCALE': 'en_US', 'NUMBER_OF_PROCESSORS': '2', 'VBOX_INSTALL_PATH': 'C:\\Program Files\\Oracle\\VirtualBox\\', 'SONICCENTRAL': 'C:\\Program Files\\Common Files\\Sonic Shared\\Sonic Central\\', 'PROCESSOR_LEVEL': '6', 'OS': 'Windows_NT', 'USERPROFILE': 'C:\\Documents and Settings\\RByrnes15'}, cmd=C:\Program Files\Window-Shifter\PuTTY\TortoisePlink.exe ... 2010/10/09 08:09:24 ServerPortMonitor.connectionMade() 2010/10/09 08:09:24 ServerPortMonitor.start() process(C:\Program Files\Window-Shifter\PuTTY\TortoisePlink.exe ...)= 2010/10/09 08:09:25 ServerPortMonitor.childConnectionLost(1) 2010/10/09 08:09:25 ServerPortMonitor.childConnectionLost(2) 2010/10/09 08:09:25 ServerPortMonitor.childConnectionLost(0) 2010/10/09 08:09:25 ServerPortMonitor.processEnded([Failure instance: Traceback (failure with no frames): : A process has ended with a probable error condition: process ended with exit code 127.\n]) 2010/10/09 08:09:25 ShifterApplet.get_link_client(ServerConfig(thecouch:)) not connected 2010/10/09 08:11:09 UI_Util.MyWndProc(1052724,689,7,0) Session state change! 2010/10/09 08:11:09 ShifterApplet.handle_session_event(7) Session Lock 2010/10/09 08:41:11 UI_Util.MyWndProc(1052724,689,8,0) Session state change! 2010/10/09 08:41:11 ShifterApplet.handle_session_event(8) Session Unlock I have tried configuring both ssh keys as well as password auth. On the Linux box I started xpra thusly: % xpra start :7 Entering daemon mode; any further errors will be reported to: /home/loop/.xpra/:7.log % xpra list Found the following xpra sessions: LIVE session at :7 There is no firewall on the Linux box to get in the way, and an ssh server is running thanks in advance, rob -- Idiot : ? ? A member of a large and powerful tribe whose influence in human affairs has always been dominant and controlling. (Ambrose Bierce - The Devils Dictionary) From antoine at nagafix.co.uk Fri Sep 10 11:01:38 2010 From: antoine at nagafix.co.uk (Antoine Martin) Date: Fri, 10 Sep 2010 11:01:38 +0100 Subject: [shifter-users] xpra on linux, shifter on windows In-Reply-To: References: Message-ID: <4C8A0202.8060701@nagafix.co.uk> On 09/10/2010 12:18 AM, Rob Byrnes wrote: > I have an xpra session running on a Linux box (Ubuntu Lucid Lynx), and > want to connect to it using Shifter via an SSH tunnel over the > internet. > > I have ssh tunnelling checked on the Windows box, but TortoisePlink > does not seem to start when I hit the "connect" button Yes, lots of people are reporting problems with the SSH tunnels (me included..), the whole thing is about to get re-written using conch-ssh rather than battling ay longer with all the peculiarities of openssh/solaris-ssh/plink/... and all the nasty hacks to make twisted-process behave on windows. I'll get onto it as soon as I can. [snip] > I have tried configuring both ssh keys as well as password auth. > > On the Linux box I started xpra thusly: > % xpra start :7 > Entering daemon mode; any further errors will be reported to: > /home/loop/.xpra/:7.log > % xpra list > Found the following xpra sessions: > LIVE session at :7 This is not meant to work, shifter only knows about sessions it started itself via the applet. (in this case it would not know how to attach to it: what options you used to start it up, etc) > There is no firewall on the Linux box to get in the way, and an ssh > server is running If there is no firewall on the Linux box, is it really open to the internet? Cheers Antoine > thanks in advance, > rob > From aliander at gmx.at Fri Sep 10 11:50:32 2010 From: aliander at gmx.at (aliander at gmx.at) Date: Fri, 10 Sep 2010 12:50:32 +0200 Subject: [shifter-users] Python -- ImportError: No module named shifter.applet_wrapper Message-ID: <20100910105032.127900@gmx.net> Hi there! I had some trouble installing, as the repository wasn't reachable. So I alienated the rpm for my Ubuntu. Trying to start it from the gnome menu didn't do anything, so I shot up a term and tried my luck. /usr/bin/shifter_applet --open_server_config=%f shifter_applet --open_server_config=Traceback (most recent call last): File "/usr/bin/shifter_applet", line 3, in import shifter.applet_wrapper ImportError: No module named shifter.applet_wrapper Seems that python isn't finding the module. Probably because some path (sys.path?) isn't set correctly (sorry, my python knowledge is less than basic...). Could you guys give me a hint? Thanks in advance! Ali -- Erik The Flutemaker braucht deine Unterst?tzung beim Aufbau einer gemeinn?tzigen Stiftung, um den Kindern von Cascabel zu helfen. Informationen und Spendenkonten hier: http://www.flutemakerministries.org/index.html Bitte gib im Spendenbetreff an: For helping you building up the 501 C3-corporation. GMX.at - ?sterreichs FreeMail-Dienst mit ?ber 2 Mio Mitgliedern E-Mail, SMS & mehr! Kostenlos: http://portal.gmx.net/de/go/atfreemail From antoine at nagafix.co.uk Fri Sep 10 12:01:17 2010 From: antoine at nagafix.co.uk (Antoine Martin) Date: Fri, 10 Sep 2010 12:01:17 +0100 Subject: [shifter-users] Python -- ImportError: No module named shifter.applet_wrapper In-Reply-To: <20100910105032.127900@gmx.net> References: <20100910105032.127900@gmx.net> Message-ID: <4C8A0FFD.80000@nagafix.co.uk> Hi, On 09/10/2010 11:50 AM, aliander at gmx.at wrote: > Hi there! > > I had some trouble installing, as the repository wasn't reachable. Hmm, that's odd, when was that? > So I alienated the rpm for my Ubuntu. Not something I would recommend... although in theory it could work. > Trying to start it from the gnome menu didn't do anything, so I shot up a term and tried my luck. > > /usr/bin/shifter_applet --open_server_config=%f > shifter_applet --open_server_config=Traceback (most recent call last): > File "/usr/bin/shifter_applet", line 3, in > import shifter.applet_wrapper > ImportError: No module named shifter.applet_wrapper > > Seems that python isn't finding the module. Probably because some path (sys.path?) isn't set correctly (sorry, my python knowledge is less than basic...). Yes, that's the problem. Probably due to the way you installed it. > Could you guys give me a hint? Best thing to do is to install from the debs. The repo looks ok from here: http://shifter.devloop.org.uk/dists/ Cheers Antoine > Thanks in advance! > Ali > From antoine at nagafix.co.uk Mon Sep 13 19:06:02 2010 From: antoine at nagafix.co.uk (Antoine Martin) Date: Mon, 13 Sep 2010 19:06:02 +0100 Subject: [shifter-users] plans for 0.11 Message-ID: <4C8E680A.1050602@nagafix.co.uk> Hi all, Sorry for taking so long to fix the numerous issues that people are having with the 0.10 release. I have been extremely busy on something else, without any time to spare at all. Now that things look like returning to normal, I am planning on tackling the most pressing issues. If there are things that you would like to see addressed, now is the time to raise it. Either here, via the bug tracker or via private email. Top of the list are: * numerous SSH tunnel issues: completely rewrite the whole thing using twisted conch (the current implementation is just fundamentally broken) * mDNS timeouts causing clients not to pickup existing running servers. (this may require running the mdns code as a separate process unfortunately) Cheers Antoine