VNC on RHEL 8.6
Hi All,
I have a RHEL 8.6 server with GUI (GNOME). Can anyone help me with best way to setup VNC on this machine with XCFE.
I had setup VNC but when someone is logged in directly connected to the server I had issues getting black screen when connecting with VNC
For XCFE do I just add
cat xstartup
!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
/etc/X11/xinit/xinitrc
exec startxfce4
Or is there anything else I need to do in particular?
I have no issues with CentOS but struggling with RHEL 8.6
Any help is appreciated.