-
Notifications
You must be signed in to change notification settings - Fork 661
Providing graphical lima example #1002
Replies: 3 comments · 12 replies
-
Here is one example of a customized instance (of this template), where I added a background image (jammy) and a bottom panel:
Configured as per documentation: http://openbox.org/wiki/Help:Autostart https://aanatoly.github.io/fbpanel/docs.html Alternatively: https://ice-wm.org/manual/ |
Beta Was this translation helpful? Give feedback.
All reactions
-
The xfce variant would look something like this: It can be installed as the "xubuntu-desktop" task. |
Beta Was this translation helpful? Give feedback.
All reactions
-
I am new to lima virtualization framework and I wanted to thank you for making such a great piece of software. My device is: and the target would be something like: Appreciate any help. |
Beta Was this translation helpful? Give feedback.
All reactions
-
I managed to succesfully create a graphical instance of almalinux using the lima-GUI tool (via the quick creator) by selecting qemu, x86_64 and video = default. Unfortunately using the cli did not work. This is what I tried:
the output i get form the last one:
this is what i see in the display: and here is the content of the file ha.stderr.log:
the same is true if I use another template such a rocky-9 and since there are |
Beta Was this translation helpful? Give feedback.
All reactions
-
You can edit the yaml file directly, if you can't get the yq (or flags) to work There should examples in the default.yaml |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks for your reply. # This template requires Lima v0.11.1 or later.
images:
- location: "https://dl.rockylinux.org/pub/rocky/9.5/images/x86_64/Rocky-9-GenericCloud-Base-9.5-20241118.0.x86_64.qcow2"
arch: "x86_64"
digest: "sha256:069493fdc807300a22176540e9171fcff2227a92b40a7985a0c1c9e21aeebf57"
# No 20240609.1 for aarch64
- location: "https://dl.rockylinux.org/pub/rocky/9.5/images/aarch64/Rocky-9-GenericCloud-Base-9.5-20241118.0.aarch64.qcow2"
arch: "aarch64"
digest: "sha256:5443bcc0507fadc3d7bd3e8d266135ab8db6966c703216933f824164fd3252f1"
# Fallback to the latest release image.
# Hint: run `limactl prune` to invalidate the cache
- location: "https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
arch: "x86_64"
- location: "https://dl.rockylinux.org/pub/rocky/9/images/aarch64/Rocky-9-GenericCloud.latest.aarch64.qcow2"
arch: "aarch64"
mountTypesUnsupported: ["9p"]
mounts:
- location: "~"
- location: "/tmp/lima"
writable: true
arch: x86_64
memory: 12GiB
disk: 64GiB
video:
display: default unfortunately still hang on the installation process at the step:
and this is the result from the serial.log file
|
Beta Was this translation helpful? Give feedback.
All reactions
-
for comparison this is the yaml template that I see when I check to inspect the graphical almalinux instance that did work: images:
- location: "https://dl-cdn.alpinelinux.org/alpine/v3.21/releases/cloud/nocloud_alpine-3.21.2-x86_64-uefi-cloudinit-r0.qcow2"
arch: "x86_64"
digest: "sha512:1aaf22b4a584e69e228e6aa38a295159c0143d9ccebe7ad4928e92b414714066af3bfe5f9e0ca4d4d64a70ca9fea09033af90258a6f2344130d70b660151127a"
- location: "https://dl-cdn.alpinelinux.org/alpine/v3.21/releases/cloud/nocloud_alpine-3.21.2-aarch64-uefi-cloudinit-r0.qcow2"
arch: "aarch64"
digest: "sha512:08d340126b222abae651a20aa63c3ee3dc601d703de7879d2a6bc1fe82a3664d058a2c55ad0cf8a874327f7535e3af8a9384ce438217d6f32200cad1462a5b32"
mounts:
- location: "~"
- location: "/tmp/lima"
writable: true
# The built-in containerd installer does not support Alpine currently.
containerd:
system: false
user: false
vmType: qemu
arch: x86_64
memory: 12GiB
disk: 64GiB
video:
display: default |
Beta Was this translation helpful? Give feedback.
All reactions
-
The issues with CPU type was mentioned in fairly recent issue, can't use "qemu64" for RHEL since it is only v1 - and not v2/v3 cpuType:
x86_64: "max" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was doing an example file for graphical login, that is when you run qemu with a display...
But it seems a bit much to run ubuntu-desktop (gnome), or even alpine (historically: xfce)
What would be relevant to show here ? The target user pretty much only wants "xterm".
I was thinking of something like openbox or icewm, similar to the Tiny Core Linux desktop.
http://tinycorelinux.net/screenshots.html
(why TCL? docker-machine was using it)
The default setup just shows a black window (640x480), waiting for the user to right-click on it:
Then there was also the question of password, or "how to log in"...
Contemplated adding
xdm
to it, but it doesn't do auto-login anyway.Using
gdm
is very bloated, andlightdm
didn't work (for some reason)The current workaround was
passwd
from shell, andstartx
from console.Here was the base config:
Idea was just to have an example, a simple "desktop" with a session (and xterm!)
Beta Was this translation helpful? Give feedback.
All reactions