CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - General Support
  Problem with XDMCP at Centos 6.x x64 (6.3 included)

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  toracat
      toracat
Re: Problem with XDMCP at Centos 6.x x64 (6.3 included)
#8
Moderator
Joined: 2006/9/3
From California, US
Posts: 6917
Quote:

draker wrote:
Now what I would really like to know is how to disable the console X server on CentOS 6?

Please do not hijack other's thread. Instead, start a new one. If necessary, you can quote this thread for reference.
_________________
Useful links: Search Forums, Forum FAQ
Posted on: 2012/11/9 6:31
Create PDF from Post Print
Top
  •  toracat
      toracat
Re: Problem with XDMCP at Centos 6.x x64 (6.3 included)
#7
Moderator
Joined: 2006/9/3
From California, US
Posts: 6917
Quote:

draker wrote:

I registered for this site just so I could scold you for your attitude. When I started using Linux the attitude was "Cool, how did you do that? Will you help me do that? Thanks!"
Now the attitude is "Why are you trying to do that? You shouldn't do that. You should do this instead". Terrible.

I am not certain what you are referring to by "attitude". If I got to the original question before pschaff did, I would have given the same suggestion. In his helpful response, he was not forcing the OP to do anything. His advice was quite appropriate and indeed provided possible solutions.
_________________
Useful links: Search Forums, Forum FAQ
Posted on: 2012/11/9 6:28
Create PDF from Post Print
Top
  •  draker
      draker
Re: Problem with XDMCP at Centos 6.x x64 (6.3 included)
#6
Newbie
Joined: 2012/11/9
From
Posts: 2
Now what I would really like to know is how to disable the console X server on CentOS 6?

On CentOS 5 I could put '--no-console at the end of the prefdm line in /etcinittab.

I can do the same in CentOS 6 by editing /etc/init/prefdm.conf, but alas, gdm has lost the ability to understand that option.
As a result, it starts Xorg on my server five times before it gives up.

I would RTFM but gdm doesn't even have a man page on CentOS 6 anymore. Is it just me, or does the contempt the gdm developers have for regular users know no bounds?
Posted on: 2012/11/9 3:35
Create PDF from Post Print
Top
  •  draker
      draker
Re: Problem with XDMCP at Centos 6.x x64 (6.3 included)
#5
Newbie
Joined: 2012/11/9
From
Posts: 2
Quote:

pschaff wrote:
A forum search will turn up some similar problems, but I don't know a direct solution. Running a display manager remotely is generally not a good idea. If running an X server, then running a display manager locally on the X server system, and just starting X applications on the remote system is usually preferable for performance reasons. Another approach is to forget the local X server and use VNC or NX/FreeNX.


I registered for this site just so I could scold you for your attitude. When I started using Linux the attitude was "Cool, how did you do that? Will you help me do that? Thanks!"
Now the attitude is "Why are you trying to do that? You shouldn't do that. You should do this instead". Terrible.

There are plenty of reasons to run XDMCP, the one I've been struggling with lately is for use with SunRay thinclients. Flatly saying that it's "not a good idea" is not helpful. A reminder of the pitfalls (e.g. in the clear authentication) would be better.

From my perspective, gdm is just the wrong tool for the job. I'm not sure what it is good for, but it seems like xdm with all the best features disabled and an intentionally obfuscated configuration syntax. If the SunRays didn't expect gdm explicity I would have given up on it ages ago.

Best of luck with the original project...

Edit:
Oh -- I found the answer here: http://www.se.cuhk.edu.hk/~hmleung/wordpress/?p=1278
In short, make sure you have:

[greeter]
IncludeAll=true

(or =false, it controls who shows up on the user list).
Posted on: 2012/11/9 3:17
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Problem with XDMCP at Centos 6.x x64 (6.3 included)
#4
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
A forum search will turn up some similar problems, but I don't know a direct solution. Running a display manager remotely is generally not a good idea. If running an X server, then running a display manager locally on the X server system, and just starting X applications on the remote system is usually preferable for performance reasons. Another approach is to forget the local X server and use VNC or NX/FreeNX.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/7/12 13:42
Create PDF from Post Print
Top
  •  georgeb
      georgeb
Re: Problem with XDMCP at Centos 6.x x64 (6.3 included)
#3
Newbie
Joined: 2012/7/11
From
Posts: 2
I am trying to connect from windows to Centos 6.3 x64. I have tried two x-servers for windows, x-ming and netsarang, so far with no success.
I also tried from an ubuntu box again with no success.
The default GDM configuration is just an empty template file , with xdmcp disabled.
The same config with centos 6 x86 works fine. At /var/log/greeter there are messages like

** (<unknown>:2452): DEBUG: Client registered with session manager: /org/gnome/SessionManager/Client1
** (process:2468): DEBUG: Greeter session pid=2468 display=:0.0 xauthority=/var/run/gdm/auth-for-gdm-V7h04k/database

(polkit-gnome-authentication-agent-1:2464): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'

(polkit-gnome-authentication-agent-1:2464): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
Failed to play sound: File or data not found
gdm-simple-greeter[2468]: Gtk-WARNING: gtkwidget.c:5460: widget not within a GtkWindow
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1e0002b (Login Wind)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Posted on: 2012/7/11 22:27
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Problem with XDMCP at Centos 6.x x64 (6.3 included)
#2
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

You have not provided enough information. Are you attempting a remote connection or local? Exactly what problems are you having, including the environment on which the X server is running, and any error messages? Why did you change the default GDM configuration?
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/7/11 15:50
Create PDF from Post Print
Top
  •  georgeb
      georgeb
Problem with XDMCP at Centos 6.x x64 (6.3 included)
#1
Newbie
Joined: 2012/7/11
From
Posts: 2
I have problem connect to my Centos 6.x x64 machines using a x server. This was never an issue with 5.x. Please help.
I have disable firewall, and my /etc/gdm/custom.conf is like

[xdmcp]
Enable=true
DisplaysPerHost=10
HonorIndirect=false
MaxPending=4
MaxSessions=32
MaxWait=30
MaxWaitIndirect=30
Port=177

[daemon]
User=gdm
Group=gdm

[security]
DisallowTCP=false
AllowRemoteRoot=true

[chooser]
Multicast=false

[debug]
Enable=false
Posted on: 2012/7/11 7:33
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You cannot view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com