LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-29-2010, 05:02 AM   #1
ethereal1m
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Rep: Reputation: 31
Question cannot go to tty1-6 from KDE


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
 
Old 03-29-2010, 05:34 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Which Slackware version do you use ? Slackware-13 or Slackware-current ?
 
Old 03-29-2010, 05:49 AM   #3
ethereal1m
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Original Poster
Rep: Reputation: 31
13.0.0.0.0 64bit
 
Old 03-29-2010, 08:17 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Same version here.

I installed KDE to try.

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.
 
Old 03-29-2010, 03:31 PM   #5
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
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.
 
Old 03-30-2010, 12:08 AM   #6
ethereal1m
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Original Poster
Rep: Reputation: 31
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
 
Old 03-30-2010, 12:12 AM   #7
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
Quote:
Originally Posted by ethereal1m View Post
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?
 
Old 03-30-2010, 12:32 AM   #8
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
Quote:
Originally Posted by T3slider View Post
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.

Last edited by ponce; 03-30-2010 at 12:40 AM.
 
Old 03-30-2010, 12:52 AM   #9
ethereal1m
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Original Poster
Rep: Reputation: 31
I'm not sure if I have gnome installed, when I executing it using gdm command, it doesn't work. Not sure about securetty file also, what does it do?
 
Old 03-30-2010, 01:03 AM   #10
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
Quote:
Originally Posted by ethereal1m View Post
I'm not sure if I have gnome installed, when I executing it using gdm command, it doesn't work. Not sure about securetty file also, what does it do?
Can you post the contents of securetty here?
To know more about securetty:
Quote:
#man securetty
P.S. Not familiar with slackware

Last edited by Sayan Acharjee; 03-30-2010 at 04:08 AM.
 
Old 03-30-2010, 04:06 AM   #11
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Slackware doesn't come with Gnome by default, but you can install it yourself.
 
Old 03-30-2010, 10:31 AM   #12
ethereal1m
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Original Poster
Rep: Reputation: 31
Hi,
here my securetty file:
Code:
# 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
 
Old 03-30-2010, 10:33 AM   #13
ethereal1m
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by ponce View Post
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).
hmm, I have "vga=normal"
 
Old 03-30-2010, 12:25 PM   #14
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
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
 
Old 03-30-2010, 12:45 PM   #15
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
ethereal,
you may find this post helpful:

http://www.linuxquestions.org/questi...0/#post3823999

I had a similar issue to the one you describe, and the 'terminate server=true' change in kdmrc fixed it for me

tobyl
 
  


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
KDE won't start; system starts in tty1 Jags_FL Slackware 8 02-22-2008 08:41 PM
TTY1 Hangs(???!!!) bluethundr Debian 0 01-15-2006 08:47 PM
SuSE 8.2 Yast in KDE makes tty1 freak out jxi Linux - Distributions 1 12-16-2003 07:04 PM
symbols on tty1 grizzly Linux - General 2 08-30-2003 12:44 PM
X and tty1 errors Lazlo Linux - General 0 11-15-2001 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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