You are not logged in.

#1 2015-01-21 16:51:18

sant527
Member
Registered: 2009-06-21
Posts: 273

[solved] systemd-nspawn how to use X environment from the container

I have a container with firefox installed in it.

I want to run firefox inside the container. for X environment i followed "https://wiki.archlinux.org/index.php/Ch … rom_chroot"

On the host i ran

"xhost +local:"

Inside the container i did "export DISPLAY=:0"

I ran the command firefox.

[root@Mycontainer ~]# firefox

(process:847): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(firefox:847): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
Segmentation fault (core dumped)

Last edited by sant527 (2015-01-21 17:13:34)

Offline

#2 2015-01-21 17:13:02

sant527
Member
Registered: 2009-06-21
Posts: 273

Re: [solved] systemd-nspawn how to use X environment from the container

After installing the ttf-dejavu package firefox started working

Offline

Board footer

Powered by FluxBB