You are not logged in.

#1 2010-04-16 15:57:31

foobarch
Member
Registered: 2009-10-13
Posts: 66

firefox over ssh -X

Hello Forum.

That's my setup: Arch Linux Client with ssh -X connection to Ubuntu ssh server. When I try to start firefox in the ssh I get this error:

The program 'firefox' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
  (Details: serial 515 error_code 10 request_code 18 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.)

I have no clue why that happens.. Any idea?

Client XServer: 1.7.6-3
Server XServer: 1:7.4+3ubuntu10

Offline

#2 2010-04-16 20:27:11

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: firefox over ssh -X

I think this is a problem with trusted X11 forwarding. Try ssh -Y. BTW, which firefox profile will be used: local or remote? When I tried something like this, remote FF used my local profile... wierd.


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#3 2010-04-16 20:56:09

foobarch
Member
Registered: 2009-10-13
Posts: 66

Re: firefox over ssh -X

I tried that: even though invoked in the ssh firefox is starting on the client system..

Update:

Not only using the local profile but actually running on the client!

Last edited by foobarch (2010-04-16 21:05:52)

Offline

#4 2010-04-16 23:13:13

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: firefox over ssh -X

Try "firefox -no-remote"

Without the -no-remote firefox sees it's already started on the display and instructs the other instance to open a new window

Offline

#5 2010-04-17 10:36:44

foobarch
Member
Registered: 2009-10-13
Posts: 66

Re: firefox over ssh -X

Somehow I missed that option. It works.

Offline

Board footer

Powered by FluxBB