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

Black screen and Bad _NET_DESKTOP in xsessions-errors #206

Open
romatthe opened this issue Dec 23, 2019 · 1 comment
Open

Black screen and Bad _NET_DESKTOP in xsessions-errors #206

romatthe opened this issue Dec 23, 2019 · 1 comment

Comments

@romatthe
Copy link

Problem Description

I'm trying to set up XMonad on my new NixOS setup with GDM as my display manager, but whatever I do I end up with a black screen and the inability to do anything.
When I look at my journalctl -b-1 I can see the following line several times:

Dec 23 08:12:24 nagoya xsession[1611]: Bad _NET_DESKTOP with data[0]=-1

Configuration File

I've reduces my config to the absolute minimum, so it appears the issue is not with anything in my configuration:

import XMonad

main = do
  xmonad $ defaultConfig
    { terminal    = myTerminal
    , modMask     = myModMask
    , borderWidth = myBorderWidth
    }

myTerminal    = "gnome-terminal"
myModMask     = mod4Mask
myBorderWidth = 3

I'm on NixOS, not sure if that matters. Here's my ultra-simple config:

{ config, pkgs, lib, ... }:
{
  # Enable the Gnome Desktop Environment.
  services.xserver.displayManager.gdm.enable = true;
  services.xserver.displayManager.gdm.wayland = false;
  services.xserver = {
    windowManager.xmonad = {
      enable = true;
      enableContribAndExtras = false;
      extraPackages = haskellPackages: [
        haskellPackages.xmonad
        haskellPackages.monad-logger
        haskellPackages.taffybar
      ];
    };
    windowManager.default = "xmonad";
  };
}
@geekosaur
Copy link
Contributor

The Bad _NET_DESKTOP message comes from a program attempting to make a window "sticky"; we don't currently handle this form of message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants