SSH X11 Forwarding

From Notes

Jump to: navigation, search

Error when executing an application

X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Atom id in failed request:  0x1b4
  Serial number of failed request:  257
  Current serial number in output stream:  257
Unable to connect to X server
The program 'thunderbird-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAtom (invalid Atom parameter)'.
  (Details: serial 262 error_code 5 request_code 20 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.)
thunderbird-bin exited with non-zero status (1)


Resolution

Pass the -Y (trusted) flag to ssh:

 ssh -Y -X <uid>@example.com
Personal tools