rogaha / docker-desktop

Docker Desktop enables you to create virtual desktops that can be accessed remotely. It comes with Firefox and Libreoffice already installed!
1.15k stars 288 forks source link

xpra not working - am I missing something? #19

Open mascip opened 10 years ago

mascip commented 10 years ago

Hi, for a start I'm trying to use docker-desktop locally on my PC. I follow your instructions and when I do:

xpra --ssh="ssh -p 49153" attach ssh:docker@192.168.56.102:10 

I get this output:

docker@172.17.42.1's password:   
bash: .xpra/run-xpra: No such file or directory   
Connection lost

I have xpra installed but I have never used it, so I might be missing something.

However, this works:

ssh docker@172.17.42.1 -p 49153 firefox

and it fact it's kind of enough for me. What are the benefits of xpra over simple ssh?

paimpozhil commented 10 years ago

The benefits will be visible if you try to do this over a remote system .

When you are hosting the desktop over lan or in your local machine.. the ssh should be just fine.

mascip commented 10 years ago

Thanks a lot :) Your answer in the Docker2Go issue made it even clearer: "X2go gives you support for different Compression ( good for wan /internet based desktops ) , Sound , file sharing ,etc out of the box." I'm not using a remote system so far so I don't need it now, but the time will come...

rogaha commented 10 years ago

It should be fixed with the latest version. Let me know how it goes. Thanks

mskonovalov commented 9 years ago

I've got the same problem on Ubuntu 14.04.2

2015-03-14 11:04:49,023 error on publisher AvahiPublisher(Xpra ssh :10 :22 interface=-1) Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/xpra/net/avahi_publisher.py", line 77, in start publisher.start() File "/usr/lib/python2.7/dist-packages/xpra/net/avahi_publisher.py", line 118, in start bus = dbus.SystemBus() File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 194, in __new__ private=private) File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 122, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory 2015-03-14 11:04:49,025 error on publisher AvahiPublisher(Xpra ssh :10 :22 interface=-1): org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory