Oracle Linux 6.5配置Xmanager

zr2095發表於2016-02-25

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:    

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部落格 ” ,連結:http://blog.itpub.net/30208428/viewspace-1994345/,如需轉載,請註明出處,否則將追究法律責任。

相關文章