Hello,
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?
Thanks =========================================================================== 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 ===========================================================================
Patrick Dupre wrote:
Hello,
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
2. ssh root@host system-config-users
=========================================================================== 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?
- 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'
- 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
On Thu, 6 Feb 2020 at 16:02, Patrick Dupre pdupre@gmx.com wrote:
Hello,
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?
Either become a maintainer and fix system-config-users find another GUI tool.
bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1778407 says:
This package was removed from Fedora [31] as there was no active maintainer and the code failed to build (bug 1676111 https://bugzilla.redhat.com/show_bug.cgi?id=1676111).
If you like to see this package in Fedora please consider becoming a Fedora maintainer. See https://fedoraproject.org/wiki/Orphaned_package_that_need_new_maintainers#Cl... for further information.
For decades I have been using simple scripts calling commnd-line tools (e.g., useradd on Fedora 31) with arguments customized for the user id's, groups, etc. defined for a particular site. This has worked for me on Sun, SGI, NeXT, RHEL, Debian, Gentoo, Fedora, Ubunto, Mint, and others.
Thanks
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 =========================================================================== _______________________________________________ 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
On 2020-02-07 19:02, Patrick Dupre wrote:
=========================================================================== 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?
- 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'
- 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?
Seriously, you need to supply more information than you've revealed thus far.
What version of Fedora are you running on the system you which to ssh to?
Can you do the most basic? "ssh root@192.168.14.154" ?
If you are logged into the 192.168.14.154 can you "su -"?
=========================================================================== 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 ===========================================================================
(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?
- 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'
- 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?
Seriously, you need to supply more information than you've revealed thus far.
What version of Fedora are you running on the system you which to ssh to?
Linux Eschyle 5.4.17-100.fc30.x86_64 #1 SMP Sat Feb 1 19:15:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Can you do the most basic? "ssh root@192.168.14.154" ?
If you are logged into the 192.168.14.154 can you "su -"?
I did not create any root on this machine. Do I need to do it? All root connections fail (from he machine of from remote).
-- The key to getting good answers is to ask good questions. _______________________________________________ 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
On 2020-02-08 02:16, Patrick Dupre wrote:
I did not create any root on this machine. Do I need to do it? All root connections fail (from he machine of from remote).
I believe that starting with the installed of Fedora Workstation F30 the root account is created but disabled. There is no root password.
So, you have to login to the system with the account you've designated as an administrator and then give it a password. I think, based on what you've said, that account is pdupre.
So.....
ssh pdupre@whateverhost
then
sudo passwd root
I tried to log in root with my passwd (administrator), but without success. I will try again.
=========================================================================== 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 2020-02-08 02:16, Patrick Dupre wrote:
I did not create any root on this machine. Do I need to do it? All root connections fail (from he machine of from remote).
I believe that starting with the installed of Fedora Workstation F30 the root account is created but disabled. There is no root password.
So, you have to login to the system with the account you've designated as an administrator and then give it a password. I think, based on what you've said, that account is pdupre.
So.....
ssh pdupre@whateverhost
then
sudo passwd root
-- The key to getting good answers is to ask good questions. _______________________________________________ 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
On 2020-02-08 05:23, Patrick Dupre wrote:
I tried to log in root with my passwd (administrator), but without success. I will try again.
That isn't what I suggested you do.....
I indicated you should login as yourself. Then "sudo passwd root" to give the root user account a password.
Then to test do "su -" to become root.