cd /etc/ssh

vi sshd_config

修改:

PermitRootLogin yes

AuthorizedKeysFile ~/.ssh/authorized_keys2

 

/etc/rc.d/sshd restart

 

cd /usr/X11R6/NX/bin

./nxsetup --install

 

nxserver --adduser root

nxserver --adduser guest

nxserver --passwd root

nxserver --passwd guest

 

nxserver --terminate root

posted on 2010-01-21 13:17  saising  阅读(302)  评论(0)    收藏  举报