Today, I was going to install the oracle 11g on oracle Enterprise Linux 5.0 which was installed on vmserver, because the oracle 11g installation window can not shrink, so I was going to configure the Xmanager to connect the GUN desktop.
First, guarantee the run level as id:5:initdefault: with in the file /etc/inittab, if it is not, you should modify the run level.
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:
Second, edit the file /etc/gdm/custom.conf #the bold parameter should you add
[daemon]
[security]
DisallowTCP=yes
[xdmcp]
Enable=true
Port=177
[gui]
[security]
DisallowTCP=yes
[xdmcp]
Enable=true
Port=177
[gui]
Finally, if you open the firewall, you should open the port 177, if not, you do nothing. Reboot the system, of
#init3; init5