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

Using --password fails if ~/.config/x11docker doesn't exist #537

Open
echuber2 opened this issue Sep 22, 2024 · 0 comments · May be fixed by #535
Open

Using --password fails if ~/.config/x11docker doesn't exist #537

echuber2 opened this issue Sep 22, 2024 · 0 comments · May be fixed by #535

Comments

@echuber2
Copy link
Contributor

Fixed by #535

If $HOME/.config/x11docker doesn't already exist, among other possibilities, --password fails because of some logic errors in the code that sets the password. See #535 for details.

To reproduce:

  1. Remove directory $HOME/.config/x11docker
  2. Run: ./x11docker --password

Results:

$ ./x11docker --password
Please type in a new container user password (chars are invisible): 
./x11docker: line 11356: mkdir -p  '/home/[user]/.config/x11docker': No such file or directory
chmod: cannot access '/home/[user]/.config/x11docker': No such file or directory
./x11docker: line 1913: /home/[user]/.config/x11docker/passwd: No such file or directory
chmod: cannot access '/home/[user]/.config/x11docker/passwd': No such file or directory
@echuber2 echuber2 linked a pull request Sep 22, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant