Hello,
I trying to install a working fc8 environment into a with chroot using mock.
I have installed mock-rpmfusion-free , modify the config file fedora-8-x86_64-rpmfusion_free.cfg into fchroot-edora-8-x86_64-rpmfusion_free.cfg where modifying the following line in order to have the base packtets installled.
Quote:
|
config_opts['chroot_setup_cmd'] = 'groupinstall Base'
|
Code:
mock --init -v -r chroot-fedora-8-x86-64-rpmfusion_free
I first installed vlc
Code:
mock --install vlc vlc-core -v -r chroot-fedora-8-x86-64-rpmfusion_free
Unfortunatly I can't open vlc :
Code:
mock --shell 'su -' -r chroot-fedora-8-x86_64-rpmfusion_free
to start the chroot.
Unfortunatly, I can not start vlc with a display
Code:
[root@RIO ~]# mock --shell 'su -' -r chroot-fedora-8-x86_64-rpmfusion_free
INFO: mock.py version 0.9.16 starting...
State Changed: init plugins
State Changed: start
State Changed: lock buildroot
-bash-3.2# vlc
VLC media player 0.8.7 Janus
starting VLC root wrapper... using UID 0 (root)
***************************************
* Running VLC as root is discouraged. *
***************************************
It is potentially dangerous, and might not even work properly.
Error: Unable to initialize gtk, is DISPLAY set properly?
Any idea on how to intialize gtk ?