[winswitch] running xpra from the command line after installing Window-Switch bundle? (OS X)

Levy, Roger rlevy at ucsd.edu
Tue Nov 12 03:58:57 GMT 2013


On Nov 11, 2013, at 7:52 PM, Antoine Martin <antoine at nagafix.co.uk> wrote:

> On 12/11/13 10:05, Levy, Roger wrote:
>> On Nov 11, 2013, at 6:44 PM, Antoine Martin <antoine at nagafix.co.uk> wrote:
>>> On 12/11/13 02:38, Levy, Roger wrote:
>>>> Hi,
>>>> 
>>>> I’m a longtime user of a much earlier version of xpra and am trying to use the more recent versions now.  I’m on OS X 10.9; I installed the Window-Switch.dmg (version 0.12.2) but I can’t figure out how to connect up to my remote sessions.  In the old days, say I have a remote session running on port 10; I would run
>>>> 
>>>> xpra attach ssh:<my_server_name>:10
>>>> 
>>>> What do I do now with the new Window-Switch app installed?  I tried running 
>>>> 
>>>> /Applications/Window-Switch.app/Contents/Resources/bin/xpra
>>>> 
>>>> but that just starts a Python session.
>>> The "xpra" command you want lives in Contents/MacOS/
>> Thanks for your quick response!  But:
>> 
>> M:/Users/rlevy$ /Applications/Window-Switch.app/Contents/MacOS/Xpra_Launcher 
>> Traceback (most recent call last):
>>  File "<string>", line 1, in <module>
>> ImportError: No module named client_launcher
> That's the launcher script - I'll take a look at why bits are missing,
> isn't there a plain "Xpra" in there too?
> (not that it matters much really, you should be using the Xpra.dmg
> instead, as this gets updated much more often than winswitch)

No, no plain Xpra — but I’m fine with using Xpra.dmg.

>>>> Any help would be much appreciated!
>>> If the hint above does not work, try the Xpra.dmg:
>>> http://xpra.org/dists/osx/x86/
>>> (the Contents/MacOS/Xpra script in there works for sure)
>> OK, that script does work.  However, it’s not able to pick up the session I have going on my remote server — below is the stderr output I get.  Any thoughts?
> Does it work from a non-mac machine?

Unfortunately I have no idea — I only have my Mac laptop to use.  But it works with the xpra in parti-all-0.0.6.

> You didn't post the command line you used, maybe you need to specify the
> session's username?
> (ie: ssh:username at host:display)
> 
> (snip)
>> ** Message: pygobject_register_sinkfunc is deprecated (GstObject)
>> xpra client version 0.10.9
> (snip
>> 2013-11-11 18:52:35,131 connection timed out
>> 2013-11-11 18:52:35,132 connection closed after 0 packets received (0.0 bytes) and 1 packets sent (9.8K bytes)
>> 2013-11-11 18:52:35,233 Connection lost
> Not much there I am afraid, this usually means that the ssh connection
> failed (assuming you used SSH).

Yes, I used ssh — the command was

 /Applications/Xpra.app/Contents/MacOS/Xpra attach ssh:<my_user_name>@<my_server_name>:14

Roger


More information about the shifter-users mailing list