Results 1 to 5 of 5

Thread: Error - Nautilus cannot handle network: locations

  1. #1
    MountainX's Avatar
    MountainX is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jan 2008
    Location
    A place with no mountains
    Beans
    1,610
    Distro
    Kubuntu

    Arrow Error - Nautilus cannot handle network: locations

    I set up an application launcher with this command:
    Code:
    gksudo "nautilus --no-desktop"
    When I use the launcher, the Nautilus instance cannot handle any network locations.

    It gives the error:
    Nautilus cannot handle network: locations.
    Couldn't display "network:///"



    I have tried variations on the launcher command, but so far I have not found a solution.
    Desktop: KX Studio (Kubuntu 12.04)
    Laptop & Netbook: Kubuntu 12.04
    Tablet: Samsung Galaxy Tab 10.1
    Phone: Nexus 4 Cyanogenmod

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Error - Nautilus cannot handle network: locations

    Quote Originally Posted by MountainX View Post
    I set up an application launcher with this command:
    Code:
    gksudo "nautilus --no-desktop"
    When I use the launcher, the Nautilus instance cannot handle any network locations.

    It gives the error:
    Nautilus cannot handle network: locations.
    Couldn't display "network:///"



    I have tried variations on the launcher command, but so far I have not found a solution.
    Code:
    gksudo "dbus-launch nautilus --no-desktop --browser %U"
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    MountainX's Avatar
    MountainX is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jan 2008
    Location
    A place with no mountains
    Beans
    1,610
    Distro
    Kubuntu

    Re: Error - Nautilus cannot handle network: locations

    Quote Originally Posted by dcstar View Post
    Code:
    gksudo "dbus-launch nautilus --no-desktop --browser %U"
    Thank you! I owe you a coffee!

    here's what worked for me in a launcher
    Code:
    gksudo "dbus-launch nautilus --no-desktop --browser"

  4. #4
    MountainX's Avatar
    MountainX is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jan 2008
    Location
    A place with no mountains
    Beans
    1,610
    Distro
    Kubuntu

    Re: Error - Nautilus cannot handle network: locations

    This is also helpful:
    Code:
    $ nautilus --help-all
    Usage:
    nautilus [OPTION...] [URI...]

    Browse the file system with the file manager

    Help Options:
    -?, --help Show help options
    --help-all Show all help options
    --help-gtk Show GTK+ Options
    --help-bonobo-activation Show Bonobo Activation options
    --help-gnome Show GNOME options
    --help-gnome-session Show session management options

    GTK+ Options
    --class=CLASS Program class as used by the window manager
    --name=NAME Program name as used by the window manager
    --screen=SCREEN X screen to use
    --sync Make X calls synchronous
    --gtk-module=MODULES Load additional GTK+ modules
    --g-fatal-warnings Make all warnings fatal

    Bonobo Activation options:
    --oaf-ior-fd=FD File descriptor to print IOR on
    --oaf-activate-iid=IID IID to activate
    --oaf-private Prevent registering of server with OAF

    GNOME Library
    --disable-sound Disable sound server usage
    --enable-sound Enable sound server usage
    --espeaker=HOSTNAME:PORT Host:port on which the sound server to use is running
    --version

    Session management:
    --sm-client-id=ID Specify session management ID
    --sm-config-prefix=PREFIX Specify prefix of saved configuration
    --sm-disable Disable connection to session manager

    Application Options:
    -c, --check Perform a quick set of self-check tests.
    -g, --geometry=GEOMETRY Create the initial window with the given geometry.
    -n, --no-default-window Only create windows for explicitly specified URIs.
    --no-desktop Do not manage the desktop (ignore the preference set in the preferences dialog).
    --browser open a browser window.
    -q, --quit Quit Nautilus.
    -l, --load-session=FILENAME Load a saved session from the specified file. Implies "--no-default-window".
    --display=DISPLAY X display to use

  5. #5
    MountainX's Avatar
    MountainX is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jan 2008
    Location
    A place with no mountains
    Beans
    1,610
    Distro
    Kubuntu

    Re: Error - Nautilus cannot handle network: locations

    FYI - using the command "gksudo "dbus-launch nautilus --no-desktop --browser" is dangerous!

    The gksudo command "gksudo "dbus-launch nautilus --no-desktop --browser" starts a new nautilus process with root privledges. This new nautilus process continues to run (even after the nautilus window is closed) until the process is manually killed or the system is rebooted.

    If you run this command once and someone later comes along and inserts any old USB disk into your computer, they will get root access without even having to type in a password! And this is true even if you ran the command days earlier (and haven't rebooted since).

    The supported and preferred way to open files as root (via Nautilus) is to use a package named: nautilus-gksu. It is not installed by default, so you need to install it from the repositories with the following command:

    sudo apt-get update
    sudo apt-get install nautilus-gksu

    Once installed, X needs to be restarted to start using the new feature(Restart X, reboot or run sudo killall nautilus).

    To perform an action on a file as root, you would then navigate to the file (or directory). Then right click on the file or directory, and you will see a new option named "Open as administrator".

    That should allow you to edit files as root, but also prevent any new windows that are opened via a USB mount, from being opened as root.
    Desktop: KX Studio (Kubuntu 12.04)
    Laptop & Netbook: Kubuntu 12.04
    Tablet: Samsung Galaxy Tab 10.1
    Phone: Nexus 4 Cyanogenmod

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
  •