You are not logged in.

#1 2012-07-25 23:24:03

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,372

[SOLVED] systemd, autofs and lxdm

OK, after recently migrating rc.conf to the more 'systemd' structure, but still using init I figured I'd give systemd another shot, and herein lies my problem.

According to the wiki there should already be units available for various DMs, though i only have xdm available. I've copied and modified the copied version for lxdm (well, not strictly correctly, I've modified it to start xfce the same way that my "old" style does, with ck-launch) but I just get dumped to a root desktop (which I can't log out of). What I want is the lxdm login. I'm pretty sure there's a bunch of stuff I've forgotten since I set this up, so how do I get systemd to launch lxdm to a login screen.

Second. I'm getting autofs errors at boot, and automounting isn't available.

Google has helped me not one jot (either lousy googling or lousy forum thread titles, not sure which) and I need to fix this too.

Not looking for a verbatim answer. Rather looking for links where I can get the why's and wherefore's. The Arch systemd wiki doesn't cover this (it assumed units present which are not).

I've installed the arch units already. Any pointers would be appreciated.

Last edited by Roken (2012-07-28 22:25:06)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#2 2012-07-26 11:09:20

nbvcxz
Member
From: Poland
Registered: 2007-12-29
Posts: 202

Re: [SOLVED] systemd, autofs and lxdm

lxdm package from Community contains usr/lib/systemd/system/lxdm.service
please check with

pacman -Ql lxdm

But if you can't

systemctl enable lxdm.service 

you can try manually symlink it

ln -s '/usr/lib/systemd/system/lxdm.service' '/etc/systemd/system/display-manager.service'

btw. in AUR pkgbuilds there are no lxdm.service at the moment, so you neet to copy it from community source files (best way)

Last edited by nbvcxz (2012-07-26 11:28:11)


Lenovo G50 | LXQT-git | compton | conky

Offline

#3 2012-07-26 11:23:04

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] systemd, autofs and lxdm

Roken wrote:

Second. I'm getting autofs errors at boot, and automounting isn't available.

Um, i think you can guess the next two questions. smile


ᶘ ᵒᴥᵒᶅ

Offline

#4 2012-07-28 22:24:41

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,372

Re: [SOLVED] systemd, autofs and lxdm

Thank you - I had the service for lxdm set up wrong and got it working.

As for the autofs errors, it was a kernel .config error on my part - also now fixed.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

Board footer

Powered by FluxBB