You are not logged in.

#1 2019-04-11 02:06:56

bassp
Member
Registered: 2019-04-11
Posts: 8

issue starting xmonad with XDM

I recently installed a fresh copy of arch linux, along with xmonad, xterm, and xdm.

I enabled the xdm.service in systemctl, and created a .xsession file with chmod 700 ~/.xsession

in the said .xsession file is "xmonad"


The system boots, but not into xmonad. instead, by installing xinit and putting "exec xmonad" in .xinitrc, startx does boot me into xmonad successfully.

Is there a reason why XDM cannot boot into xmonad with "xmonad" in .xsession?

Offline

#2 2019-04-11 03:22:20

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: issue starting xmonad with XDM

Does launching xmonad from console work? Do you see any error output from any of the launch methods? Can you post the content of xinitrc and xsession?

Offline

#3 2019-04-11 06:52:03

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: issue starting xmonad with XDM

The system boots, but not into xmonad.

The system should initially start xdm, given you enabled the service. Logging in *there* should execute ~/.xsession
If that's not the case, please paste your copy of /etc/X11/xdm/Xsession

Offline

#4 2019-05-19 01:20:53

bassp
Member
Registered: 2019-04-11
Posts: 8

Re: issue starting xmonad with XDM

Yeah thanks for your suggestions. Running "xmonad" directly in console returns error cannot find /home/bassp/.xmonad/xmonad-86_64 somethig something. However I found a post about needing xmonad executable or symlink in the xdm display manager $PATH environment. How do I check where the xdm $PATH environment is?

Offline

#5 2019-05-19 06:25:49

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: issue starting xmonad with XDM

The error indicates that you have to write and build an xmonad config.

import XMonad
main = xmonad $ def 
  { modMask = mod4Mask,
    terminal = "termite"}

And then run `xmonad --recompile`

Change the terminal to your favorite one.
This will use the windows key as the mod key instead of Alt, since Alt conflicts with every app ever written.

Last edited by Mr.Elendig (2019-05-19 06:29:38)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB