SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dear all,
I have a problem logout from KDE that is both when I hit logout KDE button or "CTRL ALT F(1-6)", I get blank screen. Looks like my machine cannot redirect me back to the starting terminal.
Any ideas? Also in .xinitrc file I have the following line:
Code:
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
whereas .Xresource doesn't exist in that location. Is this related to my problem?
If I boot at runlevel 4 I see a black screen with CTRL ALT F(1-6) or the logout button.
If I boot at runlevel 3 I only can see tty1 (but I can logout).
Dunno why alas. I hope you'll get better answers, I am in fact a fluxbox user.
Last edited by Didier Spaier; 03-29-2010 at 08:30 AM.
Are you using runlevel 3 or 4? If it's 3 and exiting or switching away from KDE gives you a blank screen on terminal 1-6 (NOT >7) then your video drivers are likely corrupting the non-X display. I've seen it happen with both nVidia and ATI cards, and there are some options you can place in your xorg.conf to try to fix it...but I'm the wrong person to ask there -- I know of the issue but not how to solve it. A search for nvidia/ati(/intel?) blank screen or some such thing would turn up results for that.
If you're in runlevel 4, by default terminals 1-5 are blank and only terminal 6 is useful. Either way check /etc/inittab and make sure it looks OK (maybe post the file here). Beyond that I am afraid I am useless, since I do not use runlevel 4. If you are exiting KDE and expecting to get back to KDM but instead get a blank screen, that would likely be a video driver issue...but again I am no help there.
It would be best if you described which scenario above (or otherwise) suits the situation to get some better advice more tailored to you.
I'm running on runlevel 3, from tty1 I run KDE and try to exit from KDE and get back to tty 1, instead get a blank screen. From KDE I when I do CTRL ALT F1, it gives me blank screen, but I can get back to KDE using CTRL ALT F7.
. Here's my inittab:
Code:
#
# 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:3: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:1235:respawn:/sbin/agetty 38400 tty1 linux
c2:1235:respawn:/sbin/agetty 38400 tty2 linux
c3:1235:respawn:/sbin/agetty 38400 tty3 linux
c4:1235:respawn:/sbin/agetty 38400 tty4 linux
c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c6:12345: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
Dear all,
I have a problem logout from KDE that is both when I hit logout KDE button or "CTRL ALT F(1-6)", I get blank screen. Looks like my machine cannot redirect me back to the starting terminal.
Any ideas? Also in .xinitrc file I have the following line:
Code:
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
whereas .Xresource doesn't exist in that location. Is this related to my problem?
regards,
ethereal1m
Its only happening when you are using KDE right? Did you try to change terminal from GNOME? Are you sure your /etc/securetty file is ok?
Are you using runlevel 3 or 4? If it's 3 and exiting or switching away from KDE gives you a blank screen on terminal 1-6 (NOT >7) then your video drivers are likely corrupting the non-X display. I've seen it happen with both nVidia and ATI cards, and there are some options you can place in your xorg.conf to try to fix it...
when this happened to me with proprietary drivers i fixed it with the "vga=normal" option in /etc/lilo.conf (as it looks like proprietary drivers and framebuffer consoles don't work well together).
but i have read reports (and tasted myself) that the X-to-console-switching problem manifest also with this fix in some specific version of the proprietary drivers: changing driver version, in this cases, has helped.
# This file defines which devices root can log in on.
# These are the ttys on the physical console:
console
tty1
tty2
tty3
tty4
tty5
tty6
# These are some remote ttys, and uncommenting them might be less than fully secure:
#ttyS0
#ttyS1
#ttyS2
#ttyS3
#ttyp0
#ttyp1
#ttyp2
#ttyp3
#ttyp4
#ttyp5
#ttyp6
#ttyp7
#pts/0
#pts/1
#pts/2
#pts/3
#pts/4
#pts/5
#pts/6
#pts/7
when this happened to me with proprietary drivers i fixed it with the "vga=normal" option in /etc/lilo.conf (as it looks like proprietary drivers and framebuffer consoles don't work well together).
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
In your lilo.conf try
Code:
vga = 791
For your tty problems, try editing your /etc/inittab file thus:
In standard login getties section make sure it reads like this:-
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:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.