xdmcp with rh 8.0
Results 1 to 4 of 4

Thread: xdmcp with rh 8.0

  1. #1
    Senior Member
    Join Date
    Dec 2002
    Posts
    144

    xdmcp with rh 8.0

    hi i am trying to setup xdmcp on rh 8.0 with x-win32 on XP..
    can someone tell mi how to config the linux to open UDP 177?
    i have read some web pages on configuring the xdmcp.. however it did not work.. i still cannot connect to the linux box with x-win32 5.4.. i can telnet over to the linux but not xdmcp.. pls help
    BlAcKiE
    GearBlitz

  2. #2
    Senior Member
    Join Date
    Dec 2002
    Posts
    144
    anyone?
    BlAcKiE
    GearBlitz

  3. #3
    Banned
    Join Date
    Apr 2003
    Posts
    3,839
    Im sorry i don't know that much about *Nix but since anybody didn't reply this might help.

    Rand I recently installed Red Hat Linux 8.0 on my second machine at work. On my Windows computer, I use Hummingbird Exceed in XDMCP Broadcast mode to connect to other UNIX machines, and it is very convenient. But I can't connect to my Linux machine. I entered the IP address in Exceed's xdmcp.txt file, but it does not show up in the list of available servers when I start Exceed. What configuration do I have to on the Linux side to allow Exceed to connect using XDMCP?
    MikeyCarter You need to edit the file /etc/X11/gdm.conf or /etc/X11/xdm/kdmrc.

    Change the

    [xdmcp]
    Enable=True


    Second make sure the /etc/X11/xdm/Xaccess has:

    * CHOOSER BROADCAST

    [url]http://www.linux.org/docs/ldp/howto/mini/XDM-Xterm/config.html[/url
    SparceMatrix One of the many joys of using Linux and computing in general is being able to control another computer over a network. Remote desktop functionality existed in Windows 98 SE and exists now in XP Pro. But I've never seen anything as completely transparent as being able to run a piece of software on another computer in my LAN with the GUI showing up on my local unit like you can in Linux. I used to use kdessh (I think that is the command) to start up kppp on another machine that had my modem connection to the internet and get the graphical interface on the other computer I was sitting at. I could then use that little traffic monitor to see how my connection was going.

    But the ultimate would be to get an entire desktop for that other machine on the computer I was sitting at. I think this is the basic mission of the X Windows system and its open source implementation in XFree86. I have yet to get even a clue as to where to start or even if it is possible as I imagine.

    Now in Red Hat 8.0 there is a tab in the GUI Login manager; -> Systems Settings -> Login Screen; that is for XDMCP. I've done some searching and found a HOWTO on it here: http://www.tldp.org/HOWTO/XDMCP-HOWTO/. It sounds like some way of getting your login window to provide with prompts to log in to another computer on a network using a complete desktop. But even with the few HOWTOs I've read and applied, I have yet to see a prompt to do this on my own system.

    Has anyone ever successfully managed to create a login window for remote systems using the XDMCP technology? Is it actually possible? How do you do it?

    Any and all tips and clues would be appreciated.
    AltF4 XDMCP is useful to send a X11 login/session to an otherwise "unamanaged" X-server (e.g. X-Terminal, X-Emulator, ... )

    in your case you already have a window manager running on your server, so you just need to log on yout target machine (ssh/telnet), set the $DISPLAY shell variable and start any program you need.
    SparceMatrix But what about this posed relationship with the graphical login display? Something should be happening there. In fact, you can configure the login display so that you can choose to configure it from that login point. To me that means that somehow you can login to a desktop from the graphical login and not just some piece of software with an X display. And, it sounds like you should be able to choose which machine to log into from the graphical login window.
    SlickWilly >it sounds like you should be able to choose which machine to log into from the graphical login window

    It is indeed...

    XDMCP is basically a method of 'broadcasting' the availability of a desktop able to be 'logged into' across a network. When you run XDMCP on a machine it allows you to 'load up the desktop' of that machine on another. It's very similar, in that regard, to the remote desktop function of Windows XP / terminal server.

    The reason for the tie with the graphical manager, is precisely because you're logging into a *desktop* rather than just an X-windows application. The desktop is responsible for um.. presenting the desktop.

    That doesn't mean, though, that you can't login to a Gnome desktop from a KDE desktop. You can, it just means that if you have a Gnome desktop advertising itself over XDMCP that's what you'll get when you connect to it.

    Now, here's the rub. It's kinda hard to set up. It's also inherently insecure. And it's hard to set up *because* it's insecure, and comes turned off in Redhat by default. To turn it on you have to xauth machines you want to use to connect to your desktop on the server.

    You can do that most insecurely by running xhost+ on your server, which will allow *any* machine to connect. Read up on xhost.

    You'll also need to unblock port 6000 (xwindows) to allow the Xwindows traffic to and from the serving machine - again, something that's most often turned *off* on various firewalls - X is a very insecure protocol.

    You'll need to run um.. xdmcpd.. I think it is, to do the broadcasting on your network and allow the machine to be seen from your chooser.

    When you're finally done you should be able to choose your machine from your login prompt there, and see your serving machine as a choice, pick that and you get a desktop on *that* machine (albeit a slow one).

    I have it working, but not on a linux machine, on an HPUX machine (running Ximian's Gnome desktop) which I manage from a Linux box.

    Slick.
    If you want to browse through the list yourself if you didn't alredy find this lik here you go: http://www.linuxquestions.org/questi...ve/3/2003/04/2

  4. #4
    Senior Member
    Join Date
    Dec 2002
    Posts
    144
    thanks
    BlAcKiE
    GearBlitz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •