Tuesday, September 14, 2010

Autostart Vino and Configure Local Connection Only

Continuing my previous post about vnc over ssh, here is a way to limit the connection to local only.

If you are using gnome, you can configure it via gconf-editor. Go to the following key: /desktop/gnome/remote_access/network_interface and set 'lo' as the value. This way, vino server will only listen to local (loopback) interface only.

Now, if you would like to have vino server ready on each time you logged in, you need to configure it from, System -> Preferences -> Desktop Session Settings, and enable Remote Desktop.

Remember to configure Remote Desktop itself, from System -> Preferences -> Remote Desktop Preferences and allow other users to view your dekstop.

Saturday, September 11, 2010

Install Windows XP from usb flash

I just finished installing windows xp on HP Mini 110 netbook. Since it does not have any optical drive, like any other netbook in general, I had to install it from usb flash.

Before you proceed you need to have and prepare the following files and apps:

  • windows xp installation (cd or iso)

  • usb flash (1 to 2GB)

  • wintoflash

  • sata windows xp driver if needed, for example sata driver (from HP)

  • nlite, if need to have sata driver ready during installation

  • winrar, to extract sata driver

  • If you have windows xp installation in iso format, you need to be able to mount it. One way to do it is by using daemon tools lite



A little bit more information about wintoflash, it needs .net framework to run. If you do not want to install .net framework, there are several portable wintoflash with .net framework built-in, just search and use it.


Scenario #1: Without SATA driver

  • Simply, load the windows xp installation cd, or mount the iso file.

  • Then, use wintoflash to create windows xp installation usb flash.

  • All you need to do in wintoflash is to choose the source drive (windows xp installation cd/iso) and choose the usb drive.

  • Restart your computer and boot from usb drive.

  • Choose text for 1st time boot, and GUI for 2nd and 3rd.



Scenario #2: With SATA driver

  • Insert windows installation cd or mount iso (using daemon tools lite)

  • Extract sata driver files using winrar

  • Run nlite, proceed until there is an option about driver integration

  • Choose insert and multiple drivers folder options, select all extracted sata driver files

  • Nlite will prepare windows installation files with sata driver in the target directory. Done with nlite.

  • Plug usb flash

  • Run wintoflash, choose the appropriate source installation folder from previous step, and the target drive (usb). Done with wintoflash

  • Restart computer and boot from usb flash.

  • Choose text for 1st time boot, and GUI for 2nd and 3rd.