Find the answer to your Linux question:
Results 1 to 7 of 7
I have two boxes on the lan, one running SUSE 9.2 and the other Slack 10.1. I am connecting remotely via ssh and I want to run X in both ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803

    unable to run remote X session


    I have two boxes on the lan, one running SUSE 9.2 and the other Slack 10.1. I am connecting remotely via ssh and I want to run X in both but only working on one side. Here are the attempts:

    I can ssh -X from the Slack box to the SUSE box and run X wm OK.

    I can ssh -X from SUSE box to the Slack box and ok in text mode but cannot run X. When I call up any wm such as kde i get "..no such command." When i
    Code:
    $ echo $DISPLAY
    I get a blank line instead of the correct localhost:10.0.

    In the Slack /etc/ssh/sshd_config I added the line: X11Forwarding yes
    In this file I see the line #X11Forwarding no which would imply that it is on by default but only speculating.

    Any ideas why this won't work?

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    I hope I'm not misunderstanding what you've edited in /etc/ssh/ssh_config but try uncommenting the line. That is, delete the "#" in front of #X11Forwarding no, and change no to yes. Save and exit.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  3. #3
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803
    Quote Originally Posted by Dapper Dan
    I hope I'm not misunderstanding what you've edited in /etc/ssh/ssh_config but try uncommenting the line. That is, delete the "#" in front of #X11Forwarding no, and change no to yes. Save and exit.
    Hmmm. I'll certainly do that though I would think that my having typed in the uncommented line _X11Forwarding yes_ would have the same result. Well I'll do as you suggest and let you know.

    Thanks.

  4. #4
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    You may also want to try -Y instead of -X.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  5. #5
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803
    Quote Originally Posted by Dapper Dan
    You may also want to try -Y instead of -X.
    Commenting out the X11........ and changing to yes did indeed get me to X. So great to that point. Right now having problem loading wm but did at least get glxgears to run!!

    I'll update you in a few after trying couple more things.

  6. #6
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    If you're using kde - startkde
    gnome - gnome-session
    icewm - icewm-session.

    Linux Mint + IceWM Registered: #371367 New Members: click here

  7. #7
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803
    Quote Originally Posted by Dapper Dan
    If you're using kde - startkde
    gnome - gnome-session
    icewm - icewm-session.

    That's it. I was just trying <xfce>, <kde>.....

    Thanks very much for you help and the solution. Cu around...

Posting Permissions

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