[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-list
Subject: Re: X11 connection rejected
From: "Patrick Dupre" <pdupre () gmx ! com>
Date: 2020-02-07 11:02:12
Message-ID: trinity-023268ee-802b-4ed7-ba60-b4086fea248b-1581073332098 () 3c-app-mailcom-bs14
[Download RAW message or body]
===========================================================================
Patrick DUPRÉ | | email: pdupre@gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988
===========================================================================
> > On a machine I can ssh -X and run xclock for example, but
> > sudo system-config-users
> > gives
> >
> > (process:5034): Gtk-WARNING **: 14:59:07.212: Locale not supported by C
> > library. Using the fallback 'C' locale.
> > X11 connection rejected because of wrong authentication.
> > system-config-users requires a currently running X server.
> > GtkWarning: 'could not open display'
> >
> >
> > Is there a solution?
>
> 1. system-config-users already has it's own method to elevate privilege, so
> no need for sudo
When logged:
$ system-config-users
Error executing command as another user: Not authorized
$ sudo system-config-users
X11 connection rejected because of wrong authentication.
system-config-users requires a currently running X server.
GtkWarning: 'could not open display'
> 2. ssh root@host system-config-users
ssh pdupre@192.168.14.154 system-config-users
Error executing command as another user: Not authorized
This incident has been reported.
ssh -X pdupre@192.168.14.154 system-config-users
pdupre@192.168.14.154's password:
Error executing command as another user: Not authorized
This incident has been reported
ssh -X root@192.168.14.154 system-config-users
as for a root password.
There is no root.
Do I need to create a root user?
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-leave@lists.fedoraproject.org
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic