On 2020-02-07 19:02, Patrick Dupre wrote: > > =========================================================================== > Patrick DUPRÉ | | email: [email protected] > 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 [email protected] system-config-users > Error executing command as another user: Not authorized > This incident has been reported. > > ssh -X [email protected] system-config-users > [email protected]'s password: > Error executing command as another user: Not authorized > This incident has been reported > > ssh -X [email protected] 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 [email protected]" ? If you are logged into the 192.168.14.154 can you "su -"? -- The key to getting good answers is to ask good questions. _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected]
