I need someone to tell me if what i try to do is possible, and if so give a hint on how...
There are two problematic underdeveloped programs i need that only is available in 32 bit.
One is for banking somewhat complicated setup alrady on an 32 bit linux system
The other is bricscad that need many 32 bit libs, and proprietary driver.. and still crash for me anyway...
I have tried installing 32 bit libs etc in my 64 bit system but gave up, like most other users of same programs.
But lets leave the detalis on that trials there: viewtopic.php?f=8&t=2307
I decided to instead mange a 32 bit chrooted environment.
Thaks to the great urpmi and instructions at https://wiki.mageia.org/en/Chroot,
I have come so far as i can start a GUI program in the chrooted environment into a window in the host environment.
But two problems so far:
1) even when i run the host window full screen, the program only use less than 1/4 of the screen, top left
I guess i should look up settings for Xephyr? But any hint would help, especially how to make programs use really full screen.
2) the important program must have nvidia proprietary driver
I tried to in chroot use mcc>hardware>graphics and it suggested the right driver downloaded and failed.
I guess it is becayse it wants to install the 32 bit driver, but the kernel it runs on actually is the 64 bit host one.
Is that possible to solve?
3) Is it possible to start the whole KDE environment in chroot environment?
I tried to log out of host KDE and from a text terminal (Ctrl-Alt-F2) enter chroot and startx, but it failed on permissions (i do not remember details.)
It would be very nice to run a chrooted complete kde on one full desktop screen on host.
Here is what i have done so far, condensated:
(that 192.168.0.12 is local urpmi-proxy which i love more and more for all install trials)
- Code: Select all
# mkdir -p /mnt/chroot/mageia
# urpmi.addmedia --distrib --urpmi-root /mnt/chroot/mageia http://192.168.0.12/mageia/distrib/cauldron/i586/
# urpmi --urpmi-root /mnt/chroot/mageia basesystem urpmi locales-sv task-kde firefox nano kdiff3
# cp /etc/resolv.conf /mnt/chroot/mageia/etc/resolv.conf
# mount -o bind /proc /mnt/chroot/mageia/proc
# mount -o bind /home /mnt/chroot/mageia/home
# urpmi x11-server-xephyr
Open window in normal session as normal user
(take the whole screen, and i can change to other screens like normal by Ctrl-Alt-F{1..4})
$ Xephyr -ac :1 -fullscreen
In terminal, change to chroot and start program
# chroot /mnt/chroot/mageia
# mcc - and it displays in enter of the full screen Xephyr window

I added user, set locale, added more programs
# su myuser
$ kwrite (or whatever) it displays in part of screen only from top left
$ su
# mcc (tried installing nvidia proprietary driver, failed)