You are not logged in.
Pages: 1
Hello all.
gksudo thunar sftp://185.185.40.103 =
Failed to open "sftp://185.185.xx.xx".
Operation not supporrted.
It works fine as a normal user. How should I connect as root to my server?
My ssh keys are working from the command line for both root and user.
Last edited by mrpaul (2017-04-10 10:18:50)
Offline
Hello and welcome.
Running it through gdb on my Arch system, I get:
GConf Error: Client failed to connect to the D-BUS daemon:
Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
GConf Error: Client failed to connect to the D-BUS daemon:
Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
Thunar: Failed to initialize Xfconf: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS insteadThunar: Failed to open "sftp://192.168.1.254": Operation not supported
So the reason its not working is that it can't connect to the session dbus.
Running it via:
gksudo 'dbus-launch thunar sftp://192.168.1.254'
...works for me but I'm not sure if this is the best/correct way to access the session dbus.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
How should I connect as root to my server?
thunar sftp://root@185.185.40.103
Offline
Thanks ToZ. that works. How did you run it through gdb? whats the command?
@Morbius1 - didnt work for me. my root has different ssh keys and i dont know how to tell thunar what key to use.
Offline
Thanks ToZ. that works. How did you run it through gdb? whats the command?
If not already installed, install gdb.
gdb
GNU gdb (GDB) 7.12.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) file gksudo thunar
Reading symbols from gksudo...(no debugging symbols found)...done.
Reading symbols from thunar...done.
(gdb) run
...then I tried to connect to the sftp share and got those messages.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Just thought i'd acc my final solution.
Running gksudo 'dbus-launch thunar sftp://192.168.1.254' does not allow opening files in my editor. Documents open empty.
In the end I used the same ssh key for my normal user as root. Everthing then works fine using Morbius1's solution.
Offline
Pages: 1
[ Generated in 0.016 seconds, 10 queries executed - Memory usage: 540.41 KiB (Peak: 541.7 KiB) ]