* bug#73869: Cannot start EXWM without a display manager @ 2024-10-18 19:21 Oleander via Bug reports for GNU Guix 2024-10-18 20:30 ` Rutherther via Bug reports for GNU Guix 0 siblings, 1 reply; 6+ messages in thread From: Oleander via Bug reports for GNU Guix @ 2024-10-18 19:21 UTC (permalink / raw) To: 73869 [-- Attachment #1: Type: text/plain, Size: 864 bytes --] Hello, do we have a way to start an X window manager (EXWM in my case) without installing a display manager? The manual does not cover this subject and so far all my attempts with the suggestions I collected from the mailing list [1] [2] have failed. I tried xinit, startx or sx but nothing starts exwm properly without GDM. I was only able to start exwm with xinit but it takes longer compared to GDM and when the WM is initialized, it does not receive any input, it is impossible to move the mouse pointer or type anything. [1] https://lists.gnu.org/archive/html/help-guix/2018-07/msg00080.html [2] https://lists.gnu.org/archive/html/help-guix/2024-09/msg00094.html My .xinitrc contains: ``` xrdb -merge ~/.Xresources xsetroot -cursor_name left_ptr xhost +SI:localuser:$USER udiskie --tray & exec dbus-launch --exit-with-session emacs ``` Thanks in advance! [-- Attachment #2: Type: text/html, Size: 1111 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#73869: Cannot start EXWM without a display manager 2024-10-18 19:21 bug#73869: Cannot start EXWM without a display manager Oleander via Bug reports for GNU Guix @ 2024-10-18 20:30 ` Rutherther via Bug reports for GNU Guix 2024-10-18 21:19 ` Oleander via Bug reports for GNU Guix 0 siblings, 1 reply; 6+ messages in thread From: Rutherther via Bug reports for GNU Guix @ 2024-10-18 20:30 UTC (permalink / raw) To: 73869; +Cc: Oleander Hello Oleander, so have you used the `startx-command-service-type` to get the proper startx command? Regards, Rutherther ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#73869: Cannot start EXWM without a display manager 2024-10-18 20:30 ` Rutherther via Bug reports for GNU Guix @ 2024-10-18 21:19 ` Oleander via Bug reports for GNU Guix 2024-10-19 7:15 ` Rutherther via Bug reports for GNU Guix 0 siblings, 1 reply; 6+ messages in thread From: Oleander via Bug reports for GNU Guix @ 2024-10-18 21:19 UTC (permalink / raw) To: rutherther, 73869 [-- Attachment #1: Type: text/plain, Size: 321 bytes --] Hi Rutherther, no, I haven't. Do I only need to add `(service startx-command-service-type)` to my services? Thank you! -------- Original Message -------- On Oct 18, 2024, 22:30, Rutherther wrote: > Hello Oleander, so have you used the `startx-command-service-type` to get the proper startx command? Regards, Rutherther [-- Attachment #2: Type: text/html, Size: 428 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#73869: Cannot start EXWM without a display manager 2024-10-18 21:19 ` Oleander via Bug reports for GNU Guix @ 2024-10-19 7:15 ` Rutherther via Bug reports for GNU Guix 2024-10-19 11:14 ` Oleander via Bug reports for GNU Guix 0 siblings, 1 reply; 6+ messages in thread From: Rutherther via Bug reports for GNU Guix @ 2024-10-19 7:15 UTC (permalink / raw) To: Oleander, 73869 That should be the minimal config, yes. You can pass the configuration to configure your keyboard layout and such. The config is very similar to gdm-service-type, but instead of giving out a display manager it gives out startx command that should be used, because it has proper paths to xorg modules, config... Oleander <7059548@protonmail.com> writes: > Hi Rutherther, > no, I haven't. Do I only need to add `(service startx-command-service-type)` to my services? > > Thank you! > > -------- Original Message -------- > On Oct 18, 2024, 22:30, Rutherther wrote: > >> Hello Oleander, so have you used the `startx-command-service-type` to get the proper startx command? Regards, Rutherther ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#73869: Cannot start EXWM without a display manager 2024-10-19 7:15 ` Rutherther via Bug reports for GNU Guix @ 2024-10-19 11:14 ` Oleander via Bug reports for GNU Guix 2024-10-19 16:18 ` Rutherther via Bug reports for GNU Guix 0 siblings, 1 reply; 6+ messages in thread From: Oleander via Bug reports for GNU Guix @ 2024-10-19 11:14 UTC (permalink / raw) To: rutherther, 73869 [-- Attachment #1: Type: text/plain, Size: 1722 bytes --] If I add the startx service, the window manager is initialized but it does not react to any keyboard or touchpad input. I'm using this config for xorg: (service xorg-server-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout) (extra-config '("Section \"InputClass\"\n" " Identifier \"libinput touchpad catchall\"\n" " Driver \"libinput\"\n" " MatchIsTouchpad \"on\"\n" " MatchDevicePath \"/dev/input/event*\"\n" " Option \"Tapping\" \"on\"\n" " Option \"TappingDrag\" \"on\"\n" " Option \"DisableWhileTyping\" \"on\"\n" "EndSection\n" "\n" "Section \"InputClass\"\n" " Identifier \"USB Mouse Pad USB Mouse Pad Mouse\"\n" " Driver \"libinput\"\n" " Option \"Middle Emulation\" \"on\"\n" " Option \"AccelSpeed\" \"1.0\"" "EndSection\n" "\n" "Section \"Device\"\n" " Identifier \"Intel Graphics\"\n" " Driver \"intel\"\n" " Option \"TearFree\" \"True\"\n" " Option \"DRI\" \"2\"\n" " Option \"AccelMethod\" \"sna\"\n" "EndSection" "\n")))) -------- Original Message -------- On Oct 19, 2024, 09:15, Rutherther wrote: > That should be the minimal config, yes. You can pass the configuration to configure your keyboard layout and such. The config is very similar to gdm-service-type, but instead of giving out a display manager it gives out startx command that should be used, because it has proper paths to xorg modules, config... Oleander writes: > Hi Rutherther, > no, I haven't. Do I only need to add `(service startx-command-service-type)` to my services? > > Thank you! > > -------- Original Message -------- > On Oct 18, 2024, 22:30, Rutherther wrote: > >> Hello Oleander, so have you used the `startx-command-service-type` to get the proper startx command? Regards, Rutherther [-- Attachment #2: Type: text/html, Size: 2170 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#73869: Cannot start EXWM without a display manager 2024-10-19 11:14 ` Oleander via Bug reports for GNU Guix @ 2024-10-19 16:18 ` Rutherther via Bug reports for GNU Guix 0 siblings, 0 replies; 6+ messages in thread From: Rutherther via Bug reports for GNU Guix @ 2024-10-19 16:18 UTC (permalink / raw) To: Oleander, 73869 > If I add the startx service, the window manager is initialized but it does not react to any keyboard or touchpad input. > Double check the startx you are starting is coming from the service, and is not shadowed by another startx that would come from other package like xinit. You can check that by looking at the realpath of the executable you are executing when you start startx. It should be under path with name startx-wrapper, not under something else like xinit. > I'm using this config for xorg: > > (service xorg-server-service-type) > (set-xorg-configuration Do not use set-xorg-configuration when using startx-command-service-type. Instead, put the config you had in set-xorg-configuration to startx-command-service-type. set-xorg-configuration is specifically for a display manager that comes with it. > (xorg-configuration > (keyboard-layout keyboard-layout) > (extra-config > '("Section \"InputClass\"\n" > " Identifier \"libinput touchpad catchall\"\n" > " Driver \"libinput\"\n" > " MatchIsTouchpad \"on\"\n" > " MatchDevicePath \"/dev/input/event*\"\n" > " Option \"Tapping\" \"on\"\n" > " Option \"TappingDrag\" \"on\"\n" > " Option \"DisableWhileTyping\" \"on\"\n" > "EndSection\n" > "\n" > "Section \"InputClass\"\n" > " Identifier \"USB Mouse Pad USB Mouse Pad Mouse\"\n" > " Driver \"libinput\"\n" > " Option \"Middle Emulation\" \"on\"\n" > " Option \"AccelSpeed\" \"1.0\"" > "EndSection\n" > "\n" > "Section \"Device\"\n" > " Identifier \"Intel Graphics\"\n" > " Driver \"intel\"\n" > " Option \"TearFree\" \"True\"\n" > " Option \"DRI\" \"2\"\n" > " Option \"AccelMethod\" \"sna\"\n" > "EndSection" > "\n")))) > > -------- Original Message -------- > On Oct 19, 2024, 09:15, Rutherther wrote: > >> That should be the minimal config, yes. You can pass the configuration to configure your keyboard layout and such. The config is very similar to gdm-service-type, but instead of giving out a display manager it gives out startx command that should be used, because it has proper paths to xorg modules, config... Oleander writes: > Hi Rutherther, > no, I haven't. Do I only need to add `(service startx-command-service-type)` to my services? > > Thank you! > > -------- Original Message -------- > On Oct 18, 2024, 22:30, Rutherther wrote: > >> Hello Oleander, so have you used the `startx-command-service-type` to get the proper startx command? Regards, Rutherther ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-10-19 16:20 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-10-18 19:21 bug#73869: Cannot start EXWM without a display manager Oleander via Bug reports for GNU Guix 2024-10-18 20:30 ` Rutherther via Bug reports for GNU Guix 2024-10-18 21:19 ` Oleander via Bug reports for GNU Guix 2024-10-19 7:15 ` Rutherther via Bug reports for GNU Guix 2024-10-19 11:14 ` Oleander via Bug reports for GNU Guix 2024-10-19 16:18 ` Rutherther via Bug reports for GNU Guix
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).