Koxi CLX on each TTY

5ulo

New Member
Sep 16, 2024
1
0
1
Hi, so I successfully managed to have Kodi working with HW acceleration with HDMI out thanks to tteck proxmox helper script. The problem is that Kodi is running on each TTY, not only TTY7. So I am not able to switch to TTY1 with physical keyboard and log to proxmox.

here is my 106.conf
Code:
arch: amd64
cores: 4
cpulimit: 4
features: nesting=1,keyctl=1
hostname: kodi
memory: 4096
net0: name=eth0,bridge=vmbr0,gw=10.1.1.1,hwaddr=BC:24:11:81:DB:A9,ip=10.1.1.105/24,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-106-disk-0,size=64G
swap: 512
unprivileged: 1
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
lxc.mount.entry: /dev/fb0 dev/fb0 none bind,optional,create=file
lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
lxc.mount.entry: /dev/dri/renderD128 dev/renderD128 none bind,optional,create=file
lxc.cgroup2.devices.allow: c 4:7 rwm
lxc.mount.entry: /dev/tty7 dev/tty7 none bind,optional,create=file
lxc.mount.entry: /dev/console dev/console none bind,optional,create=file
lxc.cgroup2.devices.allow: c 5:1 rwm
lxc.cgroup2.devices.allow: c 13:* rwm
lxc.mount.entry: /dev/input dev/input none bind,optional,create=dir
lxc.cgroup2.devices.allow: c 116:* rwm
lxc.mount.entry: /dev/snd dev/snd none bind,optional,create=dir
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 5
lxc.idmap: g 5 5 1
lxc.idmap: g 6 100006 23
lxc.idmap: g 29 29 1
lxc.idmap: g 30 100030 14

I found somewhere that I need specify tty0 too, so I tried to attach these two lines
Code:
lxc.mount.entry: /dev/tty0 dev/tty0 none bind,optional,create=file
lxc.cgroup2.devices.allow: c 4:0 rwm

This makes the situation very different - I am able to switch between TTYs 1-6.. I see login for proxmox. On TTY7 is only black screen. Although kodi container is running, kodi itself isnt
Code:
root@kodi:~# ps aux | grep kodi
avahi        104  0.0  0.0   7712  3968 ?        Ss   18:17   0:00 avahi-daemon: running [kodi.local]
root         709  0.0  0.0   3472  1792 pts/1    S+   18:33   0:00 grep --color=auto kodi

So.. what am I missing or doing wrong? I want to have Kodi sitting only on TTY7. I am a bit lost here.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!