docker-desktop icon indicating copy to clipboard operation
docker-desktop copied to clipboard

Error after login: connection failed: [Errno 2] No such file or directory

Open codemonkeybr opened this issue 11 years ago • 3 comments

tessos-air:~ tessomc$ /Applications/Xpra.app/Contents/Helpers/xpra --ssh="ssh -p 49153" attach ssh:[email protected]:10

** (Xpra:4421): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (Xpra:4421): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (Xpra:4421): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'

(Xpra:4421): Gtk-WARNING *: Locale not supported by C library. Using the fallback 'C' locale. 2014-08-13 23:22:52,926 xpra client version 0.13.8 * Message: pygobject_register_sinkfunc is deprecated (GstObject) 2014-08-13 23:22:53,324 OpenGL_accelerate module loaded 2014-08-13 23:22:53,324 Using accelerated ArrayDatatype 2014-08-13 23:22:53,325 OpenGL support not enabled: vendor 'Intel Inc.' is blacklisted! 2014-08-13 23:22:53,387 using default keyboard settings 2014-08-13 23:22:53,398 desktop size is 1440x900 with 1 screen(s): 2014-08-13 23:22:53,398 'tessos-air.home' (508x317 mm) 2014-08-13 23:22:53,398 monitor 1 [email protected]'s password: connection failed: [Errno 2] No such file or directory 2014-08-13 23:22:59,023 Connection lost

codemonkeybr avatar Aug 14 '14 02:08 codemonkeybr

the previous command from inside boot2docker:

bash-3.2$ ssh [email protected] -p 49153 ./docker-desktop -s 800x600 -d 10 The authenticity of host '[127.0.0.1]:49153 ([127.0.0.1]:49153)' can't be established. RSA key fingerprint is b7:92:34:5d:10:28:5e:25:53:31:67:a2:97:02:f3:7b. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '[127.0.0.1]:49153' (RSA) to the list of known hosts. [email protected]'s password:


Configuring the screen resolution -> 800x600


Configuring the session number -> 10

Entering daemon mode; any further errors will be reported to: /home/docker/.xpra/:10.log xpra at :10 has exited. Entering daemon mode; any further errors will be reported to: /home/docker/.xpra/:10.log


Session started!


Please press Control-C if you are running it directly from the ssh command line.

codemonkeybr avatar Aug 14 '14 02:08 codemonkeybr

Host machine, macbook air

codemonkeybr avatar Aug 14 '14 11:08 codemonkeybr

So, the trick was to run the docker-desktop script in background. So if you try: ssh [email protected] -p 49153 "sh -c './docker-desktop -s 800x600 -d 10 > /dev/null 2>&1 &'" and then try to connect with /Applications/Xpra.app/Contents/Helpers/xpra --ssh="ssh -p 49183" attach ssh:[email protected]:10 it should work.

Also, I updated the Dockerfile with there was a missing sudo package. Please rebuild the image with the latest dockerfile version.

Let me know how it goes! Thanks for your feedback and sorry for all these issues!

rogaha avatar Aug 19 '14 07:08 rogaha