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 -"?