1. Check whether remote machine is Virtual machine or Physical machine
Virtual Machine => dmidecode | grep -i "vm"
Physical Machine => dmidecode | grep -i vm
example:
Virtual Machine:
[root@localhost ~]# dmidecode | grep -i "vm"
Manufacturer: VMware, Inc.
Product Name: VMware Virtual Platform
Serial Number: VMware-56 4d d6 6c 32 aa e1 46-46 8b e8 da 78 cb 78 ef
VME (Virtual mode extension)
Description: VMware SVGA II
String 1: [MS_VM_CERT/SHA1/27d66596a61c48dd3dc7216fd715126e33f59ae7]
Physical Machine:
dmidecode | grep -i vm
VME (Virtual mode extension)
2. Resolve VNC Client DISPLAY blank issue
This issue may be due to corruption of VNC Server xstartup file. SSH to your VNC Server machine and remove/move the ~/.vnc/xstartup file
3. Shift between Android and Linux Distro on Android Device using chroot
ref:
http://www.linuxquestions.org/questions/linux-server-73/how-to-know-the-remote-machine-is-virtual-machine-or-physical-machine-913526/
Virtual Machine => dmidecode | grep -i "vm"
Physical Machine => dmidecode | grep -i vm
Virtual Machine:
[root@localhost ~]# dmidecode | grep -i "vm"
Manufacturer: VMware, Inc.
Product Name: VMware Virtual Platform
Serial Number: VMware-56 4d d6 6c 32 aa e1 46-46 8b e8 da 78 cb 78 ef
VME (Virtual mode extension)
Description: VMware SVGA II
String 1: [MS_VM_CERT/SHA1/27d66596a61c48dd3dc7216fd715126e33f59ae7]
Physical Machine:
dmidecode | grep -i vm
VME (Virtual mode extension)
2. Resolve VNC Client DISPLAY blank issue
This issue may be due to corruption of VNC Server xstartup file. SSH to your VNC Server machine and remove/move the ~/.vnc/xstartup file
3. Shift between Android and Linux Distro on Android Device using chroot
It
looks like we can install any Linux Distro(Debian, Ubuntu ..) on
Android device as both share the same kernel. We can shift between
Android & Linux Distro on
the android device using chroot(which is used to shift between
different root file systems). As we are completely shifting the root
file system, all linux commands/exes should run on Android device too ..
I found the below resources online. They may be useful:
How to install Ubuntu on Android -
- http://androlinux.com/android-
ubuntu-development/how-to- install-ubuntu-on-android/ - http://nexusonehacks.net/
nexus-one-hacks/how-to- install-ubuntu-on-your-nexus- oneandroid/
chroot command :
A chroot on Unix operating systems is an operation
that changes the apparent root directory for the current running
process and its children. A program that is run in such a modified
environment cannot name (and therefore normally not access) files
outside the designated directory tree. The term "chroot" may
refer to the chroot(2)system call or the chroot(8) wrapper program. The
modified environment is called a "chroot jail".
http://www.linuxquestions.org/questions/linux-server-73/how-to-know-the-remote-machine-is-virtual-machine-or-physical-machine-913526/