LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Xmanger "XDMCP connection failed" on Redhat AS 5.0 (https://www.linuxquestions.org/questions/linux-server-73/xmanger-xdmcp-connection-failed-on-redhat-as-5-0-a-574818/)

xi_guadiy 08-05-2007 04:34 AM

Xmanger "XDMCP connection failed" on Redhat AS 5.0
 
Xmanger "XDMCP connection failed" on my Redhat AS 5.0

Hi All,


i config linux step by step with the following way provide by

Netsarang

For XDMCP connection to Red Hat 5 EL
1. XDM Configuration
1. Change runlevel to 5

Open/etc/inittab and set the initial runlevel to 5 as following:
id:5:initdefault:

2. Enable XDMCP

For GDM:

Open /etc/gdm/custom.conf and set the Enable entry to 1 in the [xdmcp] section as following.
[xdmcp]
Enable=1

For KDM:

Open /usr/share/config/kdm/Xaccess and remove the initial "#" character for the following line:
#* #any host can get a login window ==>
* #any host can get a login window
Open /usr/share/config/kdm/kdmrc and set the Enable entry to true in the [xdmcp] section as following.
[xdmcp]
Enable=true


2. Firewall (TCP/UDP Ports) Configuration
Open UDP port 177 from the PC to the remote host direction.
Open incoming TCP ports 6000~6010 from the remote host to your PC.
3. Reboot the remote host and start Xmanager
# init 3; init 5


But when i I use Xmanager connect to Redhat As 5.0,

i got the error "XDMCP connection failed,try again?"

Environment and status:

[root@SQL-Server /]# gdm
GDM already running

[root@SQL-Server /]# netstat -an | grep 177
udp 0 0 0.0.0.0:177 0.0.0.0:*

[root@SQL-Server /]# cat /var/log/gdm/\:0.log

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.9-42.ELsmp i686 Red Hat, Inc.
Current Operating System: Linux SQL-Server 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686
Build Date: 09 January 2007
Build ID: xorg-x11-server 1.1.1-48.13.el5
Before reporting problems, check wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 6 15:22:22 2007
(==) Using config file: "/etc/X11/xorg.conf"
AUDIT: Mon Aug 6 16:06:22 2007: 2761 Xorg: client 4 rejected from local host
Auth name: MIT-MAGIC-COOKIE-1 ID: -1


P.s i turned off iptables on linux,and i am i newbie of Linux,any advice should be appreciate!

xi_guadiy 08-05-2007 11:31 PM

Does anyone can help me ?Many thanks~!

Mr.Metal 02-22-2009 10:00 PM

http://img502.imageshack.us/img502/1166/xmanager.jpg

Have the same issue, can any1 pls help me ?

Thanks

hijack204 08-07-2009 09:22 AM

Anyone been able to resolve this?

hijack204 08-11-2009 10:57 AM

Quote:

Originally Posted by hijack204 (Post 3634802)
Anyone been able to resolve this?


Resolved.. I needed to add this:


1. Edit the /etc/sysconfig/desktop file to define GNOME as the X desktop environment that loads on connection.
1. Open the /etc/sysconfig/desktop file.
2. Locate the DESKTOP= entry. Note: The entry may need to be created and it is case sensitive.

Change this setting to: DESKTOP="GNOME"

3. Save the file.

harendra bisht 07-09-2010 12:57 AM

not connected linux machine xdmcp connection failed. try again?
 
hi all i have same problem
what should i do
i follow these rule allready

Quote:

Originally Posted by xi_guadiy (Post 2848459)
Xmanger "XDMCP connection failed" on my Redhat AS 5.0

Hi All,


i config linux step by step with the following way provide by

Netsarang

For XDMCP connection to Red Hat 5 EL
1. XDM Configuration
1. Change runlevel to 5

Open/etc/inittab and set the initial runlevel to 5 as following:
id:5:initdefault:

2. Enable XDMCP

For GDM:

Open /etc/gdm/custom.conf and set the Enable entry to 1 in the [xdmcp] section as following.
[xdmcp]
Enable=1

For KDM:

Open /usr/share/config/kdm/Xaccess and remove the initial "#" character for the following line:
#* #any host can get a login window ==>
* #any host can get a login window
Open /usr/share/config/kdm/kdmrc and set the Enable entry to true in the [xdmcp] section as following.
[xdmcp]
Enable=true


2. Firewall (TCP/UDP Ports) Configuration
Open UDP port 177 from the PC to the remote host direction.
Open incoming TCP ports 6000~6010 from the remote host to your PC.
3. Reboot the remote host and start Xmanager
# init 3; init 5


But when i I use Xmanager connect to Redhat As 5.0,

i got the error "XDMCP connection failed,try again?"

Environment and status:

[root@SQL-Server /]# gdm
GDM already running

[root@SQL-Server /]# netstat -an | grep 177
udp 0 0 0.0.0.0:177 0.0.0.0:*

[root@SQL-Server /]# cat /var/log/gdm/\:0.log

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.9-42.ELsmp i686 Red Hat, Inc.
Current Operating System: Linux SQL-Server 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686
Build Date: 09 January 2007
Build ID: xorg-x11-server 1.1.1-48.13.el5
Before reporting problems, check wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 6 15:22:22 2007
(==) Using config file: "/etc/X11/xorg.conf"
AUDIT: Mon Aug 6 16:06:22 2007: 2761 Xorg: client 4 rejected from local host
Auth name: MIT-MAGIC-COOKIE-1 ID: -1


P.s i turned off iptables on linux,and i am i newbie of Linux,any advice should be appreciate!



All times are GMT -5. The time now is 05:10 PM.