ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Oracle Linux 6.5配置Xmanager

Oracle Linux 6.5配置Xmanager

原创 Linux操作系统 作者:zr2095 时间:2016-02-25 12:47:57 0 删除 编辑

Oracle Linux 6.5配置xmanager

在xmanager下配置远程Oracle linux 6.5连接,遇到了一些问题。

1.没有/etc/X11/xdm/xdm-config文件

这个是因为缺少 xorg-x11-xdm包,用yum进行安装

[root@11grac1 Server]# yum install xorg-x11-xdm
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
You can use up2date --register to register.
ULN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-xdm.x86_64 1:1.0.5-7.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================
 Package                        Arch                     Version                          Repository             Size
======================================================================================================================
Installing:
 xorg-x11-xdm                   x86_64                   1:1.0.5-7.el5                    el5                   122 k

Transaction Summary
======================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 122 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : xorg-x11-xdm                                                                                   1/1

Installed:
  xorg-x11-xdm.x86_64 1:1.0.5-7.el5                                                                                  

Complete!

配置步骤如下:

1.vi /etc/inittab

id:5:initdefault:

2.vi /etc/gdm/custom.conf

[security]
AllowRoot=true
AllowRemoteRoot=true

[xdmcp]
Enable=true
Port=177

3.vi /etc/X11/xdm/xdm-config

!DisplayManager.requestPort:    0 

4.vi /etc/X11/xdm/Xaccess

去掉前面的#

#*                                       #any host can get a login window

#*               CHOOSER BROADCAST       #any indirect host can get a chooser

5.关闭防火墙

6.DISPLAY=192.168.1.222:3

7.使用Xmanager连接数据库,可以正常使用。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30208428/viewspace-1994345/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: scan ip的手动切换
请登录后发表评论 登录
全部评论

注册时间:2015-04-15

  • 博文量
    163
  • 访问量
    468351