Ask Your Question
0

can't run vlc media player in root user.

asked 2014-04-15 06:42:22 -0500

nks gravatar image

updated 2014-04-15 09:21:08 -0500

mether gravatar image

I've installed vlc media player on a non-root user (it works fine), but when i'm playing the vlc media player in root user it didn't run. I'm using Fedora 20 KDE 32 bit.

Any reply will be highly obliged. Thank you....................

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2014-04-15 07:19:23 -0500

fidelleon gravatar image

Why do you need to run anything but admin tools as root...? Whatever:

# vlc
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).
edit flag offensive delete link more
3

answered 2014-04-15 13:02:09 -0500

mmellon1 gravatar image

updated 2014-04-15 13:47:00 -0500

In many cases, and this is stated on pretty much every Linux beginner's site out there, it highly recommended to NOT use the root account for everyday activities. Unless you're a network administrator or performing system maintenance often enough that using "sudo" with a regular user seems impractical, there's more or less no reason to really use the root account. Also, in the highly unlikely event that someone breaches your system, performing everyday tasks as root could leave your system wide open to all sorts of threats and exploits. I use Fedora both at work and at home, and I rarely EVER need to use the root account.

Even though Fedora allows you to log in as root, it's not recommended. You are bound to run into functionality issues.

Just my two cents.

-Mark

EDIT: come to think of it, I do actually use the root account when I partition and format disks from the command line using fdisk or when I use dd to burn bootable thumb drives, but even then, I only do that about once a month, if that. The last Live USB I burned was the Ubuntu 14.04 final beta last week, and before that was Arch Linux back in February. Still :-P

edit flag offensive delete link more

Comments

1

Good answer! There are specific activities that need root permissions, anything else is intended to be run as a normal user.

randomuser gravatar imagerandomuser ( 2014-04-15 13:56:00 -0500 )edit

i did not get my answer

nks gravatar imagenks ( 2014-04-24 16:48:39 -0500 )edit
1

No, you didn't get the answer you WANTED. Almost all front-end user applications are not intended to be run as root. There is really no way around that. Your only choice is to create a standard user and utilize the "sudo" command for anything requiring root privileges. Or maybe Linux just isn't for you. There's no magical fix. Besides, from the way you're asking, it sounds like bombing around as root will eventually actually cause more harm than good.

mmellon1 gravatar imagemmellon1 ( 2014-04-25 07:53:46 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-04-15 06:42:22 -0500

Seen: 1,147 times

Last updated: Apr 15 '14