LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-09-2006, 05:15 PM   #1
kmcgavran
Member
 
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
doc.nice
Member
 
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:
Code:
[ -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
kmcgavran
Member
 
Registered: Sep 2006
Posts: 36

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


Reply

Tags
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


All times are GMT -5. The time now is 02:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration