Re: X11 forwarding with headless Ubuntu host with podman

Christian Gelinek <[email protected]>
Newsgroups gmane.linux.debian.user
Message-ID <[email protected]>

On 25/5/26 16:33, Geert Stappers wrote:
> On Mon, May 25, 2026 at 03:47:14PM +0930, Christian Gelinek wrote:
>>
>> 5. I'd like to `ssh -Y localadmin@octopus` from "gar" and then start a
>> podman container with `xeyes` in it and be able to see it on my screen on
>> "gar".
> 
> (
>    Here  a `ssh -X  server` user.
>    According `man ssh` are  `ssh -X`  and `ssh -Y` simular.
> )
>   
> 
> Acknowledge on 'podman container with `xeyes` in it'
> 

I just tried `ssh -X localadmin@marlin` and it works just as well as 
with -Y.

> 
> Ideas:
> 
> * Compare working and non-working setup further

What would you suggest to compare?

> * Tell more about the actual use case.

I have some software with X11 GUI I'd like to run inside podman 
containers on machine octopus. The octopus host itself should be as 
minimal and as disposable as practical and only be used as a gateway to 
the software in the containers.  Previously it was enough to have a few 
real metal PCs (like marlin) with a full-blown desktop environment but 
recently the number of OS variants has been increasing and I'd like to 
save resources by using containers instead, where I'm hoping that trying 
& installing new OS distributions and versions would be less hassle and 
costly than dealing with real metal for each combination.

Thanks for your time,
Christian
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.