+

Search Tips   |   Advanced Search

X-Windows

 

+

Search Tips   |   Advanced Search

 


AIX

  1. Verify X11 filesets are installed:

    # lslpp -l grep X11
    lslpp: 0504-132 Fileset grep not installed.
    lslpp: 0504-132 Fileset X11 not installed.

  2. On remote host, edit /etc/ssh/sshd_config and uncomment the line "X11 Forwarding yes"

  3. If changes are made, restart the ssh daemon:

      stopsrc -s sshd
      startsrc -s sshd

    Restart sshd.

    stopsrc -s sshd
    startsrc -s sshd

  4. Start Mocha X on your PC

    Or we can try using using Hummingbird eXceed on your PC. If weing eXceed, edit...

  5. In putty, enable X11 Forwarding and set X display location to localhost

  6. For Linux

    • Log on to your linux box and run..

        xauth list

    • Copy output. For example...

        hostname/unix:10 MIT-MAGIC-COOKIE-1 06eccfef8f06993f48fb059adeda8376

    • sudo to your desired user

    • Run...

        xauth add

      ...and paste contents of xauth list command. For example

        xauth add hostname/unix:10 MIT-MAGIC-COOKIE-1 06eccfef8f06993f48fb059adeda8376

  7. Set DISPLAY...

    DISPLAY=localhost:10.0
    export DISPLAY

  8. Run xclock to test

    Note that two people cannot both run X Windows if they are each logged on with the same user id.


Linux

  1. Start the Mocha X on your PC

  2. In putty, enable X11 Forwarding and set X display location to localhost

  3. Log on to your linux box

  4. Run...

      xauth list

    ...and copy output. For example...

      hostname/unix:10 MIT-MAGIC-COOKIE-1 06eccfef8f06993f48fb059adeda8376

  5. sudo to your desired user

  6. Run...

      xauth add

    ...and paste contents of xauth list command. For example

      xauth add hostname/unix:10 MIT-MAGIC-COOKIE-1 06eccfef8f06993f48fb059adeda8376

  7. Run xclock to test


X11 from a jumpbox

Log on to jump box and Display Manager with Exceed as your X11 server:

Once on jumpbox, forward your display via SSH to the remote machine as...

ssh -X <hostname>

Using Exceed X11 server and other ssh client (putty)

Make sure X11 forwarding is enabled on ssh client (in putty under SSH>Tunnels)