You are not logged in.

#1 2007-02-26 01:51:23

skale
Member
From: Atlanta, GA
Registered: 2006-08-04
Posts: 146

[solved] SSH X11 forwarding

I setup ssh so that I can run X applications through ssh. Basically I added ForwardX11 yes


Here is the message when I try to run Abiword:

(abiword:5172): GModule-CRITICAL **: g_module_close: assertion `module != NULL' failed
The program 'abiword' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 66 error_code 3 request_code 38 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.)

[1]+  Exit 1                  abiword

I can run xclock just fine, I don't see why this doesn't work.  I get a similar message with firefox.

Note: I run it like `xclock &` or `firefox &` and it makes no difference.

Last edited by skale (2007-02-27 22:03:25)

Offline

#2 2007-02-26 02:05:07

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: [solved] SSH X11 forwarding

did you do

export DISPLAY=<local ip>:0.0

on the remote machine and

xhost +<remote ip>

on the local macine?

Offline

#3 2007-02-26 20:57:06

skale
Member
From: Atlanta, GA
Registered: 2006-08-04
Posts: 146

Re: [solved] SSH X11 forwarding

Same problem.  Again, xclock runs but not firefox.  Strange...

Offline

#4 2007-02-26 21:23:51

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: [solved] SSH X11 forwarding

try setting ForwardX11Trust to yes in your client's ssh_config..

on your client..edit ~/.ssh/config and add the line

ForwardX11Trusted yes

"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#5 2007-02-27 22:03:09

skale
Member
From: Atlanta, GA
Registered: 2006-08-04
Posts: 146

Re: [solved] SSH X11 forwarding

Solved

Offline

Board footer

Powered by FluxBB