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

Support Ubuntu 13.10 #18

Open simonhf opened 10 years ago

simonhf commented 10 years ago

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?

shadoan commented 10 years ago

I encountered this issue as well, in both ubuntu and fedora. I found a workaround here: https://github.com/dotcloud/docker/issues/4846

Basically, in the /etc/pam.d/sshd file, change the pam_loginuid.so attribute from "required" to "optional", as follows:

       # Set the loginuid process attribute.
       session    optional     pam_loginuid.so

I made a copy of the whole file, made the change, and added it with the other context files for the build. That allowed me to ssh into the container. Of course, then I hit a great big wall of X errors which I have not yet managed to surmount. Good luck!