LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-14-2011, 09:54 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
What (script/file) does start X in openSuSE 11.3_64?


I'm trying to set up a multi-user / multi-seat configuration on my box (openSuSE 11.3_64 / KDE 4.4.4). It crashes ignominiously with an error of "Fatal server error: xf86OpenConsole: VT_WAITACTIVE failed: Interrupted system call".

As far as I found out, it needs to be slowed down (using "sleep 1" just prior to the second X-call, see https://bugs.launchpad.net/ubuntu/+s...er/+bug/441653). But I don't know where SuSE calls X, just that it has some connection to kdm...
 
Old 02-14-2011, 10:29 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
startx is called by /etc/bash.bashrc (or any other configuration file for the shell in use). In turn it calls /etc/X11/xinit/xinitrc which starts the proper desktop manager.
 
Old 02-14-2011, 12:28 PM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
I followed the trail of calls you outlined -- X is called nowhere. In /usr/share/kde4/config/kdm/kdmrc is a line like "ServerCmd=/usr/bin/X" and "ServerArgsLocal=-nolisten tcp". I'd reason from here, that some piece of software issues these values as a command and its arguments ... but where does it happen? kdm is an executable, so does it take both as arguments?

<edit> I also remember, that if you call "startx" from the command line you have to parameterize it heavily like "startx -- :2"; beware of the right number of dashes and blanks . How is that done from the bash.bashrc? </edit>

Last edited by JZL240I-U; 02-15-2011 at 03:16 AM.
 
Old 03-01-2011, 11:01 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
I found out that /etc/bash.bashrc calls startx. startx calls X. Which colucix wrote long ago (Thanks). Argh. Solved. Dunno why I missed that.

And I inserted a "sleep 1" in a likely script -- which I can't find anymore. Chaos rules, but that original fatal server error is gone .

Last edited by JZL240I-U; 03-01-2011 at 11:23 AM.
 
  


Reply



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
script to insert no. of lines in a file to the start of the file LarsB Linux - Newbie 3 09-17-2009 08:22 PM
Suse9.3_64 and WindowsXP_64 rdabra Linux - Newbie 1 09-30-2005 11:01 AM
How do you load from the network 9.3_64 barrythai SUSE / openSUSE 3 05-19-2005 03:19 AM
How to start a Tcl/Tk script by simply invoking the script file itself ? cyu021 Programming 2 10-10-2004 11:00 AM
Script that appends a file to start of other file amp2000 Programming 8 06-30-2002 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:01 PM.

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
Open Source Consulting | Domain Registration