trying to secure xdmcp over ssh - macbook pro <---> linux

Discussion in 'macOS' started by graysky, Sep 26, 2010.

  1. graysky macrumors newbie

    Sep 26, 2010
    I would like to use my macbook pro to connect to a Linux server over my LAN via Xdmcp. It's a simple matter of a single command on the Mac from a terminal:

    $ Xnest -query -geometry 1270x750 :1
    A few seconds later, gdm opens up in the X11 window on the Mac and everything works but this option is not secured. I found several articles suggesting that one can use ssh to secure the connection but I hit a wall getting it to work on the Macbook pro.

    On the Mac:
    $ ssh -X username@ -n Xnest -query localhost -geometry 1250x750 :1
    username@ password:
    (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/ failed (/usr/lib/xorg/modules/dri/ cannot open shared object file: No such file or directory)
    (EE) GLX: could not load software renderer
    [dix] Could not init font path element /usr/share/fonts/OTF/, removing from list!
    Couldn't get keyboard.
    Fatal server error:
    XDMCP fatal error: Manager unwilling Host unwilling
    Suggestions are welcomed :)
  2. LPZ macrumors 65816

    Jul 11, 2006
  3. graysky thread starter macrumors newbie

    Sep 26, 2010
  4. LPZ macrumors 65816

    Jul 11, 2006
    You're welcome. Jeremy is outstanding.

Share This Page