How to replace slim with gdm or sddm or other dm in GBSD 18.10

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
njue
Posts: 2
Joined: Fri Apr 13, 2018 12:20 pm
Has thanked: 0
Been thanked: 0

How to replace slim with gdm or sddm or other dm in GBSD 18.10

Post by njue » Fri Nov 02, 2018 1:33 pm

I am testing using GhostBSD in VirtualBox (EFI enabled) and I tried to replace slim with gdm, with repo changed to FreeBSD 12 current,referring to FreeBSD's hand book I installed gdm with pkg and add gdm_enable="YES" in /etc/rc.conf. There was no slim_enable="YES" orignally. However GhostBSD still boot straight to slim. And I tried with sddm and lightdm , GhostBSD boot straight to slim as well. Then after I removed slim, GhostBSD cannot boot into any dm configured in /etc/rc.conf, and a weird extra message showed after boot every time. The gdm can be started manually after text login, but the light dm not. The error message still remains after I re-install slim, and GhostBSD cannot boot to the new slim with the orginal /etc/rc.conf file (without slim_enable="YES")
The message is like the following:
* Starting xconfig ...

FreeBSD/amd64 (vbox.ghostbsd-pc.home) (ttyv0)

login: can't evaluate \_SB_.PCI0.GEX0.VGA_._DCS - AE_NOT_FOUND
(I always press Enter here then)
login:
(if Enter is not pressed, user name can also be directly typed then enter password and login)

User avatar
ericbsd
Developer
Posts: 1398
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 37 times
Been thanked: 46 times

Re: How to replace slim with gdm or sddm or other dm in GBSD 18.10

Post by ericbsd » Fri Nov 02, 2018 9:15 pm

GhostBSD uses OpenRC instead of the FreeBSD RC and to remove slim you have to use rc-update.

Code: Select all

rc-update delete slim default
To add GDM:

Code: Select all

rcupdate add gdm default

Post Reply