To ensure the operation of features such as single sign-on for a RHEL 8.x desktop, use the realmd solution to join the RHEL 8.x virtual machine to your Active Directory (AD) domain.
Procedure
-
Configure a fully qualified host name for the RHEL 8.x virtual machine (VM).
For example, if
rhel8is the unqualified host name of the VM andLXD.VDIis the AD domain, run the following command.sudo hostnamectl set-hostname rhel8.lxd.vdi -
Verify the network connection with the AD domain, as shown in the following example.
sudo realm discover -vvv LXD.VDI -
Install the required dependency packages, as shown in the following example.
sudo dnf install -y sssd adcli samba-common-tools oddjob oddjob-mkhomedir -
Join the AD domain, as shown in the following example.
sudo realm join -U Administrator LXD.VDI -
Edit the
/etc/sssd/sssd.confso that it resembles the following example. Add the appropriatead_gpo_map_interactiveunder the [domain/domain name] section. -
To ensure that the domain-join takes effect, restart the VM and log back in.
-
Verify that the domain users are configured correctly. The following example shows how to use the
idcommand to return the configuration output from domain userzyc1.id zyc1 uid=1084401403(zyc1) gid=1084400513(domain users) groups=1084400513(domain users) -
Using the credentials of a domain user, verify that you can successfully log in to the VM.
Note: Horizon Agent only supports the X11 display server protocol for RHEL 8.x desktops.
Was this page helpful?