jstaf / onedriver

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

command-line workflow #265

Closed rrodrigueznt closed 2 years ago

rrodrigueznt commented 2 years ago

Hi! Please, where could I find documentation about the command-line workflow README.md talks about?

Thanks!

jstaf commented 2 years ago

It's in the README here: https://github.com/jstaf/onedriver#multiple-drives-and-starting-onedrive-on-login-via-systemd

rrodrigueznt commented 2 years ago

Thanks. I found these lines before asking, but I'm not able to understand how to complete the authentication without a graphic environment. Here what I get when trying to start OneDriver:

(base) [rjr@e220i059h057w ~]$ onedriver OneDriver
19:54:02 INF onedriver v0.12.0 9f26ac08
Unable to init server: Could not connect: Connection refused

(onedriver:10390): Gtk-WARNING **: 19:54:02.544: cannot open display:
(base) [rjr@e220i059h057w ~]$

I successfully installed it in an Ubuntu 22.04 box, but I'm failing to make it run in a CentOS Stream 8 server. Thanks for any insight.

jstaf commented 2 years ago

Try using the --no-browser option. See https://github.com/jstaf/onedriver/issues/259#issuecomment-1152993178