Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 09-08-2013, 10:50 PM   #1
LQ Newbie
Registered: Mar 2013
Location: Chengdu.China
Distribution: fedora
Posts: 29

Rep: Reputation: Disabled
anyway to start xterm instead of gnome-desktop in ubuntu 12.04?

hi ,
all. i don't need the desktop on my ubuntu 12.04. i only want to go to xterm when system start up . i've tried a long time . can some one help me?
Old 09-09-2013, 10:31 AM   #2
Keith Hedger
Senior Member
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,483

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
If you mean you don't want to run an X server then no xterm is an X windows app and needs to be run in an X server session, if you want to run an X session but without running a full desktop have a look at the various docs on xinitrc, this is a very basic xinitrc and just starts twm some xterms and a clock:


# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"

# start some nice programs

if [ -d /etc/X11/app-defaults/xinitrc.d ] ; then
	for f in /etc/X11/app-defaults/xinitrc.d/*.sh ; do
		[ -x "$f" ] && . "$f"
	unset f

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
Old 09-09-2013, 03:46 PM   #3
Registered: Mar 2008
Posts: 17,200

Rep: Reputation: 2563Reputation: 2563Reputation: 2563Reputation: 2563Reputation: 2563Reputation: 2563Reputation: 2563Reputation: 2563Reputation: 2563Reputation: 2563Reputation: 2563
If you have bash at startup then you could just use it couldn't you? What benefit would xterm provide?
Old 09-13-2013, 10:06 PM   #4
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,885
Blog Entries: 18

Rep: Reputation: 3347Reputation: 3347Reputation: 3347Reputation: 3347Reputation: 3347Reputation: 3347Reputation: 3347Reputation: 3347Reputation: 3347Reputation: 3347Reputation: 3347
Jefro makes a sensible point.

If you want run X (maybe you want to be able to start GUI programs from the terminal) but just use xterm, install and use TWM, the simplest window manager of all. All it does is start xterms. I would expect it to be in the repos, though I have no way of easily checking.

If you want to boot directly to the command line, that will be another story. I set up my Debian box to do it but never attempted it with Ubuntu, though there most certainly should be a way.

Last edited by frankbell; 09-13-2013 at 10:08 PM.


ubuntu 12.04, xterm

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
gnome-terminal is starting up in / konsole and xterm start up in ~ as desired dasy2k1 Linux - General 2 08-02-2010 09:43 PM
[SOLVED] X takes 1.5 minutes to start xterm and 3.5 minutes to start GNOME gregorian Linux - Newbie 16 12-25-2009 06:56 AM
xterm to gnome/gui desktop sanjeevkurra Fedora 2 01-04-2007 09:58 AM
new users start in xterm rather then gnome? dansawyer Linux - Software 3 07-23-2006 02:59 PM
.desktop file to start xterm Eshindi Linux - Newbie 1 04-04-2006 11:02 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:59 PM.

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