I just upgraded from 19.09 to 20.03, and with that came an upgrade from xorg server 1.20.5 to 1.20.8.
I use startx to launch emacs, however this upgrade broke startx. From my understanding of the logs, startx seems to keep pointing to the old xorg server (which still exists in nix store), and doesn’t run.
xfce4 works fine, and xinit point correctly to 1.20.8 (however I’ve never figured out how to use it correctly in lieu of startx).
My question is: how to get my startx working again (and probably using xorg server 1.20.8)? I don’t have any custom configuration for startx, so I’m not sure what to change in my config. I’m not sure if startx is somehow dependent on the older xorgserver and it’s an issue upstream. I don’t know.
startx log: startx.log - Pastebin.com
xinit log: xinit.log - Pastebin.com
nix config: nixConf - Pastebin.com
xinitrc: xinitrc - Pastebin.com
I have startx setup in the following way:
# services.xserver = {
# enable = true;
# layout = "us";
# xkbVariant = "dvp";
# libinput = {
# enable = true;
# };
# displayManager = {
# startx.enable = true;
# };
# };
System is using Intel CPU and GPU.
One thought is to find out what package depends on the older xorg-server version, and if that package is potentially startx. However, I’m not sure how to go about this.
I’ve looked at the cheatsheet Cheatsheet - NixOS Wiki, however I cannot enter ‘xorg-server’ as an argument to find what depends on it.
nix-store --query --references $(which xorg-server)
Ideally, I could see what depends on the older version of xorg-server, and maybe try and get rid of it?
Any help or debugging advice is much appreciated.