Announcement

Collapse
No announcement yet.

X11 SSH Tunels- glx?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    X11 SSH Tunels- glx?

    My laptop runs kububuntu 64-bit Kubuntu 9.04, and I set up X11 forwarding so I can run kubuntu apps on my desktop computer (MacOSX Tiger, 64-bit, Intel)

    Anyway, X11 forwarding works- I open up an xterm window on my desktop

    Code:
    ssh -X [email]-Cjpenguin@XXX.XXX.X.XXX[/email]
    Then I can run most apps on my kubuntu Installation (OpenOffice, FireFox, Dolphin, pingus, tuxtype...) and they'll display on my mac's screen.

    ==The Problem==

    Then I tried to run a game the uses opengl. NO LUCK. So, I updates openssh; when that didn't work, off to google I went- In read that I should use '-Y' instead of '-X'. So I issued a 'logout' for my current ssh session. RThen tried
    Code:
    ssh -Y -C [email]jpenguin@XXX.XXX.X.XXX[/email]
    it gave me a warning
    Code:
    Warning: No xauth data; using fake authentication data for X11 forwarding
    Then I tried to run 'glxgears'- this didn't work
    Xlib: extension "Generic Event Extension" missing on display "localhost:10.0".
    Error: couldn't get an RGB, Double-buffered visual
    So I logged out of that ssh session too

    Now what can I do


    PS-- I can run 'glxgears' just fine on my mac, if I use the local executable
    Registered Linux User 545823

    #2
    Re: X11 SSH Tunels- glx?

    This is just a few ideas that came to mind after reading your post. Apologies if you've already attempted this.

    Might want to double check your SSHD config on the server. Looks like ForwardX11Trusted will have to be enabled for the -Y option to work correctly. Also, do you know if GL apps work natively on your Mac?

    From the SSH manpage:

    Code:
    -X 
    Enables X11 forwarding. This can also be specified on a per-host basis in a configuration file. 
    
    X11 forwarding should be enabled with caution. Users with the ability to bypass file permissions on the remote host (for the user's X authorization database) can access the local X11 display through the forwarded connection. An attacker may then be able to perform activities such as keystroke monitoring. 
    
    For this reason, X11 forwarding is subjected to X11 SECURITY extension restrictions by default. Please refer to the ssh -Y option [i]and the ForwardX11Trusted directive in ssh_config5 for more information[/i]. 
    
    ...
    
    -Y 
    Enables trusted X11 forwarding. Trusted X11 forwardings are not subjected to the X11 SECURITY extension controls.
    Kubuntu user since initial release version 5.04 8)

    Comment

    Working...
    X