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
680 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 louisreeves &  Virtalicious

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

#Citrix #XenApp #Citrix Scout #Citrix Insight Services #Microsoft VMMAP #Microsoft ADEXPLORE #Microsoft RAMMAP #Microsoft TCPVIEW #Microsoft AUTORUNS #Microsoft PROCESS EXPLORER #Microsoft PROCESS MONITOR
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
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…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now