Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have been trying to export a display from my server to my local machine for a day but with no luck. I SSH in to the server using ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2012
    Posts
    1

    X server: Cant seem to export display to my local machine?


    Hi,

    I have been trying to export a display from my server to my local machine for a day but with no luck.

    I SSH in to the server using "-X" and then when I enter a command such as "xeyes" i get an error saying "Error: Can't open display: localhost:10.0
    " this is very odd as it wasn't happening before? the "Xfowarding yes" is uncommented in the sshd_config file and I did the "xhost +" on my local machine.

    What could the problem be?

    Update: I can export displays perfectly from other servers, so it seems to be a problem with the server not the client.

    Thanks

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    This may sound stupid, but is the local machine running an X server?

    Have you tried using ssh -Y (instead -X)?

    Do you get any helpful output if you include the -v flag to ssh?

Posting Permissions

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