Twitter Updates

    follow me on Twitter

    G-AVLN in front of her home

    G-AVLN in front of her home

    Mostly Unix and Linux topics. But flying might get a mention too.

    Thursday, December 15, 2005

    xhost in RHEL4

    I needed to illustrate how an operator could send an X application from a server to a workstation in his office (I'm talking here RHEL4 boxes).

    Simple, done it loads of times - on the workstation do:

    # xhost +server-name

    On the server run the application from the command line and direct the output to the display on the workstation:

    # xapplication -display workstation-name:0.0

    WRONG! It's not that simple on RHEL4! Here, you need to enable TCP first, which is done as part of gdm (graghical desktop manager) configuration.

    Run:

    # gdmsetup

    Select Security tab and notice that the following setting is "checked":

    "Always disallow TCP connections to X server (disables all remote connections)"

    Take the 'tick' off, restart the GUI (CTRL-ALT-Backspace), and all is well - the method shown above will now work.

    No comments:

    Blog Archive