FastX displays a black screen on Ubuntu
In the latest version of Ubuntu, Wayland is the default communication protocol in which FastX does not support.
Solution
Disable Wayland on Ubuntu
- Locate the correct configuration file for your OS. This is one of /etc/gdm3/custom.conf (Ubuntu) or /etc/gdm/custom.conf (CentOS/RHEL)
- Open the file with sudo/root privileges
- Uncomment WaylandEnable=false by deleting the # at the beginning of the line
- Alternatively, run the below commandsudo sed -i ‘s/^#.*WaylandEnable=.*/WaylandEnable=false/’ /etc/gdm3/custom.conf #Ubuntu
sudo sed -i ‘s/^#.*WaylandEnable=.*/WaylandEnable=false/’ /etc/gdm/custom.conf #CentOS/RHEL
- Alternatively, run the below commandsudo sed -i ‘s/^#.*WaylandEnable=.*/WaylandEnable=false/’ /etc/gdm3/custom.conf #Ubuntu
- Reboot