How to run only a Linux terminal window?

Discussions about using Linux guests in VirtualBox.
Post Reply
DavidA
Posts: 82
Joined: 21. Dec 2010, 12:31
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Centos 5

How to run only a Linux terminal window?

Post by DavidA »

Hi

Our developers are used to building and running software on remote Centos 5.5 servers, using PuTTy running on Windows.

We want to use VirtualBox to provide a Linux guest VM on each developer's Windows machine. I have a Centos 5.5 VM running nicely on Windows but it has been suggested that, rather than exposing a GNOME desktop, we should just expose a single Linux terminal window to the developer. He/she doesn't need the GUI tools and we can reduce the overhead of an X server running in the VM.

How should we do this?

- Make the VM startup without a GUI (how?) ?
- Use PuTTy and ssh into the VM ?
- Use VBoxHeadlessTray ?
- Some other way ?

I would be grateful for any suggestions.

Best regards

David
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: How to run only a Linux terminal window?

Post by Martin »

Start the linux guest in runlevel 3 (text mode).
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: How to run only a Linux terminal window?

Post by Sasquatch »

Or install it with Text Mode as option. That way, no X server will be installed. If they want a higher resolution terminal, then either use SSH and putty from the Host, or install X with xterm with a basic window manager that allows window resizing. You don't even need a login manager or display manager, they'll just run startx which should then give them only an xterm window.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
DavidA
Posts: 82
Joined: 21. Dec 2010, 12:31
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Centos 5

Re: How to run only a Linux terminal window?

Post by DavidA »

Martin wrote:Start the linux guest in runlevel 3 (text mode).
Please will you explain how to do this?

Do I modify a configuration file in the VM or can I specify it to VirtualBox?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: How to run only a Linux terminal window?

Post by mpack »

It seems to me that this conversation would better take place in "Linux Guests". It's of little value to "Windows Hosts" users in general.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: How to run only a Linux terminal window?

Post by Sasquatch »

Done. Should've seen this one.
DavidA wrote:
Martin wrote:Start the linux guest in runlevel 3 (text mode).
Please will you explain how to do this?

Do I modify a configuration file in the VM or can I specify it to VirtualBox?
Check the documentation of the distribution on how to boot into certain runlevels. You can just as well remove the auto-start of GDM or KDM, whatever display manager is used. Gives the same effect and requires only one command without the need to change runlevel.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
DavidA
Posts: 82
Joined: 21. Dec 2010, 12:31
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Centos 5

Re: How to run only a Linux terminal window?

Post by DavidA »

Sasquatch wrote:Done. Should've seen this one.
DavidA wrote:
Martin wrote:Start the linux guest in runlevel 3 (text mode).
Please will you explain how to do this?

Do I modify a configuration file in the VM or can I specify it to VirtualBox?
Check the documentation of the distribution on how to boot into certain runlevels. You can just as well remove the auto-start of GDM or KDM, whatever display manager is used. Gives the same effect and requires only one command without the need to change runlevel.
Thanks for your help.
Post Reply