LinuxQuestions.org
Help answer threads with 0 replies.
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 08-01-2003, 02:06 PM   #1
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Arrow kdm problems


Kdm works pretty well for me, except for a few things:

1.When I click on the Menu>Console Login button, kdm just turns itself off, leaving me with nothing but the "Starting up X11 login manager" line and the stuff before it. I have to switch to tty6 to restart it or switch to a different runlevel. How can I get the button working.

2. When I switch consoles and switch back, it does the same the same thing.

BTW, why are there only tty1 and tty6 in runlevel 4?
 
Old 08-01-2003, 03:33 PM   #2
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
Is run level 4 the normal run level for X11 in slackware?

Neither in RedHat, SuSE, or Debian, is run level 4 used.
RedHat and Suse run X11 in run level 5 and for Debian it is run level 3.

As to what is happening with your virtual terminals, have a look at your /etc/inittab file.

For RedHat I have

1:234:respawn:/sbin/mingetty --long-hostname tty1
2:2345:respawn:/sbin/mingetty --long-hostname tty2
3:2345:respawn:/sbin/mingetty --long-hostname tty3
4:2345:respawn:/sbin/mingetty --long-hostname tty4
5:2345:respawn:/sbin/mingetty --long-hostname tty5
6:2345:respawn:/sbin/mingetty --long-hostname tty6

The first digit 1 - 6 refers to the virtual terminal
the following numbers refer to the run level

So if you want a login to appear on every virtual terminal in run level
make sure you specify 4 in the second field as show above.

Your getty specification will no doubt be different from above,
do not change it!

And keep a copy of this file before you edit it.

cp -p /etc/inittab /etc/inittab.SAV

If you mess up this file, you will not be able to login at all to your system.

As for your KDE menu problem, I cannot really help except to say that I think what you are doing is clicking on a button to go to the first available virtual console on which to to a login.

After clicking on that button, can you do an

CTRL-ALT-F7 to get to your X session, or has that terminated?
 
Old 08-03-2003, 08:50 PM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Original Poster
Rep: Reputation: 46
The runlevel for X in Slackware is 4.
When I click the button in kdm for console login, in doesn't try to switch to a different virtual console. It just disappears.
When I switch from, for example, tty1 to tty6 then back to tty1, I find that kdm has disappeared. It's still running, but I can't get to it.
 
Old 08-04-2003, 06:46 PM   #4
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
If you look at your /etc/inittab you should have an entry something like this

x:4:respawn:/bin/nice -10 /etc/X11/X vt07 -dpi 100

Note the vt07?

If the vt07 is not there, do not worry, since that is the default.

That means that X is run on Virtual Console Terminal 7.

1) So when you click on console login on kdm, that takes you to a virtual console on vt01 presumably? When you login there and do

ps -adef | egrep kdm

do you still see kdm running

and if you do

ps -adef | egrep X

do you still see X running?

2) If you type <ALT><CTL><F7> do you then get returned to the kdm graphical login screen?

3) If there is nothing there, and you go

<ALT><CTL><F1>

back to vt01 and then type init 4, does anything happen?

Thank you for taking the time to answer these questions.
 
Old 08-05-2003, 10:08 AM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Original Poster
Rep: Reputation: 46
There is no "x:4:respawn:/bin/nice -10 /etc/X11/X vt07 -dpi 100
" line in my inittab.
 
Old 08-05-2003, 01:43 PM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Original Poster
Rep: Reputation: 46
I edited my inittab to add tty5 in runlevel 4, and suddenly things started to work properly (almost). When I click the Console Login button, I'm switched over to runlevel 3. However, in a few seconds kdm starts again.
 
Old 08-05-2003, 05:30 PM   #7
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
Quote:
Originally posted by aaa
I edited my inittab to add tty5 in runlevel 4, and suddenly things started to work properly (almost). When I click the Console Login button, I'm switched over to runlevel 3.
Although you are at the command line prompt on a virtual console,
I do not think you are in runlevel 3, but still in runlevel 4.

Quote:
Originally posted by aaa
However, in a few seconds kdm starts again.
This is what you want, is it not?

So is everything working now as you want it to work?
 
Old 08-06-2003, 10:55 AM   #8
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Original Poster
Rep: Reputation: 46
My inittab says that I only have tty5 and tty6 in runlevel four. When I click on Console Login, other consoles like tty4 and tty2 also become available, so I was probably switched to runlevel 3. Is kdm supposed to come again in a few seconds?
 
Old 08-06-2003, 03:57 PM   #9
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
If kdm is started as a daemon, then yes it will keep returning.

If it did not, then every time you ended your X session, somebody would have to login as root and start kdm again.
 
  


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
Having problems with KDM BiOs r00t Linux - Newbie 2 11-18-2005 07:13 PM
Adding kdm to init.d so LFS boots to kdm StevePhM Linux From Scratch 4 08-08-2005 09:49 PM
KDM Problems bill.ramby Linux - Software 5 03-29-2005 11:45 AM
kdm login problems MockieMoo Linux - Software 0 07-31-2004 08:13 PM
KDM problems after upgrade areinhar Slackware 8 05-21-2004 12:56 PM


All times are GMT -5. The time now is 02:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration