jstaf / onedriver

A native Linux filesystem for Microsoft OneDrive
GNU General Public License v3.0
1.86k stars 91 forks source link

Remotely starting onedriver fails with... #384

Closed alexmyczko closed 4 months ago

alexmyczko commented 4 months ago

If I want to start onedriver remotely, even when X forwarding is setup:

$ onedriver /scratch/onedrive                  
11:02:51 WRN Configuration file not found, using defaults. error="open /home/me/.config/onedriver/config.yml: no such file or directory" path=/home/me/.config/onedriver/config.yml
11:02:51 INF onedriver v0.14.1 
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
libEGL warning: DRI2: failed to authenticate

(onedriver:252398): Gdk-WARNING **: 11:02:51.930: The program 'onedriver' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 165 error_code 1 request_code 153 (unknown) minor_code 1)
  (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 GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

...meanwhile, 5 minutes later...

aha there's the -n option