Can use of âusermod -Gâ break xserver access permission?

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
Ubuntu Xfce 16.04
I've made the noob error of loosing my groups with a
usermod -G video df4ze
but immediately re-add my user to each loosed groups.
Everythings seems to work (sudo, etc...) but I was warned by a "Wrong password" when Ubuntu ask me to install new update. Not really a problem because I could update in cli mode.
Forgot aubout it, I shut it down ... and now getting stuck in recovery mode and can't launch anymore xserver :
unable to connect to xserver : connection refused
Using sudo startx it launch but got too much troubles...
I've check 4 times the removed groups with a
sudo grep group /var/log/auth.log.In
/etc/X11/Xwrapper.confsetallowed_userstoanybodyChange owner of
.Xauthorityand.ICEauthorityfor my user:groupRelaunch xserver legacy with
sudo dpkg-reconfigure xserver-xorg-legacy-hwe-16.04Seeing that error message talk about
tty, I've add my user tottygroup. Now I do not have thettyerror message but still the "connection refused"Then I ran several commands lines but still got the same issue:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get update
sudo apt-get install -f
sudo apt-get update --fix-missing
Last chance will be a rm -R / but i'm sure there is a better way!
permissions xorg
add a comment |Â
up vote
0
down vote
favorite
Ubuntu Xfce 16.04
I've made the noob error of loosing my groups with a
usermod -G video df4ze
but immediately re-add my user to each loosed groups.
Everythings seems to work (sudo, etc...) but I was warned by a "Wrong password" when Ubuntu ask me to install new update. Not really a problem because I could update in cli mode.
Forgot aubout it, I shut it down ... and now getting stuck in recovery mode and can't launch anymore xserver :
unable to connect to xserver : connection refused
Using sudo startx it launch but got too much troubles...
I've check 4 times the removed groups with a
sudo grep group /var/log/auth.log.In
/etc/X11/Xwrapper.confsetallowed_userstoanybodyChange owner of
.Xauthorityand.ICEauthorityfor my user:groupRelaunch xserver legacy with
sudo dpkg-reconfigure xserver-xorg-legacy-hwe-16.04Seeing that error message talk about
tty, I've add my user tottygroup. Now I do not have thettyerror message but still the "connection refused"Then I ran several commands lines but still got the same issue:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get update
sudo apt-get install -f
sudo apt-get update --fix-missing
Last chance will be a rm -R / but i'm sure there is a better way!
permissions xorg
No it should not AFAIK - although runningsudo startxalmost certainly will. What exactly are your groups now (i.e. the output of commandid)?
â steeldriver
Feb 8 at 13:33
Sorry for the late, Too impatient, i've taken the last solution ;) it's a fresh PC and just the 5st time I erased it...! Thanks anyway
â DFaze
Feb 13 at 21:10
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Ubuntu Xfce 16.04
I've made the noob error of loosing my groups with a
usermod -G video df4ze
but immediately re-add my user to each loosed groups.
Everythings seems to work (sudo, etc...) but I was warned by a "Wrong password" when Ubuntu ask me to install new update. Not really a problem because I could update in cli mode.
Forgot aubout it, I shut it down ... and now getting stuck in recovery mode and can't launch anymore xserver :
unable to connect to xserver : connection refused
Using sudo startx it launch but got too much troubles...
I've check 4 times the removed groups with a
sudo grep group /var/log/auth.log.In
/etc/X11/Xwrapper.confsetallowed_userstoanybodyChange owner of
.Xauthorityand.ICEauthorityfor my user:groupRelaunch xserver legacy with
sudo dpkg-reconfigure xserver-xorg-legacy-hwe-16.04Seeing that error message talk about
tty, I've add my user tottygroup. Now I do not have thettyerror message but still the "connection refused"Then I ran several commands lines but still got the same issue:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get update
sudo apt-get install -f
sudo apt-get update --fix-missing
Last chance will be a rm -R / but i'm sure there is a better way!
permissions xorg
Ubuntu Xfce 16.04
I've made the noob error of loosing my groups with a
usermod -G video df4ze
but immediately re-add my user to each loosed groups.
Everythings seems to work (sudo, etc...) but I was warned by a "Wrong password" when Ubuntu ask me to install new update. Not really a problem because I could update in cli mode.
Forgot aubout it, I shut it down ... and now getting stuck in recovery mode and can't launch anymore xserver :
unable to connect to xserver : connection refused
Using sudo startx it launch but got too much troubles...
I've check 4 times the removed groups with a
sudo grep group /var/log/auth.log.In
/etc/X11/Xwrapper.confsetallowed_userstoanybodyChange owner of
.Xauthorityand.ICEauthorityfor my user:groupRelaunch xserver legacy with
sudo dpkg-reconfigure xserver-xorg-legacy-hwe-16.04Seeing that error message talk about
tty, I've add my user tottygroup. Now I do not have thettyerror message but still the "connection refused"Then I ran several commands lines but still got the same issue:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get update
sudo apt-get install -f
sudo apt-get update --fix-missing
Last chance will be a rm -R / but i'm sure there is a better way!
permissions xorg
permissions xorg
edited Feb 8 at 0:31
muru
130k19275470
130k19275470
asked Feb 7 at 22:50
DFaze
1
1
No it should not AFAIK - although runningsudo startxalmost certainly will. What exactly are your groups now (i.e. the output of commandid)?
â steeldriver
Feb 8 at 13:33
Sorry for the late, Too impatient, i've taken the last solution ;) it's a fresh PC and just the 5st time I erased it...! Thanks anyway
â DFaze
Feb 13 at 21:10
add a comment |Â
No it should not AFAIK - although runningsudo startxalmost certainly will. What exactly are your groups now (i.e. the output of commandid)?
â steeldriver
Feb 8 at 13:33
Sorry for the late, Too impatient, i've taken the last solution ;) it's a fresh PC and just the 5st time I erased it...! Thanks anyway
â DFaze
Feb 13 at 21:10
No it should not AFAIK - although running
sudo startx almost certainly will. What exactly are your groups now (i.e. the output of command id)?â steeldriver
Feb 8 at 13:33
No it should not AFAIK - although running
sudo startx almost certainly will. What exactly are your groups now (i.e. the output of command id)?â steeldriver
Feb 8 at 13:33
Sorry for the late, Too impatient, i've taken the last solution ;) it's a fresh PC and just the 5st time I erased it...! Thanks anyway
â DFaze
Feb 13 at 21:10
Sorry for the late, Too impatient, i've taken the last solution ;) it's a fresh PC and just the 5st time I erased it...! Thanks anyway
â DFaze
Feb 13 at 21:10
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%2f1004041%2fcan-use-of-usermod-g-break-xserver-access-permission%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
No it should not AFAIK - although running
sudo startxalmost certainly will. What exactly are your groups now (i.e. the output of commandid)?â steeldriver
Feb 8 at 13:33
Sorry for the late, Too impatient, i've taken the last solution ;) it's a fresh PC and just the 5st time I erased it...! Thanks anyway
â DFaze
Feb 13 at 21:10