Skip to content

Add documentation on how to run graphical applications #989

Open
@afbjorklund

Description

@afbjorklund

Description

Currently lima has information on how to run a command-line application.

Either using the nerdctl.lima wrapper, or starting it from the lima shell.

But there is no example on how to run a GUI app, for instance over X11 ?

This can be done both in the QEMU display, or remotely over SSH shell.

  1. Typical local qemu DISPLAY: :0 (from startx)

  2. Typical remote host DISPLAY: localhost:10.0 (from ssh -X)

Both approaches require some setup of the VM, and some added docs.

See discussion:

Boot2Docker X11:


Preferrably, this should link to more generic documentation for containers.

For instance, accessing the applications with x11docker --backend=nerdctl.

The VM doesn't have so many "secrets" to leak, but the host X11 (alt 2) might

There is lots of detailed info available at: https://github.com/mviereck/x11docker

This command (x11docker) provides improved security, over the more naive approach:

https://github.com/mviereck/x11docker/wiki/Short-setups-to-provide-X-display-to-container

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions