sudo rpm -ivh http://download.Fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
yum search xfce
yum groupinfo xfce
yum groupinstall xfce
//-----------------------------------
安裝freenx
yum install freenx
/usr/bin/nxsetup --install
vi /etc/nxserver/node.conf
ENABLE_PASSDB_AUTHENTICATION="1"
加入登入帳號 sudo nxserver --adduser neo sudo nxserver --passwd neo
sudo /usr/lib/nx/nxsetup --install --setup-nomachine-key
sudo nxserver --restart
查看nxserver狀態 sudo nxserver --status
刪除原有session ps -ef|grep nxagent 看到/usr/bin/nxagent -persistent -D -name NX - 使用者@hostname...的ID_number sudo kill nxagent的ID_number
windows nx client部份: 把/var/lib/nxserver/home/.ssh/client.id_dsa.key下載到windows 在General->Server->Key... 匯入dsa_key import client.id_dsa.key
General->Desktop->Settings->Application->Run the following command
打上
/usr/bin/startxfce4
General->Desktop->Settings->Options
選New Virtual Desktop
沒有留言:
張貼留言