Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gksu]

gksu is a GTK+ frontend to su and sudo

-1
votes
1answer
49 views

Current status of ubuntu 18.04? [closed]

I have not yet migrated to Ubuntu 18.04, due to the great changes made to the system. These are the withdrawal of gksu, the use of gnome-desktop, among others. When I tried I had terrible problems ...
0
votes
0answers
116 views

Cannot open and update /usr/share/X11/xorg.conf.d/50-synaptics.conf

I am new to Linux and have recently installed Ubuntu 18.04. I need to edit the 50-synaptics.conf file in Ubuntu 18.04, but GKSU is deprecated, and when I run gedit admin:///usr/share/X11/xorg.conf.d/...
0
votes
2answers
325 views

While launching samba I get an Error

I'm using Xubuntu 18.04 and while launching Samba I get an error saying "Failed to execute command gksu system-config-samba" please help. I'm a beginner.
1
vote
0answers
18 views

How to I change a permissions on a folder I have tried gksu nautilus with no luck ubuntu 18.04 lts

I am trying to change the permissions on a folder to read and write on /snap/eclipse/29 To install the jre but to get eclipse working. I have tried installing gksu nautilus over again but had no luck.
2
votes
1answer
700 views

Make desktop entry for app that requires root privileges [duplicate]

I used gksu before but it seems that it is no longer available. So how can I make something with the same functionality? Obviously I can still run app through the terminal but I don't want to do that. ...
0
votes
0answers
10 views

edited avahi-daemon.config with sudo gedit instead of gksu gedit - problems?

There seems to be an issue with graphical programs run by sudo instead of gksudo, because the result could be that files in my home folder are owned by root. I've been using sudo gedit for a while ...
6
votes
2answers
12k views

How to install an application that requires gksu package on ubuntu 18.04?

I downloaded the Upwork desktop App on ubuntu 18.04. When I open it with Gdebi package installer I saw this error: I tried to install gksu manually via sudo apt install gksu but I got this error ...
0
votes
0answers
114 views

Wifi doesn't work - I'm in a loop

I just installed windows 10 and ubuntu on my computer and wifi isn't working. I read the post below: WiFi isn't working in new installation of Ubuntu I tried to use the given code in the post ...
0
votes
0answers
205 views

gksudo doesn't work [duplicate]

I want to start zuluCrypt as root with gksudo, but gksudo does not start it. When I started gksudo and the window to run an application opened, I typed zuluCrypt in. The Terminal then gave me a GTK-...
1
vote
0answers
131 views

Tyring to open a file with gksu gedit

I'm trying to open the /etc/group file as root (to edit) but as soon as I type gksu gedit /etc/group It gives me Failed to connect to Mir: Failed to connect to server socket: No such file or ...
0
votes
0answers
21 views

nautilus-admin doesn't work in Ubuntu 17.10 [duplicate]

So yesterday I tried to use gksudo nautilus, but it resulted in (nautilus:3336): Gtk-WARNING **: cannot open display: :0 not connect: Connection refused I searched askubuntu and found suggestions ...
38
votes
7answers
29k views

Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?

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-...
4
votes
1answer
3k views

How to run IntelliJ IDEA as a dedicated system user?

the problem I installed IntelliJ IDEA on my system (to /opt/jetbrains), and want it to be able to modify its files (do self-updating) without enabling any other process to modify them. the ...
1
vote
1answer
627 views

How to access my root folder with admin access?

I've installed apache server on Ubuntu 16.04. Now I want to access with admin access frequently. Till now I've used following command : gksu nautilus Since few days ago. It's not working at both of ...
0
votes
0answers
36 views

gksu changing my background

Everytime when i use gksu nautilus , it keeps changing my background and the taskbar to the default color and background. How can I restore my background and color after using the command?
3
votes
1answer
238 views

Using gksu with command-line parameters

How do I use a program command-line parameters with gksu? I have a program that takes parameters. gksu myprog --dataload --maximize But then I get an error IBus error Folder .... owner is not root ...
0
votes
1answer
328 views

Why won't my password work in gksu? [duplicate]

There are other questions similar, but none have answers for this situation. Any time I enter my pw into the terminal, it works fine. But gsku thinks it's wrong. I've tried several times, and ...
4
votes
2answers
189 views

How to see what pkaction a software uses

So, I have one software that always asks for password when starting. And I want to run this software without this gksu password prompt popping up everytime. The first thing I tried was adding its ...
2
votes
2answers
688 views

Run .sh with Desktop entry without closing terminal [duplicate]

Here is my desktop entry to run "PRGM.sh" [Desktop Entry] Encoding=UTF-8 Name=PRGM Comment=Launch PRGM Exec=gksu /home/markku/PRGM.sh Icon=utilities-terminal Type=Application Terminal=true The ...
0
votes
2answers
1k views

How to install gksu on 15.04? [closed]

I'm unable to upgrade 15.04 to 16.04 LTS. Support has ended and all codes to edit sources.list have failed to work. I cannot use gksu since I don't have it and I'm unable to install it from software ...
0
votes
1answer
64 views

Gaining root privs within LiveCD, for drive mounted in /media/[user]?

So, here is my scenario, for a recent version of Lubuntu. (I've tried tapping Lubuntu forums for help, that was a no-go.) My hard drive is beginning to fail, according to the disk tool I load within ...
0
votes
2answers
282 views

Accessing Downloads Folder Through gksu

For some reason when I installed PyCharm, it left all the .exe and the such files in my Downloads folder. I want to move this PyCharm folder to my /opt file, but I need root access. How can I run gksu ...
0
votes
1answer
328 views

Can't install Upwork application on Ubuntu 15 with gksu

I am not able to install Upwork 64 bit application on Ubuntu, reason I am asking this again as I followed the answer posted in another similar question but I could not get it working. I am having ...
0
votes
1answer
101 views

Find out which program requested authentication

I get password prompts like the one below every now and then. Usually they say: Authentication is required to change your own user data But I have not requested to do so. This often happens e....
0
votes
2answers
4k views

How to access root-folder with Thunar? [duplicate]

I would like to access root-folder with Thunar but the system won't let me, even if I have setup a root in a terminal window. What's the way to access the root-folder (with write access) in Thunar (...
0
votes
1answer
2k views

I tried installing gksu but getting the following error.Someone help me to fix this [duplicate]

sudo apt-get install gksu Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package gksu
1
vote
2answers
1k views

How to run a python script as sudo by double-clicking it?

Simply put, how can I do this, providing a graphical prompt? I tried creating a separate bash script that when opened, ran the Python script with super-user permissions - I used gksu -u root '<...
0
votes
1answer
1k views

`sudo`, `gksu` and `gksudo` without password

In Fedora, I am surprised that if my administrator account does not have a password, sudo, gksu and gksudo won't prompt me for one! (it is not caused by /etc/sudoers). In Ubuntu, they will ask me for ...
0
votes
2answers
9k views

(nautilus:13581): Gtk-WARNING **: cannot open display:

Just installed gksu to use gksu nautilus. When running this command the output after entering password is (nautilus:13581): Gtk-WARNING **: cannot open display: Not sure what caused this but i ...
2
votes
1answer
13k views

Can't install gksu. Says it can't find it

Can't install gksu every time I put in the command to install I get the same thing unable to locate package gksu any ideas
1
vote
1answer
74 views

Is it bad practice to use gksu when writing code in development?

I am writing a C++ application that needs to access the serial port and use the mount command, both needing root to be performed. In the end the application will be run as root on a device, but I am ...
1
vote
3answers
6k views

Cant install UpWork Team app on Ubuntu 15.04

I tried to install the UpWork Team app on Ubuntu 15.04 (64-bit) but have problem with dependencies. This deb package ask me to install: gksu, libgcrypt11 (>= 1.4.5) and libgnutls26 (>= 2.12....
0
votes
1answer
201 views

Can't open file to disable splash screen

I'm on Xubuntu 15.04 32 bit if that means anything. It's a fresh install. I'm trying to disable the splash screen. (There actually doesn't seem to be any. It's a black screen from boot until I get to ...
32
votes
3answers
126k views

gksu: Gtk-WARNING **: cannot open display: :0

All of the sudden gksu stopped working for me: ~$ gksu gparted (gpartedbin:24252): Gtk-WARNING **: cannot open display: :0 The same happens with gparted-pkexec: ~$ gparted-pkexec No protocol ...
1
vote
1answer
379 views

Gparted, Gedit doesn't open with the gksu command [Xubuntu]

I'm not able to start software as GParted, GEdit with the gksu command (neither the sudo). I see commands in the task manager start, but disappear before to have a result. So, have you any clue to ...
3
votes
0answers
40 views

How to run applications as root using gksu alternative [duplicate]

When I run applications like Synaptic or Gparted, I'm prompted by the lovely screen on the left, to enter my admin password. I think this has something to do with pkexec. But when I run applications ...
0
votes
1answer
446 views

Make gksu ask for password in terminal

If I needed to run a graphical command as root, I would use: username@HENRY-PC:~$ sudo gedit [sudo] password for username: But this is apparently discouraged, because any files created for the X-...
1
vote
1answer
216 views

gksu firefox & password

I have a launcher with gksu -u someuser firefox Why does this launcher require root password instead of the password of the currently logged-in user. The password window has the following message: "...
2
votes
1answer
104 views

Gedit launches with Save & Save As disabled unless launched as root

Whether I launch gedit from a terminal or from the GUI, the Save and Save As menu items are ghosted as soon as gedit opens. I can't even start with a blank editor, type something, and then Save As ...
0
votes
1answer
584 views

gedit and gksu a file

I tried to edit a php file using gedit and sudo gksu I got following error message using gedit mytext.php. gedit mytext.php (gedit:2644): Gtk-WARNING **: GtkScrolledWindow 0x17d4880 is mapped but ...
2
votes
1answer
13k views

How can I make Sublime Text 3 run as root from Unity?

I know I am not root because I cannot browse packages. First, I am aware of this page, but it is not working for me. After following those instruction, I get the prompt when I open Sublime from Unity,...
8
votes
2answers
12k views

How to get GUI sudo password prompt without command line?

Currently, for all my commands that require root access, I have to type them out on a command line. I would like for the GUI to prompt me to key in my password, when sudo is required, instead of ...
0
votes
1answer
4k views

Can't get nautilus to go sudo with gksu [duplicate]

I was recently reading some linux articles and stumbled on a faster way to do sudo tasks the gui way by installing a package called gksu-nautilus which allows me perform tasks with root permissions ...
6
votes
1answer
243 views

How do I safely run a graphical application as a normal user while root?

We often talk about using gksu, sudo -i and pkexec to run things as root while a normal user but I'm facing the opposite problem today. The script I'm using is running as root. I need it to start a ...
7
votes
1answer
2k views

What is .gksu.lock file

I have been trying to find out what exactly /home/user/.gksu.lock is. What does the file do? If I remove or edit the file, will it affect my system in any way?
1
vote
1answer
887 views

How to access root folder?

I just did a data recovery of a very important file, and it is saved in root folder automatically, and I can't access the root folder even from gksu nautilus it gives this dialog: You do not have ...
1
vote
1answer
145 views

gksudo from a non sudoer?

I want to run gui applications that require admin privileges from gksudo/gksu on a non-sudoer account. Currently, I can just run sudo guiapplication from a sudoer tty, and will be able to display/use ...
0
votes
2answers
228 views

Gksu Naulitus is not working [closed]

I am using ubuntu 12.04. I wanted to change permissions of a file so i typed gksu naulitus. it asked my password andstl i entered it and nothing happened. What should I do?
0
votes
1answer
1k views

Sudo or gksu for launching Sublime text 2?

I am new to using Ubuntu 12.04 and noticed two different ways of launching Sublime Text 2 via Terminal window, first being sudo and the other being gksu. Upon using both I noticed it's launching ...
0
votes
1answer
1k views

gksu is not availabe in ubuntu 13.10

I have recently downloaded Ubuntu 13.10 from its site and updated it. I was going to install peperflash in chromium browser but it asks for gksu. I have run sudo apt-get install gksu but it says ...