LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-20-2011, 06:36 AM   #1
baharehmk
LQ Newbie
 
Registered: Aug 2011
Posts: 17
Blog Entries: 3

Rep: Reputation: Disabled
installing ubuntu on vmware 8


hi dear friends
I am new in Ubuntu .
I want to install Ubuntu on VMWare but it automatically install Ubuntu in text mode.
I am unable to install it's Gnu.
when I type sudo apt-get install xinit this error will be appeared
"could not find package"
please help me
 
Old 11-20-2011, 06:47 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Quote:
it automatically install Ubuntu in text mode.
This is because the installer couldn't see enough system resources to install in gui mode.
That does not mean you did not install the packages to run a gui desktop.

Try opening a console, and type 'startx' ( without the quotes ). That will start ( or try to ) start the desktop.

As far as I know 'init' is not a package. What are you trying to install?
 
Old 11-20-2011, 04:30 PM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
What image did you install Ubuntu from? The "Live CD" image contains the gui. The "server" image does not. The "alternate" image will do either as I recall but the installer is text based.

That said... what hardware are you running VMWare on? And what OS is VMWare running on? I have run Ubuntu on VMWare Workstation 6.something and player 2.something on a Pentium 4 running Windows XP and had no problem with the Ubuntu gui running so the hardware requirements are not too great.

Ken
 
Old 11-20-2011, 11:13 PM   #4
baharehmk
LQ Newbie
 
Registered: Aug 2011
Posts: 17

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
hi
my system resources are enough and I want to install ubuntu 11.04 desktop edition.
I typed startx .
this message be appeared "the program 'startx' is currently not installed you can install it by typing sudo apt-get install xinit"
please help me
 
Old 11-20-2011, 11:15 PM   #5
baharehmk
LQ Newbie
 
Registered: Aug 2011
Posts: 17

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
and when i type sudo apt-get install xinit this error message was appeared
E:unable to locate package xinit
 
Old 11-21-2011, 06:31 AM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
xinit is a valid package name on 10.04. Have you set up the repos? If not, you will need the install media in the system to install any packages.

How did you install this system? From CD or DVD? If yes, you will need to install any missing packages from that media, until you can get a gui and set up the online repos.
 
Old 11-21-2011, 06:53 AM   #7
baharehmk
LQ Newbie
 
Registered: Aug 2011
Posts: 17

Original Poster
Blog Entries: 3

Rep: Reputation: Disabled
would you please guide me more
thanks
 
Old 11-21-2011, 08:19 AM   #8
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Quote:
would you please guide me more
I would be happy to, you have to help by answering the questions we ask, at least to the best of your ability.

Quote:
Have you set up the repos?
I suspect no is the answer, this is most easily done in a gui, you don't have one. However, it is just a text file and it can be manually edited. I have to go find out the name of the file. It is not something I usually do.

Quote:
How did you install this system? From CD or DVD?
This you should be able to tell me.

Understand, for apt-get to work, it has to know about the online repos. If they are not configured, you can not use them. The other choice is to install from a local media, CD, or DVD.

In a virtual machine install, the CD or DVD is owned by the host system. I don't use Vmware, I do use VirtualBox. There may well be differences I don't know about. In V-box, once the OS is installed, you have to install guest additions so you can allow the guest OS to use the CD/DVD drive. This part you will have to figure out, or someone else that uses vmware may let us know how to make the drive available to a guest OS.

Then you need the media in the drive, and you should be able to use apt-get to install what ever you are missing.

You said above, you have enough resources. In a virtual machine, you have to allocate some of those resources to the guest system.

How much memory did you allocate for the install? If you did not allocate enough, this may explain why you got the text install.
 
Old 11-22-2011, 08:14 AM   #9
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
I think the best thing would be to start over and rebuild the virtual machine. First, download the correct iso file. For Ubuntu 11.10 it will be one of these
Quote:
ubuntu-11.10-desktop-i386.iso
ubuntu-11.10-desktop-amd64.iso
depending on what system architecture you have on your PC. If you are not sure, use the i386 file.

In VMware Workstation create a new VM and point to the iso file. VMWare should detect it as Ubuntu. From there I generally accept all defaults except that I customize the hardware and change the network to "bridged." That allows the VM to get an IP address from my router. Allow VMWare to do its thing.

I have noticed that Ubuntu 11.10 will stall after automatically installing VMWare Tools. It stops at a command prompt. Simply login with the name and password you used during the build. Then issue the command
Quote:
sudo shutdown -r now
and again provide your password when prompted. It should boot up to a gui interface. If not, please describe what happened.

Ken
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing vmware in bundle format in ubuntu 11.04 dkanyi Linux - Desktop 2 08-31-2011 09:18 AM
Installing RtLinux on Ubuntu on VMWare vddmanikanta Ubuntu 1 07-14-2009 10:43 AM
Installing VMware Server on an Ubuntu 8.04 machine brianwoody Linux - Newbie 1 05-15-2009 03:36 AM
Problem installing VMware Player on Ubuntu 7.10 taylorkh Linux - Software 7 03-06-2008 08:01 PM
problems installing vmware in ubuntu-5.10. greythorne Ubuntu 4 11-11-2005 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration