Can't install display manager
I made a clean install of Arch using the installation guide, and I have installed all the xorg packages and the nvidia driver. When I install a display manager with pacman, I enter "systemctl enable ****" then reboot. On gnome display manager, it graphically tells me there was a fatal error and to try again. On other display managers it just goes black.
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- 4njerq
16 comments
The display manager is installed, but you're more than likely missing other components.
Any idea what they are? I have the X server and drivers, what else do I need?
You need xinit as well. I believe the packages is called xorg-xinit. If that doesn't work, what's the error you're getting?
Did you install a desktop environment? Also iirc GDM has problems if you aren't using gnome. You need to use alternative DM for other DEs. Usually LightDM is good for most none gnome environments.
Additionally you dont need the whole xorg package. xorg-server and xorg-server-utils is sufficient. I'm willing to bet you are missing an environment or your video drivers aren't loading.
It was the nvidia-libgl driver, switched to mesa-libgl and everything worked
Read the systemd log, sounds video card related to me.
Additionally, I can run startx and the x server starts with the default 3 xterm windows, but if I add "exec gnome-session" to the xinitrc file it does nothing.
If xorg works with the default minimal display manager but not with gnome desktop there might be a problem with your OpenGL drivers. IIRC the default gnome desktop uses OpenGL while the (ancient) default xorg window manager doesn't. There are multiple version of libgl. If you're using a proprietary version of libgl (such as Nvidia's) switch to mesa-libgl (or vice-versa).
You are my fuckin hero, I switched to Mesa and it worked. Have been working on this for like 10 hrs, I love you