VNCサーバーインストール
[root@falcon21 ~]# yum -y install tigervnc-server
VNCサーバー起動
[root@falcon21 ~]# vncserver :1
passwd :
New 'falcon21.space:1 (root)' desktop is falcon21.space:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/falcon21.space:1.log
-------
VNCサーバー設定
[root@falcon21 ~]# vi .vnc/xstartup
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec /etc/X11/xinit/xinitrc
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
gnome-session &
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim
export XMODIFIERS="@im=SCIM"
************************************************************