Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2321053
  • 博文数量: 535
  • 博客积分: 8689
  • 博客等级: 中将
  • 技术积分: 7066
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-26 10:00
文章分类

全部博文(535)

文章存档

2024年(4)

2023年(4)

2022年(16)

2014年(90)

2013年(76)

2012年(125)

2011年(184)

2010年(37)

分类: LINUX

2012-07-01 10:26:53

还要启动GDM
启动命令是 gdm
然后netstat -anltp |grep 177





把gdm 文件复盖就可以了。。








 
    
 08-05-2007, 04:34 AM  #
xi_guadiy
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Rep: Reputation: 0
Xmanger "XDMCP connection failed" on Redhat AS 5.0
 
[ to get rid of this advertisement][ to get rid of this advertisement]
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!
Last edited by xi_guadiy; 08-05-2007 at 04:35 AM.
 
 08-05-2007, 11:31 PM  #
xi_guadiy
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Original Poster 
Rep: Reputation: 0
Does anyone can help me ?Many thanks~!
 
 02-22-2009, 10:00 PM  #
Mr.Metal
LQ Newbie
 
Registered: Sep 2007
Posts: 4

Rep: Reputation: 0
Exclamation
http://img502.imageshack.us/img502/1166/xmanager.jpg

Have the same issue, can any1 pls help me ?

Thanks
 
 08-07-2009, 09:22 AM  #
hijack204
LQ Newbie
 
Registered: May 2006
Posts: 13

Rep: Reputation: 0
Anyone been able to resolve this?
 
 08-11-2009, 10:57 AM  #
hijack204
LQ Newbie
 
Registered: May 2006
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by hijack204 
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.
 
 07-09-2010, 12:57 AM  #
harendra bisht
LQ Newbie
 
Registered: Jun 2010
Posts: 4

Rep: Reputation: 0
Unhappy 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 
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!


















阅读(5323) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~