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

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

  1. graysky macrumors newbie

    Joined:
    Sep 26, 2010
    #1
    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:

    Code:
    $ Xnest -query 192.168.10.10 -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:
    Code:
    $ ssh -X username@192.168.10.10 -n Xnest -query localhost -geometry 1250x750 :1
    username@192.168.10.10 password:
    (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (/usr/lib/xorg/modules/dri/swrast_dri.so: 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

    Joined:
    Jul 11, 2006
  3. graysky thread starter macrumors newbie

    Joined:
    Sep 26, 2010
    #3
  4. LPZ macrumors 65816

    Joined:
    Jul 11, 2006
    #4
    You're welcome. Jeremy is outstanding.
     

Share This Page