Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-09-2006, 05:15 PM   #1
Registered: Sep 2006
Posts: 36

Rep: Reputation: 15
Problems with starting a shell in KDE

I am fairly new to Linux, and I have a question about when I start a shell in KDE. I installed the distribution of Slackware 10.2, and am running Kernel version 2.4.31 with KDE 3.4. I have almost no .tcshrc file. When I start a shell with the "Konsole" button under the menu, it brings up the window, and then I get the following:
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.

Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.

It then waits for about a minute, and gives me the shell. I went to the website it suggested, but didn't find much useful there. Do I have an environment variable I need to set or something? Thank you for your time.
Old 09-10-2006, 10:09 AM   #2
Registered: Oct 2004
Location: Germany
Distribution: Debian
Posts: 274

Rep: Reputation: 34
sounds as if you would start your X session using your .tcshrc file.

If that's correct read next lines, if not, ignore me *g*

In this case, your konsole will try to start another session and that will fail.
You can remove your startx command from .tcshrc or check for the lockfile before calling it:
[ -r /tmp/.X0-lock ] || startx
this will check if the file /tmp/.X0-lock exists and is readable, if not, it will call startx.
Old 09-11-2006, 10:19 PM   #3
Registered: Sep 2006
Posts: 36

Original Poster
Rep: Reputation: 15
Worked great. Thank you very much for the info and your time. =)


shell, solution, startx, tcshrc

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
kde starting problems abratan Slackware 6 07-31-2006 08:46 PM
problems starting kde kevmccor Slackware - Installation 10 03-24-2005 11:54 AM
Problems starting up KDE Peter@dk Slackware - Installation 4 05-28-2004 08:32 AM
Problems starting programs in KDE. dave_i Linux - Newbie 8 04-01-2004 06:50 PM
RH9 Upgrade=KDE starting problems SenorPedo Linux - Software 12 08-26-2003 12:15 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:19 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
Open Source Consulting | Domain Registration