Re: X11 connection rejected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-02-07 19:02, Patrick Dupre wrote:
>
> ===========================================================================
>  Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
>  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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux