mock als virtuelle Maschine

Here are the required steps, first run in your host:

xhost +localhost (GUI only) + enable network connections to your X server
mock -r fedora-devel-x86_64 init
mock -r fedora-devel-x86_64 install app_you_want_to_run
cp -a /usr/share/X11/fonts /var/lib/mock/fedora-devel-x86_64/root/usr/share/X11 (GUI only)
mock -r fedora-devel-x86_64 shell

And then run in mock shell:
export DISPLAY=localhost:0.0 (GUI only)
app_you_want_to_run

This entry was posted in Fedora. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.