2010/5/7

VirtualBox on Mandriva 2010

Due to playing game, I need to set up a virtual windows XP.
The virtualbox is a good choice.

1. urpmf --name virtualbox (root)
To find the package you want to install
suggestion: virtualbox, dkms-virtualbox, dkms, virtualbox-guest-additions
2. urpmi dkms; urpmi virtualbox, urpmi dkms-virtualbox, urpmi virtualbox-guest-additions

3. run virtualbox from menu: Toos-> Emulator -> VirtualBox OSE (normal user)

4. install win XP

5. This step is very important.
As win XP installing down, please press right-ctrl to out of virtualbox.
Press device, then choose install Guest Addition to make sure having VGA driver, DirectX

6. reboot XP

7. Down

reference:
http://forum.sabayonlinux.org/viewtopic.php?f=5&t=8280
http://wiki.mandriva.com/en/2010.0_RC_1

2010/5/6

Using VNC to login from other OS to linux

1. install tightvnc-server
type as root "urpmi tightvnc-server"
2. install vncviewer
type as root "urpmi tightvnc"
3. Edit the file /etc/sysconfig/vncservers and add a line like this: Code:
VNCSERVERS="1:yourusername"
4. Logged in as yourself
type "vncserver :1 -geometry 1024x768 -depth 24" to start vncserver
set password as logging "'vncpasswd"
kill vncserver please type "vncserver -kill :1"
5. Create the file .wmrc in your home directory and add a single line with either KDE or GNOME
vi .wmrc => KDE

Note:
a) If you log as root, then command as "vncserver :1 .........". The external logged user will log as root
b) When you log form other machine, the command like IP:1 (port please refer to ~/.vnc/*:1.log)

reference:
English=>
http://www.aerospacesoftware.com/vnc-howto.html
http://wiki.linuxquestions.org/wiki/VNC
Han's character =>
http://jimmy.med93.org/debian/TightVNC_遠端桌面
http://linux.vbird.org/linux_server/0310telnetssh.php#vnc
http://www.l-penguin.idv.tw/article/vnc_server.htm
http://horse.nchc.org.tw/IPv6/VNC