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

Support Ubuntu 13.10 #18

Open
simonhf opened this issue May 16, 2014 · 1 comment
Open

Support Ubuntu 13.10 #18

simonhf opened this issue May 16, 2014 · 1 comment

Comments

@simonhf
Copy link

simonhf commented May 16, 2014

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

shadoan commented May 18, 2014

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!

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