VNC Centos 6.0 Afdrukken
Geschreven door Administrator   
maandag, 06 februari 2012 22:52

 

VNC voor Centos 6.x

yum install tigervnc-server -y
vncpasswd
vncserver :1
vnserver -kill :1
yum groupinstall “X Window System” “GNOME Desktop Environment” -y
yum install xterm -t -y
yum groupinstall "Desktop" "X Window System" -y
yum groupinstall "Fonts" -y
yum install gnome-system-* -y

 

 

 

xtartup file bevat:

#!/bin/sh
# Add the following line to ensure you always have an xterm available.
( while true ; do xterm ; done ) &
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

 

Laatst aangepast op maandag, 06 februari 2012 23:02