Page 1 of 1

MX doesn't boot after installing Github CLI (gh) through .deb package

Posted: Sat May 31, 2025 11:26 am
by painEnjoyer
Hi,

I recently seemingly made the big mistake of installing the github cli (gh) through the debian package on the website. This seemingly has completely ruined my MX 23.6 install.

Right now, if I boot normally (using sysvinit) the screen stays totally black after the grub output. If I boot using systemd's init system I at least get a cursor on a black screen.

I already tried to set

Code: Select all

/bin/bash
as the init in bash which launches me into bash and i managed to start sysvinit from there which gets me to the login prompt. From there however I have not been able to get any gui or networking running (I use a ethernet connection). This means I can't fix anything through apt. Is there any way I can save this install? Thanks!

Re: MX doesn't boot after installing Github CLI (gh) through .deb package

Posted: Sat May 31, 2025 12:10 pm
by siamhie
If you can get logged in as your user, you can try removing it.

Code: Select all

sudo apt remove gh


*I just checked our repos and noticed gh is available to install from there.
gh.jpg

Re: MX doesn't boot after installing Github CLI (gh) through .deb package

Posted: Sat May 31, 2025 12:28 pm
by dolphin_oracle
the github cli package doesn't really have much to do with the system. so I would look for other possible causes, like incomplete upgrade or a full home partition.

Re: MX doesn't boot after installing Github CLI (gh) through .deb package

Posted: Sat May 31, 2025 4:53 pm
by painEnjoyer
Thanks for your replays. Maybe something else broke the system, installing gh was jus the last thing I did before I noticed that thigns went kinda haywire (certain applications also wouldn't launch). I also upon startup get this message from the init system (I guess) before the login shell shows

Code: Select all

startpar: service(s) returned failure: samba-ad-dc
failed!
Is there any way I can check logs or something to maybe get a clue whats going wrong?

Also just in general, with mx 23.6 how do I launch the gui over the command line when using the command line? Is is still

Code: Select all

startx
with all that wayland stuff?

Re: MX doesn't boot after installing Github CLI (gh) through .deb package

Posted: Sat May 31, 2025 8:13 pm
by dolphin_oracle
startx would be correct to launch an X session. it won't launch a wayland session.

apt-history (either the command, or via quick-system-info-gui application) may show if some update went haywire.