Howto dispatching OSs over the Internet |
|
|
|
Set up a web server (e.g. Apache). For every desktop, create a web page including the following code:
<embed type="application/x-gtk-vnc" width="1024" height="768" host="ip.of.the.virtual.machine" port="5900"></embed>
Then create a web menu, so that just by clicking on the favourite Desktop, one can see it projected directly into the web page. This is just an example (it uses pictures as web links):
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Browsing VDD dispatching OSs</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"><!-- img {border:medium none;} --></style> </head>
<body> <h1>Select a Desktop</h1>
<table style="margin: auto;"> <tr> <td><a href="/lenny.html"><img src="/distro_graphics/lenny.png" alt="lenny" title="lenny"></a></td> <td><a href="/gentoo.html"><img src="/distro_graphics/gentoo.jpg" alt="gentoo" title="gentoo"></a></td> <td><a href="/karmic.html"><img src="/distro_graphics/ubuntu_karmic.jpg" alt="ubuntu karmic" title="ubuntu karmic"></a></td> <tr> <td><a href="/fedora.html"><img src="/distro_graphics/fedora.jpg" alt="fedora" title="fedora"></a></td> <td><a href="/jaunty.html"><img src="/distro_graphics/ubuntu_jaunty.jpg" alt="ubuntu jaunty" title="ubuntu jaunty"></a></td> <td><a href="/centos.html"><img src="/distro_graphics/centos.jpg" alt="centos" title="centos"></a></td> <tr> <td><a href="/win7.html"><img src="/distro_graphics/win7.jpg" alt="windows seven" title="windows seven"></a></td> <td><a href="/winxp.html"><img src="/distro_graphics/windowsxp.jpg" alt="windows xp" title="windows xp"></a></td> <td><a href="/index.html"><img src="/distro_graphics/exit.jpg" alt="exit" title="exit"></a></td> </tr> </table>
</body> </html>
Install mozilla-gtk-vnc firefox plugin:
apt-get install mozilla-gtk-vnc
It is suggested to open multiple browser tabs for every desktop, thus making switching among desktops confortable.
|