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

Cannot start Arch as any user except root #8

Closed
godefroi opened this issue Feb 17, 2018 · 2 comments
Closed

Cannot start Arch as any user except root #8

godefroi opened this issue Feb 17, 2018 · 2 comments

Comments

@godefroi
Copy link

I have installed Arch, started it, and created a user with useradd -u 1000 -m myuser. I cannot, however, start Arch as this user:

myuser@computername ~\wsl_distros\Arch
$ ./arch get --default-uid
1000
myuser@computername ~\wsl_distros\Arch
$ ./arch
[root@computername Arch]# id myuser
uid=1000(myuser) gid=1000(myuser) groups=1000(myuser),990(adm),998(wheel)
[root@computername Arch]# 

I recreated the user with uid 1000 because I noticed that the command ./arch config --default-user myuser set the DefaultUid registry entry to 1000, even though that wasn't the uid of the user I specified. That didn't make any difference, though.

@yuk7
Copy link
Owner

yuk7 commented Feb 17, 2018

@godefroi
Please see #7
Try this:

  1. Please close the command prompt, wait for a while, then re-open it again.(I solved the problem in this way)
  2. Reboot the computer.

Please give me additional information if not resolved.
Thank you.

@godefroi
Copy link
Author

Sorry; I looked for open issues, but not closed ones. Closing and re-opening the command prompt from which I started Arch solved the issue. Maybe WSL is caching the registry entry? We may want to open an issue with WSL...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants