Friday, August 01, 2008

Vmware with guest Ubuntu and host Ubuntu

vnc4server doesn't seem to be doing so good for different Linux distros. I had to have a remote login enabled in my Linux box (as the Title of this story says).

Eventually, had to settle down with RealVnc that comes with Ubuntu default installation.

Steps:

1) (guest ubuntu) I have enabled auto login at startup for the OS. System->administration->login windows
Now, get to Security tab and enable auto-login for a user.

1) (guest ubuntu) System -> Preference -> Remote Desktop

Setup the necessary options here. I allow full control without authentication for my ease.

The server box is all set for remote access.

2) (host Ubuntu) "tsclient" = Terminal Server Client is used to connect to the Server.
The following script (stored in file - vncUbuntu) does the trick for me.
tsclient -x /home/user/Desktop/vmware/ubuntu.rdp
where ubuntu.rdp is the file saved by tsclient which stores the necessary parameters set for connection.

I picked 800x600 resolution, 16 bit color (to make the session work bit more faster :)

Now, I just need 3 command lines to play around and connect remotely.
* vmrun start /var/lib/vmware/Virtual\ Machines/VM_Ubuntu/VM_Ubuntu.vmx
* vmrun suspend /var/lib/vmware/Virtual\ Machines/VM_Ubuntu/VM_Ubuntu.vmx
* tsclient -x /home/amit/Desktop/Thesis/vmware/ubuntu.rdp

-Amen

2 Comments:

Anonymous Anonymous said...

Hi, I don't know if it's the right place to ask. Can you give some informations about samba management python framework you're working on 3 years ago? I can't find where to download the source code.

Please, if you can, mail me at bruno.arch@gmail.com

Thank you!

7:24 AM  
Blogger Amit said...

hey Bruno,

I have sent you an e-mail with the link.
Lemme know if you haven't got it.

:-)

12:57 PM  

Post a Comment

<< Home