C? V?ng a ?crit :
> Well, I don't think OpenVZ is suited for desktop usage because the HN has to 
> use the same (modified) kernel as CT,
And? Isn't that great? Sharing resources means not wasting them!

> so is Xen (though the idea of paravirtualization is interesting).
Are you sure of that?? Xen, with the help of hardware support, is said
to be able to run unmodified OS (like MS-Windows). Of course I never
tried that...

> And I don't know if it will work properly with X yet.
That's simple: you need to run X on the host side.
In fact you would probably need to run the full client on host side.

> VirtualBox is okay but kinda slow. VMWare is closed. So the only one left is 
> qemu.
>   
It's not the only one left: on my side I'm using UML.
Check the user-mode-linux package.

I don't have hardware virtualization support in my old notebook so I
haven't many choices left. It's probably not the best at performance,
but I don't need that just for testing anyway. And I find it good enough
even for a full development platform (Debian here).

Also, the great thing with this one is that your "Linux OS" is running
in your host as a single process and as a normal user. Here is the
script I use to launch it on my notebook:

#!/bin/sh
exec screen -d -m -S etch \
    nice linux.uml umid=etch mem=256M fake_ide fakehd \
        ubd0=/dev/mapper/tmp-etch \
        eth0=daemon,fe:fd:00:00:00:07

Running it through screen also allows me to get the console detached and
available at anytime even from distant connection. And, yes, I'm using
LVM, even on my notebook.

Of course I have a special udev setting to give me access rights on
/dev/mapper/tmp-etch as a normal user, here it is:

# /etc/udev/rules.d/50-progfou-permissions.rules
# This causes devicemapper device "tmp-etch" to be owned by "progfou"
SUBSYSTEM!="block",        GOTO="dmsetowner_end"
KERNEL!="dm-*",            GOTO="dmsetowner_end"
ACTION!="add|change",        GOTO="dmsetowner_end"
# Obtain device status
IMPORT{program}="/sbin/dmsetup export -j%M -m%m"
ENV{DM_NAME}=="tmp-etch",    OWNER="progfou", GROUP="disk", MODE="0660"
LABEL="dmsetowner_end"
# /dev/net/tun (uml_switch & virtualbox)
KERNEL=="tun",            GROUP="tunusers", MODE="0660"
# kqemu
KERNEL=="kqemu",        GROUP="qemu", MODE="0660"
# WiiMote
KERNEL=="uinput",        GROUP="plugdev", MODE="0660"

I kept in it a few additional interesting permissions... ;-)

-- 
Jean Christophe "????" ANDR?   ? ? ?   Responsable technique r?gional
Bureau Asie-Pacifique (BAP)    ? ? ?   http://www.asie-pacifique.auf.org/
Agence universitaire de la Francophonie (AuF)  ? ? ?  http://www.auf.org/
Adresse postale : AUF, 21 L? Th?nh T?ng, T.T. Ho?n Ki?m, H? N?i, Vi?t Nam
T?l. : +84 4 9331108  ?  Fax : +84 4 8247383  ?  Cellul. : +84 91 3248747
? Note personnelle: merci d'?viter de m'envoyer des fichiers PowerPoint ?
? ou Word, cf http://www.gnu.org/philosophy/no-word-attachments.fr.html ?

Trả lời cho