Find the answer to your Linux question:
Results 1 to 2 of 2
I am accessing a remote server using telnet. But i am not able to use gui applications. whenever i give "gedit" command it gives me error as: "Gtk Warning *** ...
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    4

    Gtk Warning : cannot open display

    I am accessing a remote server using telnet.
    But i am not able to use gui applications.
    whenever i give "gedit" command it gives me error as:
    "Gtk Warning *** cannot open display"

    xhost + also gives error: unable to open display localhostIP:0.0
    echo $DISPLAY is showing the IP of local system.

    How can i fix it?

    Thanks in advance

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    You need to set the DISPLAY environment variable to your IP address. Example: export DISPLAY=192.168.1.100:0
    Also, you need to have an X-Windows server running on your client system.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...