[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-list
Subject:    Re: X11 connection rejected
From:       Ed Greshko <ed.greshko () greshko ! com>
Date:       2020-02-07 14:00:18
Message-ID: aa72589a-502b-4062-1039-5ce9049e006c () greshko ! com
[Download RAW message or body]

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

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


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic