Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It is for security reasons. VLC usually tells you that it is not meant to be executed by root. Sometimes vlc is setup to download media information and things, so it is quite inappropriate to let vlc run with root privileges.
So it means vlc is not the only command which is not running in root user. which types of applications are not running with root user? Please also tell me from where i can learn more about it?
I am using fedora 24. I install vlc. when i run vlc command in regular user, it works but in root user vlc is working.
My question is that why vlc command is not working in root user?
..and vlc has given you the answer:
Quote:
Originally Posted by vlc
VLC is not supposed to be run as root. Sorry
why even ask?
Quote:
Originally Posted by pdixit
So it means vlc is not the only command which is not running in root user. which types of applications are not running with root user?
ok, fair enough.
as a rule of thumb:
- graphical applications
- applications connecting to the network
So it means vlc is not the only command which is not running in root user. which types of applications are not running with root user? Please also tell me from where i can learn more about it?
If this is so important for you, you must compile VLC from sources. What you need is the following option:
So it means vlc is not the only command which is not running in root user. which types of applications are not running with root user? Please also tell me from where i can learn more about it?
NO GUI applications should be run as root.
None of the GUI applications can be validated as "safe". There are a few that do use sudo for running some interface applications with connections to servers, but I don't believe these are actually GUI other than display/keyboard input - the actions are actually done by the servers, not the GUI application.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.