You are not logged in.
Hi everyone ,
can't seem to get sudo nautilus nor su+nautilus working ,
here what i get with sudo nautilus :
(nautilus:958): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(nautilus:958): GLib-GObject-WARNING **: gsignal.c:2475: signal `slot-added' is invalid for instance `0x1eda000' of type `GtkMessageDialog'
(nautilus:958): GLib-GObject-WARNING **: gsignal.c:2475: signal `slot-removed' is invalid for instance `0x1eda000' of type `GtkMessageDialog'
(nautilus:958): GLib-GObject-WARNING **: invalid cast from `GtkMessageDialog' to `NautilusWindow'
**
ERROR:nautilus-window.c:1754:nautilus_window_get_slots: assertion failed: (NAUTILUS_IS_WINDOW (window))
and when su + nautilus :
Unable to initialize DBus connection: The connection is closed
(nautilus:990): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_export: assertion `G_IS_DBUS_CONNECTION (connection)' failed
Error creating proxy: The connection is closed (g-io-error-quark, 18)
(nautilus:990): GLib-GObject-WARNING **: gsignal.c:2475: signal `slot-added' is invalid for instance `0x1b72080' of type `GtkMessageDialog'
(nautilus:990): GLib-GObject-WARNING **: gsignal.c:2475: signal `slot-removed' is invalid for instance `0x1b72080' of type `GtkMessageDialog'
(nautilus:990): GLib-GObject-WARNING **: invalid cast from `GtkMessageDialog' to `NautilusWindow'
**
ERROR:nautilus-window.c:1754:nautilus_window_get_slots: assertion failed: (NAUTILUS_IS_WINDOW (window))
Aborted (core dumped)
Last edited by step-2 (2013-04-26 23:09:38)
Offline
GUI applications should be started with gksu, not su or sudo.
Offline
then it should be as dependency !
any ways , here is the output with gksu :
(nautilus:1837): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(nautilus:1837): GLib-GObject-WARNING **: gsignal.c:2475: signal `slot-added' is invalid for instance `0x290a140' of type `GtkMessageDialog'
(nautilus:1837): GLib-GObject-WARNING **: gsignal.c:2475: signal `slot-removed' is invalid for instance `0x290a140' of type `GtkMessageDialog'
(nautilus:1837): GLib-GObject-WARNING **: invalid cast from `GtkMessageDialog' to `NautilusWindow'
**
ERROR:nautilus-window.c:1754:nautilus_window_get_slots: assertion failed: (NAUTILUS_IS_WINDOW (window))
Offline
no solution ?
Offline
no solution ?
Frontal Lobotomies have been rare for the last 40 years.
If you insist on running a GUI, let alone a file manager GUI, as root; use a tool such as gksu (as has been suggested). It is not a dependency because it is a terrible idea.
Never-the-less, it is your system; do as you will.
Last edited by ewaller (2013-04-25 03:38:39)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Its been an issue for me too in Arch linux for the past few months. since I am not near my archbox I can't test this. But this env variable always used to work.
export DISPLAY=:0.0
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
step-2 wrote:no solution ?
Frontal Lobotomies have been rare for the last 40 years.
If you insist on running a GUI, let alone a file manager GUI, as root; use a tool such as gksu (as has been suggested). It is not a dependency because it is a terrible idea.
Never-the-less, it is your system; do as you will.
i bit you don't know whats going on
Offline
Its been an issue for me too in Arch linux for the past few months. since I am not near my archbox I can't test this. But this env variable always used to work.
export DISPLAY=:0.0
thanks,
after a couple of reboots it decided to work on it's own
Offline
i bit you don't know whats going on
If you don't think someone understands what you are trying to accomplish, the failure is yours for not explaining it, not theirs for failing to understand. I don't know if it was intended as such, but that line reads as quite insulting. I for one would appreciate if youd clarify, revise, or just remove it.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
step-2 wrote:i bit you don't know whats going on
If you don't think someone understands what you are trying to accomplish, the failure is yours for not explaining it, not theirs for failing to understand. I don't know if it was intended as such, but that line reads as quite insulting. I for one would appreciate if youd clarify, revise, or just remove it.
the problem is dead simple , i pasted the commands and the outputs i entered and received (don't think more explaining is required),
thinking someone had ran into the same problem and fixed it or know a work around at least ,
instead ewaller is giving me/us a lecture on how GUI's are for newbies and we should run every thing from a terminal ( which i could but don't prefer ) ,
if anyone need to clarify or revise his words should be him , if he doesn't know a solution (which clearly he does) then why bother with an
arrogance comment such his , he should be silent like other 143 gentlemen viewers of the post .
there is saying in my language , roughly translated says : "Say good or Hist" .
Last edited by step-2 (2013-04-25 13:44:18)
Offline
The problem is that root does not have a dbus session running. Nor does he have an Xscreen in his name. I presume you want to use those that belong to the logged in user. That is precisely what gksu and similar tools do.
Your "No solution?" is in violation of our policy, but, rather than call you on that, I tried (and failed) humor. I am also loath to offer advice to people that will lead to their posting in threads such as https://bbs.archlinux.org/viewtopic.php?id=153361 after one hits the 'delete' key when their mouse is over /sbin.
As to how to convince a GUI program to run as root so as to use a user's DBUS session without a helper such as gksu, I've not a clue.
Disclaimer: It turns out there had been a report about this thread, and I was party to the report. I had not seen the report when I made this post or I would have left a response to another member of the moderation team
Last edited by ewaller (2013-04-25 19:31:26)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
step-2, you are in violation of a number of forum rules.
1) Bumping threads without adding additional relevant info
2) Disrespecting the forum staff
3) How to post (especially using code tags and marking threads as solved)
I consider 1 & 3 to be minor infractions, but 2 is something we will not tolerate. You have been warned. I will not hesitate to ban you if you violate any other forum rules. If you want to familiarize with the rules again, you can do so by visiting the link in my signature.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
As to how to convince a GUI program run as root to use a user's DBUS session without a helper such as gksu, I've not a clue.
In Debian and Fedora rawhide (fully updated) when you log into your terminal with su - and start a GUI app it just works. It used to do in Arch too, but for the last 5-6 months or so it doesn't work. I remember seeing even a bug report regarding this but couldn't find it now.
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
I will not hesitate to ban you if you violate any other forum rules. If you want to familiarize with the rules again, you can do so by visiting the link in my signature.
by all means
Offline
ewaller wrote:As to how to convince a GUI program run as root to use a user's DBUS session without a helper such as gksu, I've not a clue.
In Debian and Fedora rawhide (fully updated) when you log into your terminal with su - and start a GUI app it just works. It used to do in Arch too, but for the last 5-6 months or so it doesn't work. I remember seeing even a bug report regarding this but couldn't find it now.
not sure , but i think polkit-gnome solved the issue
Offline
not sure , but i think polkit-gnome solved the issue
Cool! If it is working, do not forget to edit your first post and add [SOLVED] to the beginning of the thread title.
Thanks.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
step-2 wrote:not sure , but i think polkit-gnome solved the issue
Cool! If it is working, do not forget to edit your first post and add [SOLVED] to the beginning of the thread title.
Thanks.
I don't think he can do it. He's already nuked!
edit:
oh my bad. looks like either him or some mod has done it.
Last edited by hadrons123 (2013-04-27 01:23:09)
LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King
Offline
solution
by add user to dbus group
gpasswd -a username dbus
Offline
I just tried sudo Nautilus it works perfect as it has done for the last 7 years? I think you are giving step-2 ahard time.
That said this should of been posted in the beginners section
I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.
Offline