Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-07-2016, 01:28 AM   #1
LQ Newbie
Registered: Jan 2016
Posts: 1

Rep: Reputation: Disabled
Ubuntu Unity 15.10. Make launchers run with root privileges.

Hi there, first time poster, long time reader. Looking forward to contributing to the LQforums in the future. I've just moved from Windows over to Ubuntu after 6 years in software development and have not used Linux since college.

The specific application which i want to run with root privileges is tor-guard(a VPN client). It does work, however i have to get into a terminal and "sudo torguard" for the application to run, if i close the terminal, torguard also closes. Note: if i don't run torguard with root privileges i get an error.

My Question is how can i make applications in the unity launcher run as root. I've seen many examples such as , however none of these seem to work for me. I'm starting to think the torguard dev team have introduced a bug in the latest update.

Thanks for any help you might have,
Old 01-07-2016, 06:13 AM   #2
Keith Hedger
Senior Member
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,723

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Can you not use a wrapper script? e.g.
gtksu -- torguard
Replace 'gtksu -- ' with whatever you use for getting admin privileges in the gui, then just run the script.

Wlecome to LQ


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to make my Qt application to ask username and password for root privileges? rohitkamboj Linux - Software 1 02-16-2013 10:47 AM
[SOLVED] Installed application with root privileges, need to run as normal user sabresong Linux - Newbie 3 07-28-2012 06:26 PM
Make SuperUser/Root Privileges Default for Nautilus Zaileion Linux - General 13 01-25-2012 03:19 PM
run script at login that requires root privileges Eredeath Programming 13 08-04-2010 10:44 PM
Can I run yum without root privileges??? jainforall Linux - Software 3 10-22-2007 12:18 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration