Run a GUI program from root account withour needing to run terminal.

Hi,

How to run a command from root without terminal?

Image a want to run 10 GUI programs from root.
This means I have to have useless 10 terminals open.
This is a real mess.

Operating system is Fedora Core 20.

Thanks.
Nusrat NuriyevAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ozoCommented:
What do you want to use instead of terminal?
Would you be satisfied running the 10 programs from one terminal?
0
gheistCommented:
Why you need a terminal for GUI program?
Run command & and it is no longer bound to terminal.
0
Nusrat NuriyevAuthor Commented:
ozo, no. Simultaniously.

gheist , because I want to run it as root.
When I start GUI programs it from menu(left bottom corner "F" sign) it starts as a usual user.

The solution is to press Alt+F2, type command and then press settings type root and password then execute.

The question is how I can run GUI programs from root by default, however other programs (non-gui ) will still run as it has been logged in. (i don't want to log in to the system as a root).
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

gheistCommented:
It seems you run kde.
Yes, just prepend them with "kdesu" and they will run as root.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Nusrat NuriyevAuthor Commented:
Accepted.
0
gheistCommented:
gnome equivalent is gksu
or you can make sudo to not reset $DISPLAY and $HOME.
0
Nusrat NuriyevAuthor Commented:
or you can make sudo to not reset $DISPLAY and $HOME.
1. Does this part apply to gnome?
2. What is $DISPLAY and why echo $DISPLAY gives me an empty string?
0
gheistCommented:
Well read manual pages on your system.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.