Unable to open kernel device . global vmx86 windows 7

March 30, 2013
Suddenly I encounter a weird problem with VMware 9 version. I install different OS for my education and testing purposed. Like MAC os, Ubuntu, CentOS, BT, WinXP, Win-server 2003. When I tried to run one of this OS a error message appear.



unable to open kernel device "\\.Global\vmx86": The system cannot find the file specified. Did you reboot after installing VMware Workstation?
Failed to initialize monitor device.

Click ok you can see this window



After googling I found one solution in developer forum but thread starter never use that method. So I tried it and here is my finding.



Go to the directory of vmware installed 
(In my case I run it as Administrator)
C:\Program Files (x86)\VMware\VMware Workstation>   ( I've 32-bit apps on 64-bit OS, your may be different)

Run this command
vnetlib -- uninstall vmx86 
reboot

Go to the same directory and check net start command - this time it should say "service name  is invalid"

This command run perfect and no error message is appear, if that so then I think VMware OS must run, I tried it but, shows same error message

then run
vnetlib -- install vmx86 
and reboot again

TA DA !!!!! its run.

Telnet for ubuntu

March 24, 2013
Install Telnet in ubuntu Desktop
Telnet is not secure to use in production. But sometime we need it. I tried it for educational purpose and for my knowledge.

To isntall the Telnet, use this command

jay@jay-vm:~$ sudo apt-get install telnetd
[sudo] password for jay: (type your password here)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  openbsd-inetd
The following NEW packages will be installed:
  openbsd-inetd telnetd
0 upgraded, 2 newly installed, 0 to remove and 538 not upgraded.
Need to get 73.1 kB of archives.
After this operation, 303 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://np.archive.ubuntu.com/ubuntu/ precise/main openbsd-inetd i386 0.20091229-1ubuntu1 [30.5 kB]
Get:2 http://np.archive.ubuntu.com/ubuntu/ precise/universe telnetd i386 0.17-36build1 [42.6 kB]
Fetched 73.1 kB in 0s (105 kB/s)
Selecting previously unselected package openbsd-inetd.
(Reading database ... 142310 files and directories currently installed.)
Unpacking openbsd-inetd (from .../openbsd-inetd_0.20091229-1ubuntu1_i386.deb) ...
Selecting previously unselected package telnetd.
Unpacking telnetd (from .../telnetd_0.17-36build1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up openbsd-inetd (0.20091229-1ubuntu1) ...
 * Stopping internet superserver inetd                                   [ OK ]
 * Not starting internet superserver: no services enabled
Setting up telnetd (0.17-36build1) ...
Adding user telnetd to group utmp

After finishing the installation restart the telnet service
jay@jay-vm:~$ sudo service openbsd-inetd restart
 * Restarting internet superserver inetd                                 [ OK ]


You can login to the server  using following command

$telnet [ubuntu-desktop-ip]
$telnet [ubuntu-desktop-domain-name]

enjoy!

SSH Ubuntu

March 24, 2013

Enable SSH(Secure Shell) in ubuntu

jay@jay-vm:~$ sudo apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssh-server is already the newest version.
(I already done it, your output may different from this)

After installing ssh, you can login with default port 22. If you don't like default port, you can edit following file to change it.

jay@jay-vm:~$ sudo vi /etc/ssh/sshd_config
[sudo] password for jay:



jay@jay-vm:~$ sudo service ssh restart

From now you can login with new port.

Text editor in ubuntu

March 24, 2013

Install full function of file editor in ubuntu.
I install ubuntu and try to edit the text likes on centOS but all shortcut key is not working properly, why that so, then I found default install vim is not full package.

Ubuntu default vim editor doesn't have full function of text edit. So we need to install extra packages to work it smoothely. For that go to the console and type the following command

jay@jay-vm:~$ sudo apt-get install vim
[sudo] password for jay

The output screen may show files to be downloaded just type Yes


Now you have full function vim editor. Every shortcut key must work.