Xfce is a lightweight desktop environment and it's a good choice as a GUI for servers running Centos 7 . It can be installed by using the following command :
yum groupinstall "Xfce" -y
However Xfce does not start properly with RealVNC on Centos 7. The following commands are needed to fix the problem according to RealVNC website :
Create a file called /etc/vnc/xstartup.custom and make it executable (chmod +x) with the following content :
#!/bin/sh
DESKTOP_SESSION=xfce
export DESKTOP_SESSION
startxfce4
vncserver-virtual -kill $DISPLAY
Create another file called /etc/vnc/config.custom and add the following commands :
-extension RENDER
and finally use this guide to fix "xfce GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: User of caller and user of subject differs." error on xfce startup.
No comments:
Post a Comment