How do I get LightDM to work in FreeBSD 13? reddit / freebsd ---------------------------------------------------------------------- Royaourt · 2022-04-24 11:41 Hi. I installed the lightdm package. Then `nano /etc/rc.conf` and added `lightdm_enable="YES"` This didn't work. This did work for SLiM: `slim_enable="YES"` ---------------------------------------------------------------------- absolutamentebacana · 2022-04-24 12:19 Try lightdm_enable=“YES” ---------------------------------------------------------------------- Royaourt · 2022-04-24 13:21 Hi. Sorry, I did a typo \[fixed since\] in my opening post. I tried that already. ---------------------------------------------------------------------- Royaourt · 2022-04-24 13:22 In SLiM, I can't auto-login as there's no /etc/slim.conf file. ---------------------------------------------------------------------- two-horned · 2022-04-24 13:35 Did you try using ```service``` ? Just run ```service lightdm enable``` or ```service lightdm start```. If you enable lightdm that way it writes an entry in /etc/rc.conf automatically. ---------------------------------------------------------------------- Royaourt · 2022-04-24 14:00 Hi. I did that and rebooted. I get a CLI login and entered `startx`. No LightDM. Hmm. ---------------------------------------------------------------------- absolutamentebacana · 2022-04-24 14:00 Did you alsko install lightdm-gtk-greeter? I think this is required. Install lightdm-gtk-greeter-settings to enable editing lightdm settings. ---------------------------------------------------------------------- reddit_original · 2022-04-24 14:11 What's in your .xinitrc? Were you following the Handbook? (I'm betting no) ---------------------------------------------------------------------- Royaourt · 2022-04-24 14:13 `exec mate-session` ---------------------------------------------------------------------- Royaourt · 2022-04-24 14:13 >install lightdm-gtk-greeter That did it! Kudos! :-) ---------------------------------------------------------------------- Daedalus312 · 2022-04-24 16:31 `/usr/local/etc/slim.conf` Don't forget that this is FreeBSD, not Linux. There's a different directory structure here. ---------------------------------------------------------------------- Royaourt · 2022-04-24 17:38 Thanks, auto login works now. :-) ---------------------------------------------------------------------- Royaourt · 2022-04-24 17:42 `/usr/local/etc/lightdm/lightdm.conf` Thanks, guys. ---------------------------------------------------------------------- idude0407 · 2023-08-02 13:36 You should not need an .xinitrc if you're running lightdm ---------------------------------------------------------------------- Royaourt · 2023-08-02 14:42 Ok, tu. :-) ---------------------------------------------------------------------- suchipi · 2023-09-17 02:07 I had a similar problem and the solution was to install the \`xorg\` package. I thought my desktop environment (cinnamon) would depend on it but it seems it didn't. ---------------------------------------------------------------------- Royaourt · 2023-09-17 08:30 I see, thanks. :-)