Linux unix 远程图形界面的访问
磁针石
联系方式:
QQ:37391319 gmail and gtalk: xurongzhong@gmail.com
备注... 1
Linux访问windows终端服务器... 1
Tsclient 1
Rdesktop. 1
windows访问linux
X桌面... 3
Redhat 3
SUSE. 3
SUSUE 使用xmanager来访问曾经成功过,但是还没有确实掌握,待以后深入
Linux访问windows终端服务器
参考资料:
Linux下用Tsclient和Rdesktop远程登录XP
http://linux.ccidnet.com/art/302/20070903/1198917_1.html
http://www.rdesktop.org/
http://freshmeat.net/projects/tsclient/
安装:
# rpm -ivh tsclient-0.132-4.i386.rpm
warning: tsclient-0.132-4.i386.rpm: V3 DSA signature: NOKEY, key ID
db42a60e
使用:
从开始菜单进入“internet”-> terminal server client. 在常规标签页,输入地址,协议:RDP,用户名等。
安装
# rpm -ivh rdesktop-1.3.1-5.i386.rpm
warning: rdesktop-1.3.1-5.i386.rpm: V3
DSA signature: NOKEY, key ID db42a60e
Preparing...
########################################### [100%]
1:rdesktop
########################################### [100%]
执行:
rdesktop -u
administrator -p 123456 -r sound:local 10.50.86.25
常用参数:
-u: user name
-d: domain
-s: shell
-c: working directory
-p: password (- to prompt)
-n: client hostname
-k: keyboard layout on server
(en-us, de, sv, etc.)
-g: desktop geometry (WxH)
-f: full-screen mode
-b: force bitmap updates
-L: local codepage
-A: enable SeamlessRDP mode
-B: use BackingStore of X-server
(if available)
-e: disable encryption (French
TS)
-E: disable encryption from
client to server
-m: do not send motion events
-C: use private colour map
-D: hide window manager
decorations
-K: keep window manager key
bindings
-S: caption button size (single
application mode)
-T: window title
-N: enable numlock
syncronization
-X: embed into another window
with a given id.
-a: connection colour depth
-z: enable rdp compression
-x: RDP5 experience (m[odem
28.8], b[roadband], l[an] or hex nr.)
-P: use persistent bitmap
caching
-r: enable specified device
redirection (this flag can be repeated)
使用redhat系列, 一般只需要修改以下,重启机器就可!
Open /etc/X11/gdm/gdm.conf file.
Go to the [xdmcp]section.
Set the value of "Enable" option to "1".
1. /etc/X11/xdm/Xaccess 文件,去掉这行的注释。
# * #any host can get a login windows
――变成
* #any host can get a login windows
2. /etc/X11/xdm/xdm-config 文件,注释掉这一样。
"Display Manager .Requestport 0"
3./etc/opt/gnome/gdm/gdm.conf文件,[xdmcp]部分,把Enable 改为 true 去掉#Port=177的注释,如果需要根用户登陆,打开AllowRemoteRoot=true
4. /etc/opt/kde3/share/config/kdm/kdmrc文件,[Xdmcp]部分,把enable 改为 true 去掉#Port=177的注释。估计只使用KDE界面。
5.检查 /etc/inittab 修改运行级别为5 (X11) ,如果为3的话,你看到的将不是桌面,而是命令行窗口。