This is probably not equivalent, but similar -
In the chroot, install firejail, then run (as user)
Code: Select all
firejail --seccomp Xephyr :1 -screen 1024x768 -resizeable & sleep 2 ; icewm --display=:1
Code: Select all
firejail --seccomp Xephyr :1 -screen 1024x768 -resizeable & sleep 2 ; icewm --display=:1
Unfortunately, LXC is a complex beastiefsmithred wrote:explain how to use lxc in a few easy steps
Code: Select all
debootstrap sid /var/lib/container/sid http://httpredir.debian.org/debian
systemd-nspawn --boot --directory=/var/lib/container/sid
DISPLAY=:0 kodi
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: i965
libEGL warning: DRI2: could not open /dev/dri/card0 (No such file or directory)
Terminated
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...
You need to add some extra flags to systemd-npawn to allow hardware acceleration in the container.bester69 wrote:Ive got this error, any idea how can i fix it?
I used this, and still same error:Head_on_a_Stick wrote:You need to add some extra flags to systemd-npawn to allow hardware acceleration in the container.bester69 wrote:Ive got this error, any idea how can i fix it?
This guide explains how:
https://maci0.wordpress.com/2014/05/02/ ... idgin-vlc/
Code: Select all
sudo systemd-nspawn --bind /tmp/.X11-unix:/tmp/.X11-unix \
--bind=/dev/shm:/dev/shm --bind=/dev/dri:/dev/dri \
--bind=/run/user/${UID}/pulse:/run/user/${UID}/pulse \
--boot -D /media/buster
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...
Looks like you may also need `dbus-launch` before the `kodi` command as well but I've never actually tried this (what exactly is wrong with v17.1?) so if you can figure it out please post back with details for the benefit of others.My link wrote:make sure the OS image you use has the opengl libs for your physical video card, in the steam container the mesa libs are pre-installed
ok Head, It really doesn matter, I was testing the systemd-nspawn you told me, but i see i cant make it work, so I will keep using chroot, that works great.. , dont waste more time with this; thanks againHead_on_a_Stick wrote:^Looks like you may also need `dbus-launch` before the `kodi` command as well but I've never actually tried this (what exactly is wrong with v17.1?) so if you can figure it out please post back with details for the benefit of others.My link wrote:make sure the OS image you use has the opengl libs for your physical video card, in the steam container the mesa libs are pre-installed
Otherwise, use stevepusser's binary package instead perhaps?
Code: Select all
Unpacking dbus-x11 (1.12.2-1) ...
Setting up dbus-x11 (1.12.2-1) ...
root@buster:~# su puigdemont -c "DISPLAY=:0 QT_X11_NO_MITSHM=1 dbus-launch /usr/bin/kodi --no-qt-privacy-ask"
ALSA lib conf.c:4974:(snd_config_expand) Unknown parameters CARD=Intel,DEV=0
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51:CARD=Intel,DEV=0
ALSA lib conf.c:4974:(snd_config_expand) Unknown parameters CARD=Intel,DEV=0
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71:CARD=Intel,DEV=0
ALSA lib confmisc.c:767:(parse_card) cannot find card 'Intel'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM sysdefault:CARD=Intel
ALSA lib confmisc.c:767:(parse_card) cannot find card 'Intel'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default:CARD=Intel
ALSA lib conf.c:4974:(snd_config_expand) Unknown parameters CARD=Intel,DEV=0
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front:CARD=Intel,DEV=0
libGL error: failed to open drm device: Operation not permitted
libGL error: failed to load driver: i965
libEGL warning: DRI2: could not open /dev/dri/card0 (Operation not permitted)
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...
Code: Select all
#mount -t devtmpfs /dev $chrootdir/dev -o bind
Code: Select all
#mount -t devpts /dev/pts $chrootdir/dev/pts
#mount -t tmpfs /dev/shm $chrootdir/dev/shm
Code: Select all
cat /etc/mtab
Code: Select all
apt-get update
apt-get install live-boot
apt-get install squashfs-tools
mkdir /live
cd /live
mkdir etc
mksquashfs etc filesystem.squashfs
rmdir etc
cd /
echo / union >persistence.conf
echo >>persistence.conf
e2label /dev/sda1 persistence
Code: Select all
menuentry 'live-boot' {
set root=(hd0,1)
linux /vmlinuz boot=live persistence persistence-read-only
initrd /initrd.img
}
Code: Select all
update-grub