Mageia Forum
Uživatelské aplikace => Software - ostatní => Téma založeno: b3da Června 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/ (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 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í?
[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.)
-
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.