Results 1 to 10 of 10

Thread: can't do "sudo nautilus"

  1. #1
    Join Date
    Jul 2007
    Beans
    17

    Question Solved: can't do "sudo nautilus"

    This is the error i get:

    Code:
    user@desktop:~$ sudo nautilus
    [sudo] password for user: 
    Initializing nautilus-open-terminal extension
    seahorse nautilus module initialized
    Initializing nautilus-share extension
    
    (nautilus:6660): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed
    
    (nautilus:6660): GLib-CRITICAL **: g_error_free: assertion `error != NULL' failed
    
    (nautilus:6660): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed
    
    (nautilus:6660): GLib-GIO-WARNING **: (/build/buildd/glib2.0-2.16.6/gio/gfile.c:5249):IA__g_file_load_partial_contents_finish: runtime check failed: (g_simple_async_result_get_source_tag (simple) == g_file_load_contents_async)
    Fallo de segmentación
    any help??

    ----------

    after a little gogle search.. i found it was all about the "blank dvd mistery"... ejected the DVD and VOILA!
    Last edited by sakul07; October 30th, 2008 at 03:14 AM. Reason: issue solved

  2. #2
    Join Date
    Jan 2007
    Beans
    601
    Distro
    Ubuntu

    Re: can't do "sudo nautilus"

    You should use gksudo (or kdesudo if you're in kde) with gui apps. Sudo is for command line apps, gksudo is for gui apps.

  3. #3
    Join Date
    May 2008
    Location
    my(@HOME, -$NJ)
    Beans
    296
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: can't do "sudo nautilus"

    maybe its a typo
    #gksudo nautilus

  4. #4
    Join Date
    Jul 2007
    Beans
    17

    Re: can't do "sudo nautilus"

    nope... it didn't work:

    Code:
    user@desktop:~$ gksudo nautilus
    Initializing nautilus-open-terminal extension
    Initializing nautilus-share extension
    
    (nautilus:6889): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed
    
    (nautilus:6889): GLib-CRITICAL **: g_error_free: assertion `error != NULL' failed
    SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
    (nautilus:6889): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed
    
    (nautilus:6889): GLib-GIO-WARNING **: (/build/buildd/glib2.0-2.16.6/gio/gfile.c:5249):IA__g_file_load_partial_contents_finish: runtime check failed: (g_simple_async_result_get_source_tag (simple) == g_file_load_contents_async)

  5. #5
    Join Date
    Jun 2007
    Location
    Tampa, FL USA
    Beans
    6
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: can't do "sudo nautilus"

    Ok...I got this same error for sudo Kino and sudo Nautilus earlier today. Even after a reboot, and a complete reinstall of kino. I figured something was wrong with the sudo command (gksudo didn't work either, it just didn't display any output errors).

    Either way...several hours later, I tried again and viola! It suddenly works again. Still...very perplexing.

  6. #6
    Join Date
    Nov 2008
    Location
    California
    Beans
    1
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: can't do "sudo nautilus"

    I've been having similar issues with progams crashing when Open/Save file dialogs opened. It appears to only happen when programs are run with sudo. A post an an Arch linux forum mention something about Nautilus crashing when a blank CD was in the drive. Sure enough, I had a blank disc in my drive, but it was a DVD. Upon removing it, the crashes stopped.

    It would seem the problem has to do with Nautilus and how it mounts blank discs.

    /EDIT
    I just noticed the small edit on the original post mentioning having a blank DVD inserted.

    I also found this article: http://www.hightechsister.com/559/na...with-blank-cd/
    Excerpt:
    Without removing the cd, nautilus can be ran as root from the terminal using the command sudo dbus-launch nautilus.
    This will to work for other programs too. Just replace nautilus with the program name.
    Last edited by snowhuouV; November 1st, 2008 at 07:40 PM. Reason: additional solution

  7. #7
    Join Date
    Jul 2008
    Location
    Sri Lanka
    Beans
    4
    Distro
    Ubuntu 8.04 Hardy Heron

    Smile Re: can't do "sudo nautilus"

    Me too faced to the same issue and struggled for some time. In some pages they are mentioning that they had to re-install the OS inorder to fix this issue. What you guys mentioned is exactly correct. The problem is having a blank dvd inside my burner. Thanks a lot for saving me from re-installing the OS .

  8. #8
    Join Date
    Dec 2008
    Beans
    41

    Re: can't do "sudo nautilus"

    I had the same problem and elsewhere on here (searched) I found this advice
    Code:
    gksudo dbus-launch nautilus
    and that worked for me
    don't know it will help - I'm still a novice myself.

  9. #9
    Join Date
    Nov 2007
    Beans
    138

    Re: can't do "sudo nautilus"

    I had a cdrw in my drive took it out and now the command works.

  10. #10
    Join Date
    Oct 2007
    Beans
    1

    Re: can't do "sudo nautilus"

    I can confirm that errors with GLib on several Gnome programs are somewhat related to a blank CD/DVD inside the unit.

    In my case the "Login Window" application to configure the GDM login window crashed when I inserted a blank DVD. No idea of the reason of this behaviour.

    Also the sequence: "Synaptic -> Settings -> Repositories -> Authentication -> Import Key File" crashed with a blank DVD inserted.

    By the way, I use Ubuntu 8.04 LTS Server (64 bits) with Gnome installed as graphical environment.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •