Run snap VLC as root user

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
Installed VLC through snap. Installed version is 3.0. I tried to change getuid / geteuid to getppid in /snap/bin/vlc-wrapper but could edit the file. So, how to run vlc installed through snap as root user in Ubuntu 16.04?
root vlc snap
add a comment |Â
up vote
0
down vote
favorite
Installed VLC through snap. Installed version is 3.0. I tried to change getuid / geteuid to getppid in /snap/bin/vlc-wrapper but could edit the file. So, how to run vlc installed through snap as root user in Ubuntu 16.04?
root vlc snap
1
Why do you want to run vlc as root?
â popey
Mar 21 at 11:59
2
Running VLC or other user-space programs is a wrong fix to (almost) all problems.
â Soren A
Mar 21 at 12:06
It's my personal computer. I do a lot of installs and removes for testing softwares. So, most of the time I am logged in as root. And sometime I feel like watching videos without logging out and logging in again as normal user. So, want to run vlc as root.
â Nitesh Apte
Mar 21 at 12:12
correction - "but could edit the file" will be "but could not edit the file"
â Nitesh Apte
Mar 21 at 15:39
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Installed VLC through snap. Installed version is 3.0. I tried to change getuid / geteuid to getppid in /snap/bin/vlc-wrapper but could edit the file. So, how to run vlc installed through snap as root user in Ubuntu 16.04?
root vlc snap
Installed VLC through snap. Installed version is 3.0. I tried to change getuid / geteuid to getppid in /snap/bin/vlc-wrapper but could edit the file. So, how to run vlc installed through snap as root user in Ubuntu 16.04?
root vlc snap
root vlc snap
asked Mar 21 at 11:51
Nitesh Apte
115
115
1
Why do you want to run vlc as root?
â popey
Mar 21 at 11:59
2
Running VLC or other user-space programs is a wrong fix to (almost) all problems.
â Soren A
Mar 21 at 12:06
It's my personal computer. I do a lot of installs and removes for testing softwares. So, most of the time I am logged in as root. And sometime I feel like watching videos without logging out and logging in again as normal user. So, want to run vlc as root.
â Nitesh Apte
Mar 21 at 12:12
correction - "but could edit the file" will be "but could not edit the file"
â Nitesh Apte
Mar 21 at 15:39
add a comment |Â
1
Why do you want to run vlc as root?
â popey
Mar 21 at 11:59
2
Running VLC or other user-space programs is a wrong fix to (almost) all problems.
â Soren A
Mar 21 at 12:06
It's my personal computer. I do a lot of installs and removes for testing softwares. So, most of the time I am logged in as root. And sometime I feel like watching videos without logging out and logging in again as normal user. So, want to run vlc as root.
â Nitesh Apte
Mar 21 at 12:12
correction - "but could edit the file" will be "but could not edit the file"
â Nitesh Apte
Mar 21 at 15:39
1
1
Why do you want to run vlc as root?
â popey
Mar 21 at 11:59
Why do you want to run vlc as root?
â popey
Mar 21 at 11:59
2
2
Running VLC or other user-space programs is a wrong fix to (almost) all problems.
â Soren A
Mar 21 at 12:06
Running VLC or other user-space programs is a wrong fix to (almost) all problems.
â Soren A
Mar 21 at 12:06
It's my personal computer. I do a lot of installs and removes for testing softwares. So, most of the time I am logged in as root. And sometime I feel like watching videos without logging out and logging in again as normal user. So, want to run vlc as root.
â Nitesh Apte
Mar 21 at 12:12
It's my personal computer. I do a lot of installs and removes for testing softwares. So, most of the time I am logged in as root. And sometime I feel like watching videos without logging out and logging in again as normal user. So, want to run vlc as root.
â Nitesh Apte
Mar 21 at 12:12
correction - "but could edit the file" will be "but could not edit the file"
â Nitesh Apte
Mar 21 at 15:39
correction - "but could edit the file" will be "but could not edit the file"
â Nitesh Apte
Mar 21 at 15:39
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017920%2frun-snap-vlc-as-root-user%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Why do you want to run vlc as root?
â popey
Mar 21 at 11:59
2
Running VLC or other user-space programs is a wrong fix to (almost) all problems.
â Soren A
Mar 21 at 12:06
It's my personal computer. I do a lot of installs and removes for testing softwares. So, most of the time I am logged in as root. And sometime I feel like watching videos without logging out and logging in again as normal user. So, want to run vlc as root.
â Nitesh Apte
Mar 21 at 12:12
correction - "but could edit the file" will be "but could not edit the file"
â Nitesh Apte
Mar 21 at 15:39