`
baiguomeng
  • 浏览: 955357 次
文章分类
社区版块
存档分类
最新评论

Xmanager and VNS Config how-to

 
阅读更多
=*Debian & Xmanager*=

1.Install xdm

#apt-get install xdm

2.Edit /etc/X11/xdm/Xaccess
remove the "#" in front of the "*" which is followed by "any host can get a login windows"

3.Edit /etc/X11/xdm/xdm_config
comment out this line(add !):

Display Manager.Requestport 0

4.Edit /etc/inittab

Set the default runlevel to 5.

4.reboot

=*Set VNS*=

----Server----
1.Install vncserver

#apt-get install vncserver

2.Start vncserver

winters$vncserver -geometry 1024x768 -depth 24

3.If it's the first time run it, give the password required to access server in the future.

4.Close vncserver

winters$vncserver -kill :number

"number" is the session id.

----Client----
Connect to server.

Just input the IP address and session id:
xxx.xx.xx.xx:number
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics