0

I'm trying to run wpe-webkit-mir-kiosk into Ubuntu Core under a Proxmox VE virtual machine.

I did the following.

# Define VMID variable
VMID=125

Create VM with UEFI (OVMF)

qm create $VMID --memory 2048 --cores 2 --name ubuntu-core-kiosk --net0 virtio,bridge=vmbr0 --bios ovmf

Configure graphic card

qm set $VMID --vga virtio,memory=128 qm set $VMID --vga std --machine q35

Activate tablet mode

qm set $VMID --tablet 1

Download and uncompress Ubuntu Core 24 image

wget https://cdimage.ubuntu.com/ubuntu-core/24/stable/current/ubuntu-core-24-amd64.img.xz unxz ubuntu-core-24-amd64.img.xz

Verify available storage pools

pvesm status

Import disk (replace STORAGE_POOL with your own storage pool)

STORAGE_POOL=local-lvm qm importdisk $VMID ubuntu-core-24-amd64.img $STORAGE_POOL

Attach disk to VM

qm set $VMID --scsihw virtio-scsi-pci --scsi0 $STORAGE_POOL:vm-$VMID-disk-0

Configure boot order

qm set $VMID --boot c --bootdisk scsi0

Add an EFI disk

qm set 125 --efidisk0 $STORAGE_POOL:0,pre-enrolled-keys=0

Remove image file

rm ubuntu-core-24-amd64.img

Start VM

qm start $VMID

Ubuntu Core 24 on 192.168.1.64 (tty1)

   DSA     SHA256:.......
   ECDSA   SHA256:.......
   ED25519 SHA256:.......
   RSA     SHA256:.......

To login:

   ssh s-cls@192.168.1.64
   ssh s-cls@ipv6-address

Personalize your account at https://login.ubuntu.com.

Connexion SSH

> ssh s-cls@192.168.1.64

The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.

Welcome to Ubuntu Core 24

  • Documentation: https://ubuntu.com/core/docs

This is a pre-built Ubuntu Core image. Pre-built images are ideal for exploration as you develop your own custom Ubuntu Core image.

To learn how to create your custom Ubuntu Core image, see our guide:

  • Getting Started: https://ubuntu.com/core/docs/get-started

In this image, why not create an IoT web-kiosk. First, connect a screen, then run:

snap install ubuntu-frame wpe-webkit-mir-kiosk snap set wpe-webkit-mir-kiosk url=https://ubuntu.com/core

For more ideas, visit:

  • First steps: https://ubuntu.com/core/docs/first-steps

s-cls@localhost:~$

I tried

snap install ubuntu-frame wpe-webkit-mir-kiosk
snap set wpe-webkit-mir-kiosk url=https://ubuntu.com/core

but nothing appears on screen (noVNC console in Proxmox VE).

I only have a black screen

I noticed that

s-cls@localhost:~$ snap stop mir-kiosk
Stopped.
s-cls@localhost:~$ snap start mir-kiosk
Started.

is changing screen color to orange/brown and black but I never see the expected webpage (ie https://ubuntu.com/core ) .

Any idea?

scls
  • 103
  • 4

0 Answers0