文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>linux和window远程桌面访问方法

linux和window远程桌面访问方法

时间:2007-03-23  来源:ly_cyz

一.windows 访问Linux(VNC,X)
vnc方式:
 1.确认安装包
 #rpm -qa |grep vnc
 vnc-4.0-0.beta4.1.4
 vnc-server-4.0-0.beta4.1.4
 2.启动并初始Vncserver登陆密码 

 #vncserver
 You will require a password to access your desktops.

 Password:
 Verify:

 New 'itrus-Test:6 (root)' desktop is itrus-Test:6

 Starting applications specified in /root/.vnc/xstartup
 Log file is /root/.vnc/itrus-Test:6.log

 3.在windows启动vncviewer

 vncserver中填: itrus-Test:6

X方式:

 1. vi /etc/services                     # 确保xdmcp端口打开

  xdmcp           177/tcp                # X Display Mgr. Control Proto
  xdmcp           177/udp

 2. vi /etc/X11/gdm/gdm.conf             # 启用xdmcp服务

 [xdmcp]

 将Enable=false或Enable=0

   Enable=true或Enable=1

 3.重起机器生效,用X-win32或X-manger登陆即可.

 

二.Linux远程访问windows(rdesktop)

1.下载rdesktop

http://rpmfind.net/linux/rpm2html/search.php?query=rdesktop&submit=Search+...&system=&arch=

2.连接windows机器:

#rdesktop -f -a 16 -u test -p passwd 192.168.20.253

更多参数:

-f 全屏
-a 16位色
注意:退出选择注销,而不是关机
-u xxxxxx 登录用户,可选
-p xxxxxx 登录密码,可选
-r clipboard:PRIMARYCLIPBOARD 重要,剪贴板可以与远程桌面交互
-a 16 颜色,可选,不过最高就是16位
-z 压缩,可选
-g 1024x768 分辨率,可选,缺省是一种比当前本地桌面低的分辨率
-P 缓冲,可选
-r disk:wj=/home/magicgod 映射虚拟盘,可选,会在远程机器的网上邻居里虚拟出一个映射盘,功能很强,甚至可以是软盘或光盘
-r sound:off 关闭声音,当然也可以把远程发的声音映射到本地来。

 

 

 

 


 

相关阅读 更多 +
排行榜 更多 +
巴士模拟器

巴士模拟器

体育竞技 下载
长途旅行驾驶

长途旅行驾驶

体育竞技 下载
喜乐天气

喜乐天气

生活实用 下载