[SOLVED] - Open as root not working

Forum rules
Before you post please read how to get help
Post Reply
rubindaija
Level 1
Level 1
Posts: 3
Joined: Wed Jan 31, 2018 7:41 am

[SOLVED] - Open as root not working

Post by rubindaija » Sat Feb 17, 2018 6:49 am

Hello,

I have Linux Mint 18.3 and when I try anywhere on y computer to right click and use open ass root it simply does not work. The option is there I click it but nothing happens. Could you please tell me on how I can solve it?

Thank you for your help. I wrote gksudo thunar in the terminal. It prompted me to install the package as I did not have it and after that everything was working perfectly normal again.
Last edited by rubindaija on Sun Feb 18, 2018 6:19 pm, edited 1 time in total.

User avatar
Pjotr
Level 20
Level 20
Posts: 10771
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Open as root not working

Post by Pjotr » Sat Feb 17, 2018 7:04 am

Try this:

Code: Select all

gksudo thunar
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Termy
Level 5
Level 5
Posts: 762
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: Open as root not working

Post by Termy » Sat Feb 17, 2018 10:53 am

Can you open up a terminal and then run your file manager from there, then once again try that right-click feature, and post us any output you get. If you use thunar, then it's just a case of opening the terminal and entering thunar.
Here to help.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/channel/UCfp-lN ... naEE6NtDSg
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife

rubindaija
Level 1
Level 1
Posts: 3
Joined: Wed Jan 31, 2018 7:41 am

Re: Open as root not working

Post by rubindaija » Sun Feb 18, 2018 5:04 am

I opened thunar through the terminal and got this warning message.
Screenshot_2018-02-18_12-03-05.png
I tried then again to do the right click open as root but it did not work.

User avatar
Termy
Level 5
Level 5
Posts: 762
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: Open as root not working

Post by Termy » Sun Feb 18, 2018 8:41 am

How bizarre. I was just reading about squelching those errors yesterday. :roll: They're supposedly harmless messages, just annoying to see. I have a function which can be used to blank out undesireable messages like this:

https://github.com/terminalforlife/bash ... ctions#L41

Don't panic, it's not something you need to actually use.

Maybe this thread could help you: viewtopic.php?f=47&t=263770&p=1432658#p1432285

Unfortunately, this error messages doesn't seem to relate to gaining root privileges, so is probably a separate (non-)issue. :|

Do you by any chance have the gksu package installed? which gksu gksudo Run that command, and if you see something like what's below, then they're installed. I'm fairly sure they come with Mint and other GUI-orientated distributions as standard.

Code: Select all

$ which gksu gksudo
/usr/bin/gksu
/usr/bin/gksudo
I'm just guessing that right-click and open as root thing uses gksu/gksudo to gain root privileges.
Here to help.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/channel/UCfp-lN ... naEE6NtDSg
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife

Post Reply

Return to “Xfce”