You are not logged in.

#1 2008-02-03 04:10:07

synthead
Member
Registered: 2006-05-09
Posts: 1,337

[solved!] Tunneling X over OpenSSH ... some problems

So I want to tunnel X programs thorugh OpenSSH.  On the server, I went into the /etc/ssh/sshd_config file and modified it to read X11Forwarding yes.  I restarted the sshd server.  Then on the client side, I logged in via ssh -XCl [user] [ip] and it brought up an SSH window, but when I tried to start an X program ...

[jenna@jennaluv ~]$ mousepad
The program 'mousepad' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 1 error_code 9 request_code 55 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

What did I do wrong?

Last edited by synthead (2008-02-03 06:50:35)

Offline

#2 2008-02-03 04:46:18

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [solved!] Tunneling X over OpenSSH ... some problems

try running ssh yourhost -Y

for whatever reason I can't get the -X option to work


Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2008-02-03 05:31:53

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: [solved!] Tunneling X over OpenSSH ... some problems

YES!  That worked!  Now it's time to read the manpage so I can find out why that did it big_smile

Offline

#4 2008-02-08 02:32:02

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: [solved!] Tunneling X over OpenSSH ... some problems

Man.

I feel sooo stupid. lol

I spent all night getting tun/tap working, and trying literally every ssh option I knew of (which just so happened to not include -Y). I kept getting synthead's error regardless. and now, of course, it works.

This isn't the first time I go down the most complex path possible, only to find it won't work...

-dav7


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

Board footer

Powered by FluxBB