Unity runs inside xfce4 using Xephyr.
Step 1:
Install xserver-xephyr
Step 2:
1 |
Xephyr -keybd ephyr,,,xkbmodel=pc104,xkblayout=us,xkbrules=evdev -ac -reset -screen 800x600 -retro :50; |
(where 50 = random display number)
Step 3:
1 2 |
DISPLAY=:50 compiz DISPLAY=:50 unity --replace ccp |
and if it’s necessary:
1 |
DISPLAY=:50 gnome-session --session=ubuntu |
The result can be seen on the image above.