Giter Club home page Giter Club logo

docker-desktop's People

Contributors

benyanke avatar bkcsoft avatar danielgroves avatar dscho avatar faeranne avatar fbreuer2 avatar nessdoor avatar paimpozhil avatar rogaha avatar sebs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-desktop's Issues

Documentation not complete

/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/init.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/usr/lib/xpra/xpra/xposix/gui.py:15: GtkWarning: IA__gdk_display_get_name: assertion `GDK_IS_DISPLAY (display)' failed
_display = gtk.gdk.get_display()
Traceback (most recent call last):
File "/usr/bin/xpra", line 7, in
xpra.scripts.main.main(file, sys.argv)
File "/usr/lib/xpra/xpra/scripts/main.py", line 232, in main
run_client(parser, options, args, mode)
File "/usr/lib/xpra/xpra/scripts/main.py", line 367, in run_client
from xpra.client import XpraClient
File "/usr/lib/xpra/xpra/client.py", line 25, in
from xpra.platform.gui import ClientExtras
File "/usr/lib/xpra/xpra/platform/gui.py", line 16, in
from xpra.xposix.gui import *
File "/usr/lib/xpra/xpra/xposix/gui.py", line 16, in
assert _display, "cannot open the display with GTK, is DISPLAY set?"
AssertionError: cannot open the display with GTK, is DISPLAY set?

On the node I run
python -c "import pygtk;pygtk.require('2.0');
import gtk;print(gtk.gdk.get_display())"

And I get the following.

(process:296): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/init.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
-c:1: GtkWarning: IA__gdk_display_get_name: assertion `GDK_IS_DISPLAY (display)' failed

Any ideas what additional setup is required to get this to work?

issue with ssh docker-desktop

my test enviroment is:
the win7 notebook. I installed virtual box on win7. And I installed ubuntu 12.04 on virutal box(I also installed xpra in the ubuntu).

when I execute the following command:

river@ubuntu:~$ sudo ssh [email protected] -p 49153 ./docker-desktop -s 800x600 -d 10

shows the following error:

/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/usr/lib/python2.7/dist-packages/xpra/xposix/gui.py:14: GtkWarning: IA__gdk_display_get_name: assertion `GDK_IS_DISPLAY (display)' failed
  _display = gdk.get_display()
Traceback (most recent call last):
  File "/usr/bin/xpra", line 6, in <module>
    sys.exit(xpra.scripts.main.main(__file__, sys.argv))
  File "/usr/lib/python2.7/dist-packages/xpra/scripts/main.py", line 294, in main
    return run_client(parser, options, args, mode)
  File "/usr/lib/python2.7/dist-packages/xpra/scripts/main.py", line 442, in run_client
    from xpra.client import XpraClient
  File "/usr/lib/python2.7/dist-packages/xpra/client.py", line 165, in <module>
    from xpra.platform.gui import ClientExtras
  File "/usr/lib/python2.7/dist-packages/xpra/platform/gui.py", line 16, in <module>
    from xpra.xposix.gui import *
  File "/usr/lib/python2.7/dist-packages/xpra/xposix/gui.py", line 15, in <module>
    assert _display, "cannot open the display with GTK, is DISPLAY set?"
AssertionError: cannot open the display with GTK, is DISPLAY set?

Can't start the xpra display

Dear all:
I have meet this problem, every thing is ok follow the "readme", but I can't start a graph interface, could you please give me some advice?
Best regard

==============These are the screen log, but there is no graphic=======<<<<
$ xpra --ssh="ssh -p 36665" attach ssh:[email protected]:10
2017-08-05 11:26:30,316 cannot use pycups for printing: No module named cups
2017-08-05 11:26:30,371 xpra gtk2 client version 0.15.8 (r11211)
2017-08-05 11:26:30,528 PyOpenGL warning: missing accelerate module
2017-08-05 11:26:30,528 PyOpenGL warning: missing array format handlers: numeric, vbo, vbooffset
2017-08-05 11:26:30,528 OpenGL Version: 3.0 Mesa 17.0.7
2017-08-05 11:26:30,529 OpenGL support could not be enabled:
2017-08-05 11:26:30,529 vendor 'nouveau' is blacklisted!
The authenticity of host '[0.0.0.0]:36665 ([0.0.0.0]:36665)' can't be established.
ECDSA key fingerprint is SHA256:23U5ssLRwESQva1fTh4Jc55129hRgn0l+QEs7M8bvoo.
Are you sure you want to continue connecting (yes/no)? 2017-08-05 11:26:30,605 detected keyboard: rules=evdev, model=pc105, layout=us
2017-08-05 11:26:30,606 desktop size is 1920x1080 with 1 screen(s):
2017-08-05 11:26:30,606 ':0.0' (508x285 mm - DPI: 96x96) workarea: 1855x1056 at 65x24
2017-08-05 11:26:30,606 monitor 1 (509x286 mm - DPI: 95x95)

Unable to connect

Error: No public port '22/tcp'. I keep getting this. Any ideas why? I used the -P

Persistent Firefox data

Like I said in my other issue, I use Firefox from docker-desktop, like this:

ssh [email protected] -p 49153 firefox

My problem is the lack of persistence. When I kill the container and restart a new one with the same name, my Firefox profile, bookmakers, etc, are gone.

I've tried to add this argument to 'docker run' :

-v /home/mascip/docker-desktop/firefox-data/$container_name:/home/docker/.mozilla/firefox/

so that Firefox's data would get saved on the host in /home/mascip/docker-desktop/firefox-data/$container_name. But it does work, because volumes mounted with -v are read-only.

Is there a way to achieve what I want? Am I missing something?

Why was such a nice project abandoned?

Why was such a nice project abandoned?

I just want to understand if it was due to time constraints by maintainer or something made this obsolete or something else

Permission denied, please try again.

CJdeMacBook-Pro:Helpers carocean$ /Applications/Xpra.app/Contents/Helpers/Xpra --ssh="ssh -p 8055" attach ssh:docker@localhost:10
2017-01-13 01:16:05,918 Xpra gtk2 client version 1.0-r14502 32-bit
2017-01-13 01:16:05,918 running on Mac OS X 10.12.2
2017-01-13 01:16:06,446 GStreamer version 1.8.3 for Python 2.7.12 32-bit
2017-01-13 01:16:06,797 OpenGL_accelerate module loaded
2017-01-13 01:16:06,815 using default keyboard settings
2017-01-13 01:16:06,962 desktop size is 1280x800 with 1 screen:
2017-01-13 01:16:06,962 cjdemacbook-pro.local (451x282 mm - DPI: 72x72) workarea: 1280x773 at 0x31
2017-01-13 01:16:06,962 monitor 1
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied (publickey,password).
2017-01-13 01:16:09,060 Error: failed to receive anything, not an xpra server?
2017-01-13 01:16:09,060 could also be the wrong protocol, username, password or port
2017-01-13 01:16:09,060 Connection lost

ssh: connect to host 10.10.10.100 port 49158: Connection refused

Hi,

I followed steps here but got SSH connection refused error from client terminal. Thanks!

localhost:~ sylu$ ssh [email protected] -p 49158
ssh: connect to host 10.10.10.100 port 49158: Connection refused

Check top is OK

bash-3.2$ docker top nostalgic_rosalind
PID                 USER                COMMAND
23760               root                /bin/bash /src/startup.sh
23819               root                /usr/bin/xdm
23821               root                /usr/sbin/sshd -D

Enter interactive terminal

docker-desktop daemon is running in background, then I enter interactive shell, found that xdm and sshd is running.

bash-3.2$ docker run -it vpsee/docker-desktop
User: docker Password: Iyie1id7sooc
Adding user `docker' to group `sudo' ...
Adding user docker to group sudo
Done.
 * Stopping X display manager xdm                                                                          [ OK ] 
 * Starting X display manager xdm                                                                          [ OK ]

Add a license

Please specify the license of the files in this repository. I guess most people assume Public Domain or MIT with this type of repository (not typical source code) but it would be better to have it clearly defined. There is always http://choosealicense.com/ if you would be in doubts.

xdm not available

Hi,

Not a defect, but this might help others:

I get this error when building the image:

root@lp01728:/space/docker# docker build -t zwischenzugs/docker-desktop git://github.com/rogaha/docker-desktop.git
Step 1 : FROM ubuntu:12.10
---> b750fe79269d
Step 2 : MAINTAINER Roberto G. Hashioka "[email protected]"
---> Using cache
---> d60f2e1b6916
Step 3 : RUN apt-get update
---> Using cache
---> 55b6655dc9b4
Step 4 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> ecb989327277
Step 5 : RUN apt-get install -y xpra rox-filer ssh pwgen xserver-xephyr xdm fluxbox
---> Running in 6683aa0f970d
Reading package lists...
Building dependency tree...
Package xdm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package xpra
E: Unable to locate package rox-filer
E: Unable to locate package xserver-xephyr
E: Package 'xdm' has no installation candidate
E: Unable to locate package fluxbox
Error build: The command [/bin/sh -c apt-get install -y xpra rox-filer ssh pwgen xserver-xephyr xdm fluxbox] returned a non-zero code: 100
The command [/bin/sh -c apt-get install -y xpra rox-filer ssh pwgen xserver-xephyr xdm fluxbox] returned a non-zero code: 100

root@lp01728:/space/docker#

However, when I run the build by hand it seems to work.

Solution was to add no-cache:

root@lp01728:/space/docker# docker build -no-cache=true /space/git/docker-desktop

zwischenzugs

Internationalization and localization support ( keyboard, time-zone )

The default keyboard and time-zone is not perfect for everybody.
For me - I need to change keyboard to hungarian layout [ "setxkbmap hu" ]
and time-zone to "Europe/Budapest"

Maybe I have to change Dockerfile - to hungarian localdef settings:
"RUN localedef -v -c -i hu_HU -f UTF-8 hu_HU.UTF-8 || :"

it is not critical - but I think it is a useful enhancement for me. ( and others ..)

I dont' know what is the best solution

  • change Dockerfile to localized version [ localedef, time-zone ..]
  • or localisation parameter - similar to screen size ..

thanks in advance,
Imre

xpra not working - am I missing something?

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:[email protected]:10 

I get this output:

[email protected]'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 [email protected] -p 49153 firefox

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

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

I followed your instructions and after I run this

/Applications/Xpra.app/Contents/MacOS/Xpra --ssh="ssh -p 49154" attach ssh:[email protected]: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
[email protected]'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:[email protected]: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

Does not seem to build

After i build the docker-desktop and then start the container.. i see this on the logs

User: docker Password: xxxxxx
Adding user docker' to groupsudo' ...
Adding user docker to group sudo
Done.
/src/startup.sh: line 18: sudo: command not found

  • Stopping X display manager xdm
    ...done.
  • Starting X display manager xdm
    ...done.

Then when i try and ssh into the new container.. i see this

Looks like there is an issue on the image building..somewhere it fails to add the necessary libraries or something

Right-clicking Docker Desktop in Windows System Tray causes crash

System -

  • OS : 64-bit Windows 10 Version 1803 (Build 17134.523)
  • Processor : Intel Xeon CPU E3-1505M v6
  • Mem : 16GB

Crash report:

   at Docker.WPF.HttpClientHelper.HandleStatusCode(HttpResponseMessage response) in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\HttpClientHelper.cs:line 82
   at Docker.WPF.HttpClientHelper.<GetAndReadAsync>d__3`1.MoveNext() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\HttpClientHelper.cs:line 73
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Docker.WPF.DockerHub.DockerHubApi.<GetTop25OrganizationsAsync>d__3.MoveNext() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\DockerHub\Api.cs:line 86
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Docker.WPF.DockerHub.DockerHubApi.<GetAllOrgsAsync>d__4.MoveNext() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\DockerHub\Api.cs:line 92
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Docker.Systray.DockerHubSystrayGroup.<<LoadAsync>b__15_0>d.MoveNext() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Systray\DockerHubSystrayGroup.cs:line 77
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at Docker.Program.Run(IReadOnlyCollection`1 args) in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Program.cs:line 216```

Error during building image

Hello!
I've followed the instrunctions, cloned git repo and run command
docker build -t ...
then i've got
the command [/bin/sh -c dpkg-divert --local --rename --add /sbin/initctl && ln -s /bin/initctl] returned a non-zero code: 1

I've tried several times but still couldn't fight this error.
System: ubuntu 12.04 LTS

Any ideas?

Cant install some libraries...

running the docker build gave me an error:

Get:254 http://archive.ubuntu.com/ubuntu/ trusty/main ssh-import-id all 3.21-0ubuntu1 [9624 B]
Err http://archive.ubuntu.com/ubuntu/ trusty-security/universe libavutil52 amd64 6:9.14-0ubuntu0.14.04.1
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com/ubuntu/ trusty-security/universe libavcodec54 amd64 6:9.14-0ubuntu0.14.04.1
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com/ubuntu/ trusty-security/universe libswscale2 amd64 6:9.14-0ubuntu0.14.04.1
404 Not Found [IP: 91.189.91.13 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/liba/libav/libavutil52_9.14-0ubuntu0.14.04.1_amd64.deb 404 Not Found [IP: 91.189.91.13 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/liba/libav/libavcodec54_9.14-0ubuntu0.14.04.1_amd64.deb 404 Not Found [IP: 91.189.91.13 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/liba/libav/libswscale2_9.14-0ubuntu0.14.04.1_amd64.deb 404 Not Found [IP: 91.189.91.13 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Fetched 64.3 MB in 7min 18s (147 kB/s)
2014/08/13 18:20:12 The command [/bin/sh -c apt-get install -y xpra rox-filer openssh-server pwgen xserver-xephyr xdm fluxbox xvfb] returned a non-zero code: 100

README correction?

I can run
docker build github.com/rogaha/docker-desktop

I can NOT run
docker build -t [username]/docker-desktop git://github.com/rogaha/docker-desktop.git

Kubernetes UI Dashboard

Docker Desktop Application can have in-build feature to view Kubernetes UI Dashboard.

For Reference:
image

Doesn't work with from Ubuntu 14.04

Followed the instructions and it didn't work.
I pulled the image with "docker pull rogaha/docker-desktop" and also built it myself.
When I ran the image that I pulled I got some tuple error.
When I ran the one I built I got a Python error in the log file.

From the client:

$ xpra --ssh="ssh -p 49153" attach ssh:[email protected]:10
xpra client version 0.12.3
2014-07-09 09:07:52,709 OpenGL support not enabled: No module named gdkgl
2014-07-09 09:07:52,825 detected keyboard: rules=evdev, model=pc105, layout=us
2014-07-09 09:07:52,825 desktop size is 1920x1080 with 1 screen(s):
2014-07-09 09:07:52,825   ':0.0' (508x286 mm) workarea: 1920x1055
2014-07-09 09:07:52,826     DVI-D-0 (530x300 mm)
2014-07-09 09:07:52,954 server: Linux, Xpra version 0.3.11
2014-07-09 09:07:52,956 Server's virtual screen is too small -- (server: 800x600 vs. client: 1920x1080)
You may see strange behavior.
Please see https://www.xpra.org/trac/ticket/10
2014-07-09 09:07:52,957 Attached to ssh:[email protected]:10 (press Control-C to detach)

2014-07-09 09:07:52,989 xsettings tuple format not supported, update ignored
2014-07-09 09:07:53,036 connection lost: decompression failed: Error -5 while decompressing data: incomplete or truncated stream
2014-07-09 09:07:53,067 Connection lost

From the log within the container:

Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
[dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
Xlib:  extension "RANDR" missing on display ":10".
Xlib:  extension "RANDR" missing on display ":10".
Xlib:  extension "RANDR" missing on display ":10".
Randr not supported: X server does not support required extension Randr
using notification forwarder: DBUSNotificationsForwarder(org.freedesktop.Notifications)
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
[dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!

xpra is ready.
New connection received: /home/docker/.xpra/9cb4c779fd96-10
Handshake complete; enabling connection
encoding set to png, client supports ['h264', 'vp8', 'png', 'png/P', 'png/L', 'rgb', 'jpeg'], server supports ['png', 'jpeg', 'rgb24', 'x264', 'vpx']
client resolution is [1920, 1080], current server resolution is 800x600
setting key repeat rate from client: 350 / 30
['setxkbmap', '-rules', 'evdev', '-model', 'pc105', '-layout', 'us']
['xkbcomp', '-', ':10'] with stdin=xkb_keymap {\n   xkb_keycodes  { ..
cannot find the X11 keysym for the following key names: set(['XF86AudioMicMute'])
Unhandled error while processing packet from peer
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/xpra/protocol.py", line 509, in _process_packet
    self._process_packet_cb(self, decoded)
  File "/usr/lib/python2.7/dist-packages/xpra/server.py", line 2388, in process_packet
    handler(self, proto, packet)
  File "/usr/lib/python2.7/dist-packages/xpra/server.py", line 2027, in _process_server_settings
    self._xsettings_manager = XSettingsManager(v)
  File "/usr/lib/python2.7/dist-packages/xpra/xposix/xsettings.py", line 27, in __init__
    self._set_blob_in_place(settings_blob)
  File "/usr/lib/python2.7/dist-packages/xpra/xposix/xsettings.py", line 33, in _set_blob_in_place
    settings_blob)
  File "/usr/lib/python2.7/dist-packages/wimpiggy/prop.py", line 267, in prop_set
    _prop_encode(target, type, value))
  File "/usr/lib/python2.7/dist-packages/wimpiggy/prop.py", line 248, in _prop_encode
    return _prop_encode_scalar(disp, type, value)
  File "/usr/lib/python2.7/dist-packages/wimpiggy/prop.py", line 252, in _prop_encode_scalar
    assert isinstance(value, pytype), "value for atom %s is not a %s: %s" % (atom, pytype, type(value))
TypeError: 'str' object is not callable
Connection lost
xpra client disconnected.

Would it make sense to use x2go libraries than the Xpra?

X2go provides more features like sound and seem to be constantly /more actively developed

From latest windows clients, I am not able to connect anyway and the Docker desktop sessions are exiting/failing as soon as i hit connect from my windows client.

I can try to make this system use x2go however I am not very strong with x11 concepts so I wanted some opinion before i start.

Connection lost, no any screen show

hzh@ISCAS:~$ sudo ssh [email protected] -p 32773 ./docker-desktop -s 800*600 -d 10
[email protected]'s password:


Configuring the screen resolution -> 800*600


Configuring the session number -> 10

Entering daemon mode; any further errors will be reported to:
/home/docker/.xpra/:10.log
server requested disconnect: shutting down
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.

hzh@ISCAS:~$ xpra --ssh="ssh -p 32773" attach ssh:[email protected]:10
xpra client version 0.12.3
[email protected]'s password: 2015-04-23 16:52:07,210 PyOpenGL warning: missing accelerate module
2015-04-23 16:52:07,211 PyOpenGL warning: missing array format handlers: numpy, numeric, vbo, vbooffset
2015-04-23 16:52:07,211 OpenGL Version: 2.1 Mesa 10.1.3
2015-04-23 16:52:07,336 detected keyboard: rules=evdev, model=pc105, layout=us
2015-04-23 16:52:07,336 desktop size is 1680x1050 with 1 screen(s):
2015-04-23 16:52:07,337 ':0.0' (444x277 mm) workarea: 1615x1026 at 65x24
2015-04-23 16:52:07,337 VGA1 (474x296 mm)
2015-04-23 16:52:27,352 connection timed out

2015-04-23 16:52:27,554 Connection lost
hzh@ISCAS:~$

Why are you setting the password this way?

I noticed that you've set the username and password to just "docker". Why are you going about this way? This is rather insecure. I could potentially find a bunch of Docker users and just bruteforce the lot of them to get access via SSH.

Ubuntu "apt-get install xpra" - install old version of XPRA ( v0.3.11 ) ( latest: v0.9.7 )

test case:

docker run -i -t  base /bin/bash
root@4635a6e9b491:/#  apt-get update
root@4635a6e9b491:/#  apt-get install xpra
root@4635a6e9b491:/#  xpra --version
xpra v0.3.11

working solution:

docker run -i -t  base /bin/bash
# xpra - Quantal Quetzal (12.10) install
# based on: http://winswitch.org/downloads/debian-repository.html?dist_select=quantal
root@81af5559b410:/# apt-get update
root@81af5559b410:/# apt-get install -y curl 
root@81af5559b410:/# curl http://winswitch.org/gpg.asc | apt-key add -
root@81af5559b410:/# echo "deb http://winswitch.org/ quantal main" > /etc/apt/sources.list.d/winswitch.list;
root@81af5559b410:/# apt-get update
root@81af5559b410:/# apt-get install xpra
root@81af5559b410:/# xpra --version
Warning: running as root
xpra v0.9.7

other linux version installer -> http://winswitch.org/downloads/
just change
from "apt-get install winswitch"
to "apt-get install xpra"

Remote version too old

/Applications/Xpra.app/Contents/Helpers/Xpra --ssh="ssh -p 32769" attach ssh:[email protected]:10
2017-01-24 15:52:53,410 Xpra gtk2 client version 1.0.1-r14723 32-bit
2017-01-24 15:52:53,410  running on Mac OS X 10.12.2
2017-01-24 15:52:53,808 GStreamer version 1.8.3 for Python 2.7.13 32-bit
2017-01-24 15:52:54,079 OpenGL_accelerate module loaded
2017-01-24 15:52:54,083 OpenGL enabled with ATI Radeon R9 M370X OpenGL Engine
2017-01-24 15:52:54,095  using default keyboard settings
2017-01-24 15:52:54,108  desktop size is 4440x1920 with 1 screen:
2017-01-24 15:52:54,109   johns-mbp.lan (1566x677 mm - DPI: 72x72)
2017-01-24 15:52:54,109     monitor 1 1440x900 at 1920x624 (508x317 mm - DPI: 72x72) workarea: 1440x797 at 0x183
2017-01-24 15:52:54,109     monitor 2 1920x1080 at 0x364 (677x381 mm - DPI: 72x72) workarea: 1920x1057 at 0x23
2017-01-24 15:52:54,109     monitor 3 1080x1920 at 3360x0 (381x677 mm - DPI: 72x72) workarea: 1080x1897 at 0x23
[email protected]'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'
2017-01-24 15:53:27,202 incompatible remote version '0.12.3': remote version [0, 12] is too old, sorry
Killed by signal 15.
2017-01-24 15:53:27,206 Connection lost

Here's what client I'm using:

/Applications/Xpra.app/Contents/Helpers/Xpra --version
xpra v1.0.1-r14723

Add shortcut to enable & disable Kubernetes

Updating Docker Desktop reduced the CPU load on my Mac substantially, but the system was still running at around 50%. Shutting down Kubernetes through the Docker Desktop's Preferences page reduces it to normal idle usage.

Can a shortcut in the menu be added, above Restart, to enable/disable Kubernetes so one does not have to go the extra steps into Preferences to turn it on and off?

X11 forwarding request failed on channel 0

First of all, thank you for the work you've outlined so well here. Your repo and instructions is the only thing I can find on getting an X session working.

But I'm still stuck with the X11 forwarding failure. And that's critical to go down this path.
The only change I made is to use Ubuntu 16.04.

Please help!

Build failing on Ubuntu 13.10

The build is failing on Ubuntu 13.10.

λ sudo docker build -t pal2/docker-desktop .
Uploading context 9.615 MB
Uploading context 
Step 1 : FROM ubuntu:12.10
 ---> 426130da57f7
Step 2 : MAINTAINER Roberto G. Hashioka "[email protected]"
 ---> Using cache
 ---> 2748c39ec5f5
Step 3 : RUN apt-get update
 ---> Using cache
 ---> 70b9561ec549
Step 4 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> b6e730018b28
Step 5 : RUN apt-get install -y xpra rox-filer ssh pwgen xserver-xephyr xdm fluxbox
 ---> Using cache
 ---> 43d04d984428
Step 6 : RUN sed -i 's/DisplayManager.requestPort/!DisplayManager.requestPort/g' /etc/X11/xdm/xdm-config
 ---> Using cache
 ---> 8d2e55b74d71
Step 7 : RUN sed -i '/#any host/c\*' /etc/X11/xdm/Xaccess
 ---> Using cache
 ---> ba6d1dff4c93
Step 8 : RUN ln -s /usr/bin/Xorg /usr/bin/X
 ---> Using cache
 ---> 660e100526b5
Step 9 : RUN echo X11Forwarding yes >> /etc/ssh/ssh_config
 ---> Using cache
 ---> a53b01f6e6fd
Step 10 : RUN dpkg-divert --local --rename --add /sbin/initctl && ln -s /bin/true /sbin/initctl
 ---> Running in f8d47ce1f837
Leaving 'local diversion of /sbin/initctl to /sbin/initctl.distrib'
: File exists
2014/01/30 12:54:29 The command [/bin/sh -c dpkg-divert --local --rename --add /sbin/initctl && ln -s /bin/true /sbin/initctl] returned a non-zero code: 255

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

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

Support Ubuntu 13.10

I followed the instructions but in the Dockerfile I made the following change:

# diff Dockerfile.orig Dockerfile
20c20
< FROM ubuntu:12.10

---
> FROM ubuntu:13.10

Everything built and the container started. However, when ssh'ing to the container then I can log in and see the welcome message but then it immediately logs me back out again :-(

Why am I trying with Ubuntu 13.10? Because xpra running on Ubuntu 12.10 is too far out of date :-(

Any ideas how to get this working?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.