[CentOS] vnc on C7

Wed Jul 13 16:10:38 UTC 2016
koenigsohn <ulrich.koenig at telekom.de>

Hi Jerry,

I done a lot of search in google. Than I find your post, but without success
for my problem.

I have add your xstartup file. But I can't get it working with this
One problem is, that I can't find the x-terminal-emulator on my machine.

Which package must I install for x-terminal-emulator in CentOS7 ?

Maybe you can have a look at my logfile and my configuration for additional

I am happy for any kind of feedback.


**************** *devtest1:4.log* **************************
Xvnc TigerVNC 1.3.1 - built Mar 31 2016 16:34:53
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11702000, The X.Org Foundation

Wed Jul 13 15:49:53 2016
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5904
 vncext:      created VNC server for screen 0
No protocol specified
/usr/bin/vncconfig: unable to open display ":4"
No protocol specified
xsetroot:  unable to open display ':4'
/home/ulkoenig/.vnc/xstartup: line 12: x-terminal-emulator: command not
No protocol specified
vncconfig: unable to open display ":4"
No protocol specified

** (mate-session:2597): WARNING **: Could not open X display
No protocol specified

** (mate-session:2597): WARNING **: Cannot open display: 

*The xstartup file is here*
********************** xstartup *************************

# 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 &

*The vncserver.service file is here*
************************ /etc/systemd/system/vncserver@:4.service

Description=Remote desktop service (VNC)
After=syslog.target network.target

# Clean any existing files in /tmp/.X11-unix environment
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/usr/sbin/runuser -l ulkoenig -c "/usr/bin/vncserver %i -geometry
ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'


View this message in context: http://centos.1050465.n5.nabble.com/CentOS-vnc-on-C7-tp5743554p5744086.html
Sent from the CentOS mailing list archive at Nabble.com.