Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
codemonkeybr opened this issue Aug 14, 2014 · 3 comments

Comments

@codemonkeybr
Copy link

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
Copy link
Author

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
Copy link
Author

Host machine, macbook air

@rogaha
Copy link
Owner

rogaha commented Aug 19, 2014

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants