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

x11docker ERROR: Could not find user #510

Open
leoyala opened this issue Aug 15, 2023 · 5 comments
Open

x11docker ERROR: Could not find user #510

leoyala opened this issue Aug 15, 2023 · 5 comments

Comments

@leoyala
Copy link

leoyala commented Aug 15, 2023

Hello,

I am trying to run some of the basic commands from x11docker: x11docker --update but I run into the following error that I do not understand, perhaps x11docker requires different privileges? I am using Ubuntu 22.04, I did the installation as stated in the README, and also pulled the x11docker/xserver image. I did check that the user indeed exists by running id -u <user_name>

DEBUGNOTE[17:21:05,070]: Detected cgroup v2
DEBUGNOTE[17:21:05,260]: check_host(): ps can watch root processes: yes

x11docker ERROR: Could not find user '******' in /etc/passwd.

  Type 'x11docker --help' for usage information
  Debug options: '--verbose' (full log) or '--debug' (log excerpt).
  Logfile will be: 
  Please report issues at https://github.com/mviereck/x11docker

DEBUGNOTE[17:21:05,283]: time to say goodbye (error)
DEBUGNOTE[17:21:05,288]: traperror: Command at Line 502 returned with error code 1:
  return 1
  8798 - ::error::check_hostuser::main::main
DEBUGNOTE[17:21:05,292]: time to say goodbye (traperror)
DEBUGNOTE[17:21:05,297]: Terminating x11docker.
DEBUGNOTE[17:21:05,300]: time to say goodbye (finish)
DEBUGNOTE[17:21:05,309]: x11docker exit code: 0
@in-fke
Copy link

in-fke commented Nov 13, 2023

Have the same problem with MSYS2 setup, there is no /etc/passwd at all.

$ x11docker --verbose prosys-opc-ua-simulation-server
stat: cannot read file system information for '/sys/fs/cgroup': No such file or directory

x11docker ERROR: Could not find user 'fnke' in /etc/passwd.

  Type 'x11docker --help' for usage information
  Debug options: '--verbose' (full log) or '--debug' (log excerpt).
  Logfile will be:
  Please report issues at https://github.com/mviereck/x11docker

$ cat /etc/passwd
cat: /etc/passwd: No such file or directory

@omilun
Copy link

omilun commented Jan 25, 2024

i have the same problem.
The authentication method changed to ldap in my machine, so my is not part of passwd file

Do you have any suggestions for this?

@leoyala
Copy link
Author

leoyala commented Jan 29, 2024

Unfortunately, I do not have an answer for this yet. I stopped using x11docker because of it.

@echuber2
Copy link
Contributor

Does "getent passwd your_user_name" (using your actual username) show anything in the terminal, or give an error? (On msys, you might need to install the getent package first.) You can probably avoid the "--update" by downloading the latest copy from GitHub manually, and you can skip installing it by running it from the directory where you cloned the repo. However, if you're seeing this issue, the other basic commands might show errors too.

@leoyala
Copy link
Author

leoyala commented Jan 31, 2024

Does "getent passwd your_user_name" (using your actual username) show anything in the terminal, or give an error? (On msys, you might need to install the getent package first.) You can probably avoid the "--update" by downloading the latest copy from GitHub manually, and you can skip installing it by running it from the directory where you cloned the repo. However, if you're seeing this issue, the other basic commands might show errors too.

Doing getent does display something in the terminal, no errors.

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

4 participants