startx freezes Ubuntu 12.04 on Microsoft Hyper-v

Hello Experts,
I have installed Ubuntu 12.04 on Microsoft Hyper-v HP Proliant BL 680C server. After finishing the installation it was not directly going to graphic mode. After that I installed startx program.The next time the machine reboot it goes to command line so from there I execute the command startx which hangs the whole virtual machine and the only way to get out of this is to stop the virtual machine.Kindly advice where I am mistaking.
Regards.

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Hi,
there is one more ubuntu machine installed with the same version in our environment on the similar version of windows. So this is not the compatibility issue. The only difference is the previous ubuntu machine is 12.04.1 and the new one is 12.04.2.
Thanks

Hi strivoli,
The GUI you mean where I can use mouse? I don't thinks so because when I run the setup it whole completed without GUI. I will again give it a look when I will be in office tomorrow.
Thanks.

I am right now able to boot into machine with run level 2 without problem.Network is OK, I can download software, update machine and everything else buth without graphics. So no need to reinstall machine or change the run level.googled aroung and it says that ubuntu 12.04 has all integrated tools preinstalled and taht's why i am able to have network card driver. Otherwise, I had to install the integration tools.

It should be included with Ubuntu and install automatically when you install it as a VM, but if it doesn't just use the ubuntu package manager to install them.

But as I mentioned earlier, if you have installed Ubuntu Server, then you shouldn't install a GUI for it. If it is a desktop version of Ubuntu, then go for a non-unity version. Unity uses far more resources than the other desktops, and you can get issues with it in a VM.

cat /etc/issue.net (from the machine where graphics is not working)
Ubuntu 12.04.2 LTS

cat /etc/issue.net (from the machine where graphics are working)

Ubuntu 12.04.1 LTS

Both physical machine has Microsoft Windows server 2008 R2 Enterprise. the only difference is the previous machine where the graphics are working properly is installed by other administrator and where graphics are not working is installed by me :)

But again, as I mentioned, if this is an Ubuntu server, don't install X. Ubuntu server is supposed to run without a GUI, and if it isn't Ubuntu server, don't install the standard Ubuntu, but rather lubuntu.

Rindi,
As I mentioned above, we have similar version of same Ubuntu which is having GUI. Above I, provided the /etc/issue.net command out from both the server. ubuntu 12,04 both are same but one with gui and other without gui.

It still isn't good to install ubuntu server and add a GUI. If you already have that installed then that was a mistake of your predecessor which you shouldn't repeat. If you want to use an Ubuntu system with a GUI you might as well install a desktop version to start with which already has the GUI included.

Featured Post

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.