Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    question about DISPLAY variable

    From my desktop, I launch a terminal window.

    I connect to ServerA (SLES 9) which has gnome as DE.

    ssh -X root@ServerA

    I type:
    # echo $DISPLAY

    However, I connect in same way to Server B (SLES 9) which has no GUI

    ssh -X root@ServerB

    # echo $DISPLAY

    Why is no display being set on Server B?

  2. #2
    Linux Enthusiast
    Join Date
    Apr 2004
    I'm not sure all of the effects not having a GUI will have, but if I ssh into an OpenWRT (also no GUI) it still sets the Display variable.

    I would suspect the sshd_config file on serverB. Take a look for the following lines

    X11Forwarding yes
    X11DisplayOffset 10
    Let us know how that goes and we can help you more if you need,

    To be good, you must first be bad. "Newbie" is a rank, not a slight.

Posting Permissions

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