Chinaunix首页 | 论坛 | 博客
  • 博客访问: 986819
  • 博文数量: 195
  • 博客积分: 4890
  • 博客等级: 上校
  • 技术积分: 2221
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-09 15:34
文章分类

全部博文(195)

文章存档

2014年(1)

2013年(8)

2012年(22)

2011年(9)

2010年(54)

2009年(101)

我的朋友

分类: LINUX

2012-10-16 10:07:51

Xmanager Enterprise 4 远程图形登入CENTOS 5.8
软件使用协议  XDMCP(X Display Manager Control Protocol)X显示监控协议

1. 服务器端配置:

1).  编辑文件:/usr/share/gdm/defaults.conf  (centos5.8系统没有此文件  /etc/gdm/custom.conf 以下几行配置均为 /etc/gdm/custom.conf 文件需要添加的)

[xdmcp]

Enable=true

DisplaysPerHost=5

Port=177

[security]

AllowRemoteRoot=true

vim /usr/share/gdm/defaults.conf 修改配置文件 行数如下
214行   AllowRemoteRoot=true
263行   Enable=true
279行 DisplaysPerHost=2
284行 Port=177

2). 启动gpm服务:

service gpm restart

chkconfig  gpm on   确认GPM服务开机启动

 

3). 编辑文件: /etc/inittab

id:5:initdefault:  把级别改设成级别5

必须确保当前系统是在桌面环境下才行,否则命令行界面重启gpm服务 177端口不会打开


3. 开通防火墙 177 UDP端口

iptables  -A  INPUT  -p udp   -s    0/0    -d  0/0    --dport    177    -j ACCEPT

也可以将防火墙关闭

service iptables stop


2. 客户端配置:

     下载: 

     下载完后正常安装即可

     打开Xbrowser


    



PS:gpm和gdm

[root@CentOS5 etc]# yum info gpm

Loaded plugins: fastestmirror, security

Loading mirror speeds from cached hostfile

Installed Packages

Name       : gpm

Arch       : i386

Version    : 1.20.1

Release    : 74.1

Size       : 306 k

Repo       : installed

Summary    : A mouse server for the Linux console.

License    : GPL

Description: Gpm provides mouse support to text-based Linux applications like the

           : Emacs editor and the Midnight Commander file management system.  Gpm

           : also provides console cut-and-paste operations using the mouse and

           : includes a program to allow pop-up menus to appear at the click of a

           : mouse button.


[root@CentOS5 etc]# yum info gdm

Loaded plugins: fastestmirror, security

Loading mirror speeds from cached hostfile

Installed Packages

Name       : gdm

Arch       : i386

Epoch      : 1

Version    : 2.16.0

Release    : 59.el5.centos

Size       : 11 M

Repo       : installed

Summary    : The GNOME Display Manager.

URL        : ftp://ftp.gnome.org/pub/GNOME/sources/gdm

License    : LGPL/GPL

Description: Gdm (the GNOME Display Manager) is a highly configurable

           : reimplementation of xdm, the X Display Manager. Gdm allows you to log

           : into your system with the X Window System running and supports running

           : several different X sessions on your local machine at the same time.

阅读(2435) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~