[winswitch] different ssh server port

Roberto Hashioka roberto.hashioka at dotcloud.com
Wed Jul 17 18:50:51 BST 2013


Sorry! Now it's working!

Antoine,

So, if I use Xnest along with Xpra, I have two displays to show my apps,
right?

Roberto


On Wed, Jul 17, 2013 at 10:44 AM, Roberto Hashioka <
roberto.hashioka at dotcloud.com> wrote:

> Hi Antoine,
>
> The Xnest blank screen is opened, but how can I display apps inside of it?
>
>
>
> On Wed, Jul 17, 2013 at 12:22 AM, Antoine Martin <antoine at nagafix.co.uk>wrote:
>
>>  Please always CC the list. Do not email me directly.
>> AGAIN.
>>
>> On 17/07/13 13:44, Roberto Hashioka wrote:
>>
>> Hi Antoine,
>>
>>  I would like to know what are the limitations or difficulties in order
>> to enable X Desktops instead of only X Apps. I admire your work with xpra!
>> I was using Xephyr before, but the capability of keeping the app status
>> after a disconnection made me shift to xpra, however I'm not able to
>> rox-filer properly with xpra. The background is stuck on the screen! :/
>>
>> To run a full X desktop (ala VNC - I assume that is what you are trying
>> to do), the application that is forwarded via Xpra must be able to contain
>> the entire desktop area with its own window manager and everything else.
>> What you are looking for is --start-child=Xnest
>> As for rox-filer specifically, I don't have it installed so I don't know
>> what it tries to do.
>>
>> Antoine
>>
>>
>>
>>  Thanks again for all your help!
>>
>>  Roberto
>>
>>
>> On Tue, Jul 16, 2013 at 11:19 PM, Antoine Martin <antoine at nagafix.co.uk>wrote:
>>
>>>  Please always CC the list. Do not email me directly.
>>>
>>> On 17/07/13 13:09, Roberto Hashioka wrote:
>>>
>>> Hi Antoine,
>>>
>>>  The user exists and the connection is up! I'm able to connect from my
>>> Mac OS X, but from windows I get that error:
>>>
>>>  C:\Program Files (x86)\Xpra>ping 192.168.56.102
>>>
>>>  Pinging 192.168.56.102 with 32 bytes of data:
>>> Reply from 192.168.56.102: bytes=32 time<1ms TTL=64
>>> Reply from 192.168.56.102: bytes=32 time<1ms TTL=64
>>>
>>>  Ping statistics for 192.168.56.102:
>>>     Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
>>> Approximate round trip times in milli-seconds:
>>>     Minimum = 0ms, Maximum = 0ms, Average = 0ms
>>> Control-C
>>> ^C
>>> C:\Program Files (x86)\Xpra>Xpra_cmd.exe --ssh="ssh -p 49154"
>>> --enable-sharing a
>>> ttach ssh:docker at 192.168.56.102:10
>>> xpra client version 0.9.7
>>> connection failed: Error running ssh program '['ssh', '-p', '49154',
>>> '-l', 'dock
>>> er', '-T', '192.168.56.102', '.xpra/run-xpra', '_proxy', ':10']': [Error
>>> 2] The
>>> system cannot find the file specified
>>>
>>>  C:\Program Files (x86)\Xpra>
>>>
>>> If you are connecting from windows, then "ssh.exe" won't exist unless
>>> you have cygwin installed and on your PATH, you have to use putty's
>>> plink.exe (which is bundled in the installer).
>>> The exact command line for plink may well be different too.
>>>
>>> Antoine
>>>
>>>
>>>
>>>
>>>
>>> On Tue, Jul 16, 2013 at 7:54 PM, Antoine Martin <antoine at nagafix.co.uk>wrote:
>>>
>>>>  On 17/07/13 03:14, Roberto Hashioka wrote:
>>>>
>>>> Hi Antoine,
>>>>
>>>>  Thanks, for your help! Now it's working on Linux and on Mac. But on
>>>> windows I'm getting this message error:
>>>>  C:\Program Files (x86)\Xpra>Xpra_cmd.exe --ssh="ssh -p 49154"
>>>> --enable-sharing attach ssh:docker at 192.168.56.102:10
>>>> xpra client version 0.9.7
>>>> connection failed: Error running ssh program '['ssh', '-p', '49154',
>>>> '-l', 'docker', '-T', '192.168.56.102', '.xpra/run-xpra', '_proxy',
>>>> ':10']': [Error 2] The system cannot find the file specified
>>>>
>>>>  What am I doing wrong?
>>>>
>>>> Your user "docker" does not have an xpra server running.
>>>> To verify:
>>>> * login via ssh: ssh -p 49154 -l docker 192.168.56.102
>>>> * look for the session: xpra list
>>>>
>>>> I've added this error to the FAQ:
>>>> http://xpra.org/trac/wiki/FAQ
>>>>
>>>>
>>>> Antoine
>>>>
>>>>
>>>>
>>>>  Thanks,
>>>> Roberto
>>>>
>>>>
>>>> On Tue, Jul 16, 2013 at 1:49 AM, Antoine Martin <antoine at nagafix.co.uk>wrote:
>>>>
>>>>>  On 16/07/13 15:41, Roberto Hashioka wrote:
>>>>>
>>>>> Hi Antoine,
>>>>>
>>>>>  I have downloaded the Xpra.app for Mac. I didn't know that app.
>>>>> However, I need to access the host via ssh and the port is not 22. It's
>>>>> 49153. How can I change it from the Xpra.app interface!?
>>>>>
>>>>>  You cannot, but you can do it from the command line (see "ssh"
>>>>> switch), for details:
>>>>> man xpra (on *nix)
>>>>> or
>>>>> ./Xpra.app/Contents/Helpers/Xpra -h
>>>>>
>>>>> So, in your case:
>>>>> xpra --ssh="ssh -p 49153" ...
>>>>>
>>>>> Antoine
>>>>>
>>>>>
>>>>>
>>>>>  Thanks,
>>>>> Roberto
>>>>>
>>>>>
>>>>> On Tue, Jul 16, 2013 at 1:15 AM, Antoine Martin <antoine at nagafix.co.uk
>>>>> > wrote:
>>>>>
>>>>>>
>>>>>> >  6174 ?        S      0:02 /usr/bin/python /usr/bin/xpra start :0
>>>>>> > --enable-sharing
>>>>>> >
>>>>>>  You should not be using such a low display number (":0") as this
>>>>>> leads
>>>>>> to confusion.
>>>>>> (the server should have warned you about this - see the log file)
>>>>>> >
>>>>>> > I'm using ssh forwarding to pipe the connection, because the xpra
>>>>>> > installation for mac is very complicated!
>>>>>>  How is the installation complicated? (hint: there is no installation
>>>>>> required: the DMG contains everything you need to run xpra)
>>>>>>
>>>>>> >
>>>>>> > From Mac (ssh forwarding):
>>>>>> I guess that what you are saying is that you first "ssh -X" (or "ssh
>>>>>> -Y") to the server before launching xpra.
>>>>>> Don't do that. Running xpra over ssh X11 forwarding will add more
>>>>>> problems than it is worth.
>>>>>> >
>>>>>> > docker at 9b5c0b4b7e54:~$ /usr/bin/xpra --version
>>>>>> You forgot "--enable-sharing" on both your clients.
>>>>>>
>>>>>> Antoine
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>



More information about the shifter-users mailing list