Nusrat Nuriyev
asked on
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.
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.
Why you need a terminal for GUI program?
Run command & and it is no longer bound to terminal.
Run command & and it is no longer bound to terminal.
ASKER
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).
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).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Accepted.
gnome equivalent is gksu
or you can make sudo to not reset $DISPLAY and $HOME.
or you can make sudo to not reset $DISPLAY and $HOME.
ASKER
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?
Well read manual pages on your system.
Would you be satisfied running the 10 programs from one terminal?