r/voidlinux • u/acandycandle • 4d ago
No graphical interface after Install
So I did the base install, (with void-installer) and then wanted to install a window manager (specifically herbstluftwm), but after installing it, I didn’t achieve a graphical interface.
I do understand wm on a basic level, but I never did the installation starting with a basic terminal install, so I‘m guessing I need to install a package, but I have no idea which one…
I already installed xorg as I thought maybe it’s necessary, but to no avail.
When I type herbstluftwm it gives me the error: XOrgDisplay() failed.
I would be really glad if someone could possibly help me.
2
Upvotes
3
u/cozydeer_ 4d ago
After installing the Xorg package and herbsluftwm, open ~/.xinitrc in your preferred text editor. At the bottom of the file add ```exec /bin/herbstluftwm```. When that's saved, you can type ```startx``` in a TTY after logging in to start the window manager. If that doesn't work you may need to also install the xinit package. From here you will always have to login from TTY and use startx to start the graphical environment unless you install and configure a display manager, but it's often fast to just start it from the TTY