rogaha/docker-desktop

Support Ubuntu 13.10

Opened this issue · 1 comments

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?

I encountered this issue as well, in both ubuntu and fedora. I found a workaround here: moby/moby#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!