Find the answer to your Linux question:
Results 1 to 2 of 2
hi everyone! i'm new and i hope i'm in the correct section. i started using linux 3 months ago, so i'm noob at all i use linux through putty. indeed ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    1

    [putty] problem with X windows


    hi everyone! i'm new and i hope i'm in the correct section.
    i started using linux 3 months ago, so i'm noob at all i use linux through putty. indeed i use it to connect to university server from my home pc (windows).
    i have no problem with the connection and i can simply use programs like pico o g++ that don't have any external windows... however i have problem with programs like gnuplot or gedit that need a external window to run correctly. when i run them i get this problem:

    The application 'gedit' lost its connection to the display localhost:11.0;
    most likely the X server was shut down or you killed/destroyed
    the application.

    or when i simply use the comand display i get:

    X connection to localhost:11.0 broken (explicit kill or server shutdown).

    surfing the net i found some hits and i enabled x11 fowarding that before wasn't enabled and indeed this comand didn't work at all...
    can someone help me?
    sorry for the bad english and for the maybe not precise language :P
    thanks

  2. #2
    Just Joined!
    Join Date
    Nov 2010
    Posts
    61
    Quote Originally Posted by blacksmith11 View Post
    hi everyone! i'm new and i hope i'm in the correct section.
    i started using linux 3 months ago, so i'm noob at all i use linux through putty. indeed i use it to connect to university server from my home pc (windows).
    i have no problem with the connection and i can simply use programs like pico o g++ that don't have any external windows... however i have problem with programs like gnuplot or gedit that need a external window to run correctly. when i run them i get this problem:

    The application 'gedit' lost its connection to the display localhost:11.0;
    most likely the X server was shut down or you killed/destroyed
    the application.

    or when i simply use the comand display i get:

    X connection to localhost:11.0 broken (explicit kill or server shutdown).

    surfing the net i found some hits and i enabled x11 fowarding that before wasn't enabled and indeed this comand didn't work at all...
    can someone help me?
    sorry for the bad english and for the maybe not precise language :P
    thanks
    I dont know about gnuplot but gedit is a graphical GUI program and you are trying to access it through a command line interface. Of course it is not going to work.

Posting Permissions

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