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
692 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

688 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