Re: ptyxis on remote machine

Samuel Sieb <[email protected]>
Newsgroups gmane.linux.redhat.fedora.general
Message-ID <[email protected]>
On 6/18/26 2:23 PM, Patrick Dupre via users wrote:
> Hello,
> 
> I do connect to aother PC via
> ptyxis -- ssh -X pdupre@Homere

This has nothing to do with ptyxis.  That's running locally and is just 
the container for ssh.

> xclock works fine, but not gparted.
> I get
>   localuser:root being added to access control list
> xhost:  must be on local machine to add or remove hosts.
> Error executing command as another user: No authentication agent found.
> localuser:root being removed from access control list
> xhost:  must be on local machine to add or remove hosts.
> 
> or
> sudo gparted
> X11 connection rejected because of wrong authentication.
> 
> (gpartedbin:64113): Gtk-WARNING **: 23:21:46.589: cannot open display: localhost:13.0
> 
> Can I avoid the error messages and launch gparted ?

gparted runs as root, so you need to allow root from the other end to 
connect by using "xhost" locally to grant permission.
-- 
_______________________________________________
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]
Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.