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 287 forks source link

Once detached from the xpra server, I can't attach the window again unless rebooting my computer #29

Closed Gnimuc closed 5 years ago

Gnimuc commented 9 years ago

I followed your instructions and after I run this

/Applications/Xpra.app/Contents/MacOS/Xpra --ssh="ssh -p 49154" attach ssh:docker@192.168.59.103:10

there was no window showing.

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

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

** (Xpra:4996): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
2015-03-04 23:17:40,798 xpra client version 0.14.19
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
2015-03-04 23:17:41,204 OpenGL_accelerate module loaded
2015-03-04 23:17:41,204 Using accelerated ArrayDatatype
2015-03-04 23:17:41,206 OpenGL support could not be enabled:
2015-03-04 23:17:41,206  vendor 'Intel Inc.' is blacklisted!
2015-03-04 23:17:41,273 using default keyboard settings
2015-03-04 23:17:41,281 desktop size is 1920x1080 with 1 screen(s):
2015-03-04 23:17:41,281   'gnimucs-mini.lan' (677x381 mm)
2015-03-04 23:17:41,282     monitor 1
docker@192.168.59.103's password: 
Usage: 
    xpra start DISPLAY
    xpra stop [DISPLAY]
    xpra exit [DISPLAY]
    xpra list
    xpra upgrade DISPLAY
    xpra attach [DISPLAY]
    xpra detach [DISPLAY]
    xpra screenshot filename [DISPLAY]
    xpra info [DISPLAY]
    xpra control DISPLAY command [arg1] [arg2]..
    xpra version [DISPLAY]
    xpra shadow [DISPLAY]

xpra: error: invalid mode 'initenv'
Warning: xpra server does not support initenv
2015-03-04 23:17:53,834 server: Linux Ubuntu 14.04 trusty, Xpra version 0.12.3 (r6075)
2015-03-04 23:17:53,836 keymap has been changed to '', sending updated mappings to the server
2015-03-04 23:17:53,847 Attached to ssh:docker@192.168.59.103:10 (press Control-C to detach)

and when I stroke my keyboard, these information come from Terminal.

2015-03-04 23:18:34,740 keymap has been changed to '', sending updated mappings to the server
2015-03-04 23:18:39,449 keymap has been changed to '', sending updated mappings to the server
2015-03-04 23:18:43,780 keymap has been changed to '', sending updated mappings to the server
2015-03-04 23:19:41,503 keymap has been changed to '', sending updated mappings to the server
2015-03-04 23:19:43,546 keymap has been changed to '', sending updated mappings to the server
2015-03-04 23:19:44,543 keymap has been changed to '', sending updated mappings to the server
2015-03-04 23:19:47,534 keymap has been changed to '', sending updated mappings to the server
2015-03-04 23:19:52,816 keymap has been changed to '', sending updated mappings to the server
2015-03-04 23:19:56,114 keymap has been changed to '', sending updated mappings to the server
2015-03-04 23:20:00,399 keymap has been changed to '', sending updated mappings to the server
Gnimuc commented 9 years ago

More information: Now I'm able to successfully see the xpra window, but only ONCE unless I reboot my computer. If I detach the docker container which is running a xpra session, I could not attach it again. Any ideas?

xmodulo commented 8 years ago

I have the sample problem. The first time I create a container, the desktop appears. But once I reboot my computer, restart the container, and create a new session, I cannot attach the session, and desktop does not appear.