リモートデスクトップ
VNCを使ってリモートデスクトップが使えます
# yum -y install tigervnc-server
# vi /etc/sysconfig/vncservers
VNCSERVERS="1:root" (port 5901でuserはroot)
VNCSERVERARGS[1]="-geometry 1024x768 -nolisten tcp"
# su - root
$ vncpasswd# VNC用パスワード設定
Password:
Verify:
$ su -
Password:
# /etc/rc.d/init.d/vncserver start
# vi /root/.vnc/xstartup
# 最終行:コメント化
#twm &
# 最終行に追記
LANG=ja_JP.UTF8
exec gnome-session &
# /etc/rc.d/init.d/vncserver restart
ファイヤーウォールの設定は変更すること
iptables # service iptables stop
# chkconfig iptables off
SELINUX 停止
vi /etc/sysconfig/selinux
SELINUX=disabled
---windows側
server 192.168.***.**:1 (port 5901)
password
---------------------------------
Fedora16の場合
# yum -y install tigervnc-server
# su - fedora # VNCを設定するユーザーに遷移
$ vncpasswd # VNC用パスワード設定
Password:# 入力
Verify:# 再入力
$ vncserver :1# 起動
[ホームページに戻る] [Linux(Fedora)に戻る]