I'm rather new to ubuntu and linux in general, so bear with me. I'm trying to put abode flash on firefox manually, and to do so I think I need to copy and paste a few things into a certain folder that I need root access to. I'm running ubuntu 17.10.  I've tried:   sudo nautilus   which gives me   No protocol specified Unable to init server: Could not connect: Connection refused  (nautilus:1130): Gtk-WARNING **: cannot open display: :0   and  gksudo nautilus   which gives me a popup message which says "unable to copy the user's Xauthorization file"  any help would be appreciated
10203
I installed Ubuntu 17.10. Now I am having trouble with gksu:  $ gksu -dg synaptic No ask_pass set, using default! xauth: /tmp/libgksu-HgUjgQ/.Xauthority STARTUP_ID: gksu/synaptic/8760-0-alex-XPS-15-9530_TIME4974977 cmd[0]: /usr/bin/sudo cmd[1]: -H cmd[2]: -S cmd[3]: -p cmd[4]: GNOME_SUDO_PASS cmd[5]: -u cmd[6]: root cmd[7]: -- cmd[8]: synaptic buffer: -GNOME_SUDO_PASS- brute force GNOME_SUDO_PASS ended... Yeah, we're in... Unable to init server: Could not connect: Connection refused (synaptic:8767): Gtk-WARNING **: cannot open display: :1 xauth: /tmp/libgksu-HgUjgQ/.Xauthority xauth_env: (null) dir: /tmp/libgksu-HgUjgQ   If I don't use -g, the password dialog is disabled. So looks like a problem with creating a tty for root.  Any advice?
55923
It's very annoying to have this limitation on my development box, when there won't ever be any users other than me.  I'm aware of , but none of them do exactly what I want:    (The version in Debian testing, 1.0, only supports IPv4)  (the "nat" table is not yet implemented for ip6tables, the IPv6 version of iptables) sudo (Running as root is what I'm trying to avoid) SELinux (or similar). (This is just my dev box, I don't want to introduce a lot of extra complexity.)   Is there some simple sysctl variable to allow non-root processes to bind to "privileged" ports (ports less than 1024) on Linux, or am I just out of luck?  EDIT: In some cases, you can  to do this.
62748
I found a nautilus script I would like to use. How do I install it?
112131
When typing either of the commands nautilus . or xdg-open . into terminal, they execute correctly, but with a warning:  Nautilus-Share-Message: Called "net usershare info" but it failed: Failed to execute child process “net” (No such file or directory)   As I say, it opens the file manager correctly and I can detect no further problems. There are several instances of users experiencing this message in other questions , but each of the questions either addresses a side-issue I'm not experiencing, or simply goes unanswered.    What does this message mean, and can I do anything to prevent it?
102872
My goal is trying to run .swf files through Firefox and NOT a standalone player.  When trying to run local .swf files on Firefox 29.0 (currently on 14.04), the browser opens the Open With/Save File prompt window even if the browser has the Flash plugin installed. Right-clicking on the file and clicking Open With... > Firefox just makes the browser open a new tab and then the prompt to Open With/Save File again. Selecting Firefox through that prompt window will still just make Firefox open the prompt again on a new tab.  When accessing .swf files online, though, they run normally and Firefox even shows the Lego-looking plugin indicator in the address bar saying that "Adobe Flash" is enabled for the address I'm accessing the .swf from.  In Firefox's preferences' Applications tab, SWF Files are currently set to "Use Shockwave Flash (in Firefox)", so I don't get why it won't do what it says for the case of local files.  UPDATE: Apparently, Firefox has separate "Shockwave Flash File" entries in the Applications tab of its Preferences for different mime-types. Found a workaround which I entered below.
7758
I login as user 'foo' and if I am able to run gedit and edit files in my Ubuntu 12.04 machine with a DISPLAY setting as :0  If I "su - bar" and then try to edit files, I get a no protocol specified error and it doesn't open the necessary files. What coule be the problem here?
47027
I went into Live CD and activated Terminal.  Then, I typed gksu nautilus to gain temporary access to my root directory. Once the Manager window opened, I clicked on File System and navigated to the /etc/default/grub directory. I then double clicked on the Grub file to make changes to the TIMEOUT and TIMEOUT_QUIET.  I saved the file after I made the changes. Then I went back to the terminal mode and typed:  gksu update-grub   The error message I got was:     Can not find a device for / (is /dev mounted?)   I'm not sure what to do at this point. How can I run update-grub to update the changes? Thanks in advance for your help. Please be very detailed and specific with your response as I am totally new to this environment.
16528
I made a .desktop file for Androxyde's Flashtool (utility for Sony Xperia devices that I have to open with an executable file in its folder) that requires root privileges to use fastboot utilities. I used to make it work with gksu, but I'm on Ubuntu 15.04 and gksu is now old.  I tried to modify the exec line from Exec=gksu /home/natasha/FlashTool/FlashTool to Exec=pkexec /home/natasha/FlashTool/FlashTool Then, I read about pkexec doesn't allow to run X11 applications and so I override in this way:      The problem now is: It asks me the password but the Flashtool's GUI doesn't start. BUT if I execute that command in terminal, the program starts without problems. What can I do?
3673
I installed the  on my Ubuntu&nbsp;11.04 (Natty Narwhal) with   sudo apt-get install lamp-server^   Now I navigate to /var/www and use   wget http://ftp.drupal.org/files/projects/drupal-7.x-dev.tar.gz   I get the following error.   --2011-08-03 13:59:00--   http://ftp.drupal.org/files/projects/drupal-7.x-dev.tar.gz Resolving  ftp.drupal.org... 64.50.233.100, 64.50.236.52 Connecting to  ftp.drupal.org|64.50.233.100|:80... connected. HTTP request sent,  awaiting response... 200 OK Length: 2757101 (2.6M)  [application/x-gzip] drupal-7.x-dev.tar.gz: Permission denied   Cannot write to `drupal-7.x-dev.tar.gz' (Permission denied).   How do I resolve this error?  I tried to download the same file in the downloads folder, and it went on without an issue. So it seems to be some permission error, but I'm not sure about that or how to solve it.
20597
When I launch nautilus from terminal the following error is printed and nautilus doesn't open up.  (nautilus:25179): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_-&gt;priv-&gt;connections != NULL' failed  (nautilus:25179): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_-&gt;priv-&gt;connections != NULL' failed Could not register the application: Timeout was reached  (nautilus:25179): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed  (nautilus:25179): GLib-GObject-WARNING **: invalid (NULL) pointer instance  (nautilus:25179): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed   What could be the problem??
65686
My laptop was working perfectly yesterday, and now today I can't log in.  At first, I was only getting a black screen. However, after following instructions in some questions here on AskUbuntu, I first reinstalled lightdm, and then I had to change the ownership of the file ~/.Xauthority to be my user name. Now, I get the log in GUI screen.  However, once I enter my username, it flickers and then comes back to the login GUI. It does not matter if I use Gnome, Unity, or Gnome-Flashback.  I don't know why lightdm needed to be reconfigured, or how ~/.Xauthority got changed, but in any case, what is still standing in my way, preventing me from logging in?  Update: I have tried deleting the .Xauthority file, and the .profile files in my home directory. It has not changed anything.  Logging in as guest also fails to work.  The following commands did not work:  mv ~/.config ~/.config.BAK mv ~/.cache ~/.cache.BAK   Inside .xsession-errors in my home directory, it says:  Gdk-CRITICAL: gdk_x11_display_get_xdisplay: assertion 'GDK_IS_DISPLAY (display)' failed
84203
Recently I had to change the folder permissions of /usr folder. Now the whole sudo is not working. If I try to update my system using this command:  sudo apt-get update   I get the following message:  sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins   So I tried to change the folder permissions by opening Nautilus as root by using this command  gksudo nautilus   But nothing happened. Nautilus didn't open. This is an emergency as the whole of sudo is not working. when I tried searching the solution from Google many suggested re-installation. I don't prefer re-installation. so is there any other solution?
54126
I have ubuntu 12.04 running in a virtual machine on virtual box.  Its existence is mainly as a 'toy' to play about with Ubuntu, so for this reason I wanted the GUI (is that what 'Dash' is in ubuntu 12.04?  Anyway...)  One thing I am currently using this machine for is a LAMP server.     I use 'gedit' to edit my files, but because I haven't correctly set permissions yet I just open it with sudo in terminal.  Just now, to try to simplify this process I created a shell script on the desktop with a very simple job - sudo gedit  I can't help thinking there must be an even more obvious way to open gedit as root from the GUI than this.  So is there?  Edit:  I just 'improved' my script by replacing sudo with gksudo.  Now I don't have to have a terminal window open while gedit is open.   So I guess this is quite convenient for now :)   It would be good, for the sake of knowledge, to know if this is anything close to how the more seasoned ubuntu users would do this type of thing.
58444
I want to explain my problem with Images and Links,but I don't have reputations so I posted same question in the following link.    can check it and suggest me. Thanks  I am using Ubuntu 12.04.I tried to open this .I got the page in the following way. I searched some forums, one guy suggested Ubuntu not supported to silverlight so you need to install moonlight.  so I downloaded moonlight from this .I installed in the following way   Open Firefox and drag and drop the file into Firefox.it shows successfully installed.   I reopen Firefox and reopen these same .It showing blank page(white page).like this   How can I fix this, can anyone suggest me  Thanks.
96339
When I run sudo gedit /path/to/some/random/file I get the following error    ** (gedit:6262): WARNING **: Command line `dbus-launch --autolaunch=7f8731869e1c690b8205727e0000000a --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed. Cannot open display:  Run 'gedit --help' to see a full list of available command line options.     Using gksudo doesn't help either which returns    Cannot open display:  Run 'gedit --help' to see a full list of available command line options.     Any help guys. I need to have this capability to open files in Gedit as root. I found this question with the same error but no solution     EDIT I found this post in . These are the instructions:     echo $DISPLAY # you'll be needing this value 3 lines below sudo -i # or "su -" on older Slackwares xauth merge ~alien/.Xauthority # use your own username here instead of "alien" export DISPLAY=:0.0 # use the value of DISPLAY you've seen 3 lines before     On coming to command #3, I got this error xauth:  file /root/.Xauthority does not exist    Maybe this new info can shed more light.
116587
I am using dolphin as my file manager and when I download something via firefox, I right click the download dialog and choose "open folder", I always get nautilus.   Why doesn't firefox open the folder with dolphin? Thanks  Note: I tried adding the tag "dolphin" but because of my low rep I can't create new tags :(
117978
I believe Nautilus is the file system in Ubuntu. When I have two tabs open, in say my home directory, how do I move between them easily?  Is there a shortcut key?  For example: In Firefox, Ctrl + Tab allows you move directly between tabs and that would be very useful in my own file system.