Announcement

Collapse
No announcement yet.

Managing Xhost for remote systems

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Managing Xhost for remote systems

    Hi All,
    Ive recently replaced my (not at all satisfactory) Red Hat 8.0 Linux ditribution for the latest Kubuntu version. Sofar everything has worked out wonderfully: quick installation, pretty good hardware recognition, excellent reporitory handling, etc.

    Nevertheless I have encountered my first problem:
    As I was used to do with my previous linux, I log into a remote host (telnet) and define the corresponding export DISPLAY=X.X.X.X:0:0 on the remote machine, and type xhost Y.Y.Y.Y on the command line of the local host, but when I try to run xmgrace on the remote host I get the following message:

    -Can't open display
    -Failed initializing GUI, exiting

    Any ideas about why this happens, and which might be the solution?

    Any help or suggestions will be very much appreciatied.
    Thanks.

    Andrés



    #2
    Re: Managing Xhost for remote systems

    KDM as setup by Kubuntu has listening disabled in the /etc/kde3/kdm/kdmrc file.

    Find and comment out the following line:
    ServerArgsLocal=-nolisten tcp

    Then when you want to send something to display on your local screen you'll need to use "xhost +remote_name" (where remote_name is the name of the remote system sending the display to your workstation).

    Dan

    Comment


      #3
      Re: Managing Xhost for remote systems

      Hi Dan

      Thanks a bunch for the clear reply.
      Very helpful... all set up and running.

      Andres

      Comment

      Working...
      X