[CentOS] vnc on C7

Frank Cox theatre at melvilletheatre.com
Thu Jun 2 18:14:14 UTC 2016

On Thu, 2 Jun 2016 14:04:28 -0400
Jerry Geis wrote:

> I am using the MATE desktop if that makes a difference.

Here are my notes for getting vnc to work on Centos 7 with mate:


To start vncserver:
systemctl start vncserver at 1:service

to kill and restart the vnc server as a user:
vncserver -kill :1
vncserver :1

  To get mate to show up use the follow text in your

  ~.vnc/xstartup file:


# Uncomment the following two lines for normal desktop:
# exec /etc/X11/xinit/xinitrc

  [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
  [ -r HOME/.Xresources ] && xrdb HOME/.Xresources
  xsetroot -solid grey
  vncconfig -iconic &
  x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
  mate-session &

MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com

More information about the CentOS mailing list