Re: X11 forwarding in OpenSSH question

From: Mike (mikeumo_at_onebox.com)
Date: 11/18/03


Date: Tue, 18 Nov 2003 17:50:12 GMT

Carl Holtje wrote:

> The easiest thing to do is to log in as follows:
>
> ssh -X {username}@{BoxB}
>
> This will forward all X-display stuff through the SSH tunnel, and you
> don't have to setup any DISPLAY variables or xhost-stuff...
>
> Carl
>

I try it and I get exactly the same error as in case 1 (DISPLAY is set to
localhost:10.0):

ibGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
kbuildsycoca running...
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
mcop warning: user defined signal handler found for SIG_PIPE, overriding

I have X11 forwarding enabled in both client and server ssh to start with.

if I unset DISPLAY (DISPLAY= ; export DISPLAY in /etc/profile) then I get:

konqueror: cannot connect to X server

So, it looks like despite the claims that ssh temporarily sets DISPLAY
variable to point in right direction, it is not happening in my case.

Any ideas?

Mikhail.



Relevant Pages

  • Re: How to ensure ssh is working properly ?
    ... >Exporting DISPLAY variable defeats the purpose of having SSH forward X11. ... >Do not set DISPLAY with ssh session if you want X11 connections to be encrypted. ... >start ssh with -X option and dont worry about DISPLAY variables. ...
    (comp.unix.solaris)
  • Re: How to ensure ssh is working properly ?
    ... >Exporting DISPLAY variable defeats the purpose of having SSH forward X11. ... >Do not set DISPLAY with ssh session if you want X11 connections to be encrypted. ... >start ssh with -X option and dont worry about DISPLAY variables. ...
    (comp.security.ssh)
  • Re: which port(s) does the X server listen on?
    ... > but remote X clients are unable to display to it. ... things just quietly fail to display. ... Most of the time one would ssh to the box they want to run the ... If everything is setup ...
    (Fedora)
  • Re: Attempting to run remote X app
    ... > I'm attempting to ssh into a central server and run an X app, ... Make sure the ssh server is forwarding X connections: ... DISPLAY environment variable is set), the connection to the X11 display ...
    (comp.os.linux.x)
  • X11 Forwarding with OpenSSH
    ... We are able to do the X11 forwarding and it works as the user ... go into the environment as their ssh IDs. ... functional accounts with no direct access into the account). ... another way to set your Display or gettaround this limitation? ...
    (SunManagers)