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

installing gnome desktop (and its dependencies) breaks login (and potentially other commands) #290

Open
c4artisan opened this issue Jul 9, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@c4artisan
Copy link

Windows version (build number):
Windows 10 Pro 19044.1806 (21H1)

Linux distribution:
ubuntu jammy

Kernel version:
5.10.102.1-microsoft-standard-WSL2

Genie version:
genie 2.4

Describe the bug
after installing gnome desktop (ubuntu-desktop gnome), the login command is broken and wont output anything

Confirm that you are running inside the bottle:
outside
To Reproduce
Steps to reproduce the behavior:

  1. install package "ubuntu-desktop gnome"
  2. restart the ubuntu enviroment
  3. initialize the bottle (which will get stuck on the first seconds) and then try to login
  4. the command will take an absurd amount of time and then output "systemd state "unknown" (or something like that?)

Expected behavior
command -l / --login outputs the username and password

Screenshots

image

Additional context
i tried purging the package and its dependencies, didnt do anything

I confirm that I have read the ENTIRE supplied readme file and checked for relevant information on the repository wiki before raising this issue, and that if the solution to this issue is found in either location, it will be closed without further comment:

yes

@c4artisan c4artisan added the bug Something isn't working label Jul 9, 2022
@cerebrate
Copy link
Member

Yeah, it's likely that trying to install the full Gnome desktop environment will configure a whole bunch of services, etc., that aren't going to be happy trying to run under WSL.

What's the output of systemctl status when the system is in the state where the error occurs?

Also, what's the output of systemctl get-default?

@c4artisan
Copy link
Author

Yeah, it's likely that trying to install the full Gnome desktop environment will configure a whole bunch of services, etc., that aren't going to be happy trying to run under WSL.

What's the output of systemctl status when the system is in the state where the error occurs?

Also, what's the output of systemctl get-default?

ouch..... that's gonna be hard to respond, as i deleted the vm (however, i made another one) the enviroment was put in.
however, im willing to do it again, ill respond whenever im ready

@c4artisan
Copy link
Author

c4artisan commented Jul 11, 2022

Yeah, it's likely that trying to install the full Gnome desktop environment will configure a whole bunch of services, etc., that aren't going to be happy trying to run under WSL.

What's the output of systemctl status when the system is in the state where the error occurs?

Also, what's the output of `systemctl get-default?

"systemctl status" gave "Failed to read server status: Transport endpoint is not connected"
systemctl get-default gave "Failed to get default target: Transport endpoint is not connected"

@NotTheDr01ds
Copy link

@c4artisan Try:

sudo systemctl mask acpid

That looks to be the culprit to me. I'm not running Genie, but I can reproduce the same problem with a generic Systemd bottle on WSL2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants