Solved

how do i get a browser to run as my Vm (ubuntu + rails  dev stack )  Machine  only has a command prompt

Posted on 2010-11-23
5
685 Views
Last Modified: 2012-06-27
i have sucessfully installed a VMware player  on a win 7 host  ,downloaded and installed a BITNAMI UBUTU 10.1  + RUBY RAILSDEV  (1.9 & 3) VIRTUAL BITNAMI MACHINE IN THE VM PLAYER
ruby ,gems ,rails  aLlworking  and run the rails server command  and received the  output in the terminal  that  the server is running and according the the various rails .org tutorials  I should now open up  my browser to local host 0.0.0.0: 3000 and see the  ruby rails  welcome page  but ...  how do i get a browser to run as my VN Machine  only has a command prompt  ??
0
Comment
Question by:Ossie_Jesson
5 Comments
 
LVL 11

Accepted Solution

by:
louisreeves earned 125 total points
ID: 34201609
If I recall, There is a couple posibilitues. The first one is a no breainer. Type startx at the prompt. If this does not work then you either have a video setting that is not allowing the gui to start or the proper package is not installed. Here are a couple of link to give you an idea of the commands. I am not linux so thart is why I use other folks work,

http://ubuntu-virginia.ubuntuforums.org/showthread.php?t=1511945
http://ubuntuforums.org/showthread.php?t=711932

Doesa this help?
0
 
LVL 3

Expert Comment

by:Virtalicious
ID: 34201698
You can connect Via
the Links or Lynx commands for example.

But StartX would be the better way.

Alternatively you could make your VM network accessible and connect from your workstation.
0
 

Author Comment

by:Ossie_Jesson
ID: 34204252
Thank you  to louisreevesVirtalicious

I have tried  startx  .. command not found  so I deduce that i am" headless" ie server only and that there is no GUI  in the  bitnami ruby rails  stack  VM machine  ,which is fair enough

so could you elaborate  a little please  (Virtalicious) so i can get to work and at last see rails  say "Hello  world "

 a)  if  I make the Vm network accessable  doe that mean I can see the  Ruby served pages  on my host machines browsers  via http///   local host  -3000  or a similar .(the script command in rails will i presume indicate this as before
b)  how do i make the VM as you say  network  accessible ( I am using VM player 3 .1.3

thanks in advance
0
 
LVL 4

Assisted Solution

by:fr0nk
fr0nk earned 125 total points
ID: 34213090
You should check the virtual network configuration that has been shipped with the VMs. There are 3 possibilities:
- NAT: Means the VM shares its IP with your Win7 Host machine. So you should try navigating to http://127.0.0.1:3000.
This can cause problems when this port is already being used by some application inside your Win7.
- Host only: Means that only VMs are able to communicate with each other
- Bridged: Means the VM will have its own IP address.
0
 

Author Closing Comment

by:Ossie_Jesson
ID: 34296099
THANKS FOR YOUR HELP
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question