LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 12-15-2006, 09:25 PM   #1
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Rep: Reputation: 31
Blank Screen: KDE?


Howdy Y'all,

I've just installed Slackware 11.0 on my station at work and I'm getting a blank screen when I leave KDE. This has happened in three distinct situations: 1) In Slax (testing things out, trying to probe the monitor settings), I chose "logout" from the regular KDE menu; 2) after getting KDE from "startx" I again chose the regular "End this session" and got a blank screen, then 3) while in runlevel 3, I typed "kdm" and the screen went blank.

From other posts on here, I've figured out that I should just go to the next virtual terminal and log in again, but what causes this and how can I stop it from happening again?

BTW, in SLAX, the HorizSync was set to 85 Hz -- is that way out of range for a standard CRT? It seems high to me. I therefore hesitated to change xorg.conf.

Thanks,
Joel
 
Old 12-19-2006, 04:10 PM   #2
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Original Poster
Rep: Reputation: 31
Now, I've gotten kdm to start by running init 4, changing the default runlevel to 4 and commenting out the sections in rc.4 for the other display managers.

I've also edited the agetty lines in /etc/inittab as follows:

Code:
# These are the standard console login getties in multiuser mode:
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c6:1235:respawn:/sbin/agetty 38400 tty6 linux
Now, I boot into X (xfce to be exact), however when I exit any window manager, I still get a blank screen. I mean no screen output whatsoever.

The other thing is that I can't switch virtual terminals without losing the X server: i.e., if I press CTL-ALT-F2, I get another terminal login, then I hit CTL-ALT-F1 and I get the original login from before KDM started, but no X session. Where did it go?

Thanks,
Joel
 
Old 12-19-2006, 06:30 PM   #3
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 78
Quote:
...but no X session. Where did it go?
The X server is running on tty7.

Before you edited the /etc/inittab file, the only virtual console would have been on tty6 for runlevel 4. Pat placed some comments in the inittab about this.

tty6 appears for runlevel 4:
Code:
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
 
Old 12-20-2006, 09:49 AM   #4
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Original Poster
Rep: Reputation: 31
that makes sense, however should I be able to get back to it by pressing CTL-ALT-F7? (Because I can't )

What I want is to get back to the display manager when I log out -- then shut down from there...should I just replace the original inittab?

Thanks,
Joel
 
Old 12-20-2006, 11:34 AM   #5
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Original Poster
Rep: Reputation: 31
Please let me know what I'm missing here: on other systems (e.g., my home system PCLinuxOS) in runlevel 4, when I exit KDE or any other window manager, I get KDM back offering me another login. Now I get a blank screen.

Here's the current /etc/inittab:
Code:
~ Yes, Master? more /etc/inittab
#
# inittab       This file describes how the INIT process should set up
#               the system in a certain run-level.
#
# Version:      @(#)inittab             2.04    17/05/93        MvS
#                                       2.10    02/10/95        PV
#                                       3.00    02/06/1999      PV
#                                       4.00    04/10/2002      PV
#
# Author:       Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified by:  Patrick J. Volkerding, <volkerdi@slackware.com>
#

# These are the default runlevels in Slackware:
#   0 = halt
#   1 = single user mode
#   2 = unused (but configured the same as runlevel 3)
#   3 = multiuser mode (default Slackware runlevel)
#   4 = X11 with KDM/GDM/XDM (session managers)
#   5 = unused (but configured the same as runlevel 3)
#   6 = reboot

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

# System initialization (runs when system boots).
si:S:sysinit:/etc/rc.d/rc.S

# Script to run when going single user (runlevel 1).
su:1S:wait:/etc/rc.d/rc.K

# Script to run when going multi user.
rc:2345:wait:/etc/rc.d/rc.M

# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -t5 -r now

# Runlevel 0 halts the system.
l0:0:wait:/etc/rc.d/rc.0

# Runlevel 6 reboots the system.
l6:6:wait:/etc/rc.d/rc.6

# What to do when power fails.
pf::powerfail:/sbin/genpowerfail start

# If power is back, cancel the running shutdown.
pg::powerokwait:/sbin/genpowerfail stop

# These are the standard console login getties in multiuser mode:
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c6:1235:respawn:/sbin/agetty 38400 tty6 linux

# Local serial lines:
#s1:12345:respawn:/sbin/agetty -L ttyS0 9600 vt100
#s2:12345:respawn:/sbin/agetty -L ttyS1 9600 vt100

# Dialup lines:
#d1:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS0 vt100
#d2:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS1 vt100

# Runlevel 4 used to be for an X window only system, until we discovered
# that it throws init into a loop that keeps your load avg at least 1 all
# the time. Thus, there is now one getty opened on tty6. Hopefully no one
# will notice. ;^)
# It might not be bad to have one text console anyway, in case something
# happens to X.
x1:4:respawn:/etc/rc.d/rc.4

# End of /etc/inittab
Is the problem referred to in the note about throwing init into a loop the cause of my problem?

Joel
 
Old 12-20-2006, 01:44 PM   #6
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Original Poster
Rep: Reputation: 31
xorgconfig was the answer. Most people think love is the answer. However, in this case running a livecd and getting the settings from its xorg.conf was the answer.

Thanks,
Joel
 
  


Reply

Tags
kde, kdm, slax


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
Blank space on screen in Suse 10.1 using KDE 3.5.1 St_Mike777 Linux - Laptop and Netbook 3 01-17-2007 12:34 PM
Logging Off KDE or Gnome Yields Blank Screen philipogletree Debian 1 01-06-2006 04:31 PM
screen goes blank and freezes when kde loads joel b Linux - Newbie 1 02-15-2005 11:40 AM
kde logout goes to blank screen? aveach Linux - Newbie 2 07-15-2004 10:11 AM
Updated KDE 3.2 Now blank screen tpjets62 Fedora 2 02-11-2004 04:13 PM


All times are GMT -5. The time now is 10:22 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