LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2009, 09:11 PM   #1
baldurpet
Member
 
Registered: Dec 2008
Location: Iceland
Distribution: Ubuntu, freeBSD
Posts: 110

Rep: Reputation: 15
Smile How to make terminal go away when starting a new X server


I've been trying to open a new desktop environment on a different X server by using something like xinit -- :1 and startx -- :1. Then I'm presented with a really ugly gray-greenish sort of terminal window in my top-left corner (I don't know what it's called), where I type the name of the DE I want to run.

Ok, e.g. I write openbox-session and it works fine. The only problem is that the terminal is still there (printing a lot of tech-jargon output) and the X server shuts down if I close it! I tried writing openbox-session &, but it didn't make any difference.

What does that terminal do, why does my X server shut down and how to I make it go away without killing my X? I think it's uncomfortable to have a window I can't close because I tend to be trigger-happy when closing programs. Also it's just pointless clutter and the last thing I need is more clutter on my computer.
 
Old 03-07-2009, 01:58 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 780
Blog Entries: 6

Rep: Reputation: 75
your xserver not shutdown , to get back your xserver display use alt + F7
once you get your xserver back then kill that ghost terminal

i think this could help
 
Old 03-07-2009, 06:37 AM   #3
baldurpet
Member
 
Registered: Dec 2008
Location: Iceland
Distribution: Ubuntu, freeBSD
Posts: 110

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by routers View Post
your xserver not shutdown , to get back your xserver display use alt + F7
once you get your xserver back then kill that ghost terminal

i think this could help
I'm sorry but it didn't.

I know how to use Ctrl+Alt+F[1-12] consoles (btw, on my computer the main X server is on Ctrl+Alt+F9 so the newly opened X server is on F10).

And no, if I try killing the terminal the whole X server shut downs.
 
Old 03-07-2009, 11:39 AM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,225

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
does it have title bars?
if not, you might be starting X in 'failsafe' mode
try looking at .Xclients-default in your home directory
btw you didnt say if you were using KDM, GDM or XDM
or how you start your X environment at all, is it by runlevel (init:level:default) or by logging in at a promp and typing xinit

edit: never mind i see you are using xinit, what you are seeing is the default behavior of xinit,
take a look at man xinit and your .xinitrc in your home directory
if one doesn't exist, make one

Last edited by frieza; 03-07-2009 at 11:43 AM.
 
Old 03-07-2009, 11:50 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
I think you are referring to the default xterm terminal.
Code:
SYNOPSIS
       xinit [ [ client ] options ... ] [ -- [ server ] [ display ] options ... ]
...
       If no specific client program is given on the command line, xinit will look for a file  in
       the user's home directory called .xinitrc to run as a shell script to start up client pro-
       grams.  If no such file exists, xinit will use the following as a default:

            xterm  -geometry  +1+1  -n  login  -display  :0
You could use a .xinitrc file in your home directory. Then the default xterm won't be run instead.
 
  


Reply


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
Ubuntu 8.04 Terminal - Can you make the terminal window transparent with a wallpaper? bparkerson04 Linux - Newbie 6 02-17-2009 05:12 PM
X server crashes when starting terminal in xfce janhe Slackware 4 12-14-2008 02:52 PM
Make Linux Act As A Thin Client Terminal Server! blackfish Linux - Server 2 04-11-2007 09:02 AM
Terminal cmd for starting Matlab M-file editor without starting matlab fubzot Linux - Software 2 02-15-2005 06:49 AM
Starting X-Windows server from terminal VeganHacker Linux - Newbie 4 05-18-2004 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:50 AM.

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