Autor Téma: google-drive-ocamlfuse  (Přečteno 1627 krát)

b3da

  • Newbie
  • *
  • Příspěvků: 33
  • Karma: +1/-0
    • Zobrazit profil
google-drive-ocamlfuse
« kdy: Červen 12, 2019, 10:19:03 »
Hezký den,

používám google-drive-ocamlfuse k přístupu k souborům na Google disku. Viz např http://www.techrepublic.com/article/how-to-mount-your-google-drive-on-linux-with-google-drive-ocamlfuse/
Aktuálně ale Google disk nepřipojím. Problém je, že příkaz
Kód: [Vybrat]
google-drive-ocamlfuse /home/b3da/Gdisk/musím spustit jako root. A nově v Magei (KDE) nedokáže root spustit prohlížeč ve kterém mám potvrdit token. Je nějaké řešení?

Kód: [Vybrat]
[b3da@localhost ~]$ su
Heslo:
[root@localhost b3da]# google-drive-ocamlfuse /home/b3da/Gdisk/
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
Couldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server")
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit5: Communication error with launcher. Exiting!
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
trying to load "/usr/lib64/qt5/plugins/kf5/kio/http.so" from "/usr/lib64/qt5/plugins/kf5/kio/http.so"
kf5.kio.kio_http: Can't communicate with kded_kcookiejar!
kf5.kio.kio_http: Can't communicate with kded_kcookiejar!
kf5.kio.core: Unknown protocol requested: "" ( QUrl("") )
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit5: Communication error with launcher. Exiting!
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit5: Communication error with launcher. Exiting!
Running Firefox as root in a regular user's session is not supported.  ($XDG_RUNTIME_DIR is /run/user/1000 which is owned by b3da.)

Joelp

  • Administrator
  • Hero Member
  • *****
  • Příspěvků: 591
  • Karma: +12/-0
    • Zobrazit profil
    • blog
Re:google-drive-ocamlfuse
« Odpověď #1 kdy: Červen 18, 2019, 07:36:12 »
Jaký je důvod to spouštět jako root? V návodu vidím, že se to spouští pod běžným uživatelem.
cat /etc/mageia-release
Mageia release 9 (Official) for x86_64