linux 远程桌面---xmanager

linux服务器端设置



所需软件包

[root@localhost ~]# rpm -qa | grep xdm

xorg-x11-xdm-1.1.6-14.1.el6.x86_64

[root@localhost ~]# rpm -qa | grep gdm

gdm-2.30.4-39.el6.x86_64

gdm-user-switch-applet-2.30.4-39.el6.x86_64

pulseaudio-gdm-hooks-0.9.21-14.el6_3.x86_64

gdm-plugin-fingerprint-2.30.4-39.el6.x86_64

gdm-libs-2.30.4-39.el6.x86_64


1. 修改/etc/inittab,改变runlevel5,例如
[root@QRedHat etc]# cat /etc/inittab
......
id:5:initdefault:
......

改为5级别方式运行linux
root@localhost ~]# cat /etc/gdm/custom.conf

# GDMconfiguration storage

[daemon]

[security]

AllowRemoteRoot=true

[xdmcp]

Port=177

Enable=ture

[greeter]

[chooser]

[debug]

在相应位置添加红色行再  /wq保存。重启即可。


3.
修改/etc/X11/xdm/xdm-config文件,将DisplayManager.requestPort: 0注释掉,例如
[root@QRedHat etc]# cat/etc/X11/xdm/xdm-config
......
! SECURITY: do not listen for XDMCP or Chooserrequests
! Comment out this line if you want to manageX terminals with xdm
! DisplayManager.requestPort:   0

不屏蔽改为屏蔽
4.
修改/etc/X11/xdm/Xaccess文件,例如,
[root@QRedHat etc]# cat /etc/X11/xdm/Xaccess
......
*                                     #any host can get a login window
......
*              CHOOSER BROADCAST       #any indirecthost can get a chooser


5  启动服务 [root@QRedHat etc]#  xdm

6 windows 环境: 选择xmanager下的xbrower  ,配置如下

wKioL1NwbfPxOd2LAAK2JqlYWX4354.jpg







你可能感兴趣的:(linux,服务器,Xmanager,远程桌面,软件包)