LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-27-2007, 05:20 PM   #1
Loslobo
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Rep: Reputation: 4
KDM logon screen resolution and logoff issues in Slackware 12.0


Having run slackware 11 desktop on a PC with an ATI Radeon 7000 card rather nicely. I installed slackware 12 on the same machine and noticed after configuring Xorg that the kdm logon screen chooses a virtual screen much larger than the 1024x768 resolution set in Xorg.

My Xorg settings in Slack 12, as generated by xorgconfig, are the same as in Slack 11. Yet kdm (and KDE initially ) runs with that virtual resolution setting. I've been told that a virtual screen will be selected if found in Xorg, but there's no virtual resolution line in "Display" or "Screen" stanzas in xorg.conf

I can change KDE's resolution from within the desktop, but no luck so far with KDM's logon screen.

Some observations, kdm is no longer resetting the Xserver on logout as in Slack 11, but attempting a logout without restarting the server, It's led to lockouts on logoffs when changing users and attempts to change run level to 3 within a KDE terminal (as root) no longer seem to work.

Since Slackware 12 is using Xorg 7.2 and has placed KDE in the /usr area, I was wondering if somewhere kdm and KDE are grabbing initial screen settings from initialization files there, rather than using xorg.conf found in /etc/X11.

Seems a lot of nice initial settings got dropped this time. Any hints on where to hunt this down?

Last edited by Loslobo; 07-27-2007 at 05:22 PM.
 
Old 07-30-2007, 12:40 PM   #2
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,488
Blog Entries: 2

Rep: Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995
Try if possible to re-use the Slack-11.0's xorg.conf ?
How is it working with VESA? if good then is the Radeo driver broken (again)?
 
Old 07-30-2007, 11:27 PM   #3
bgoct
LQ Newbie
 
Registered: Jul 2007
Location: Mainland China
Distribution: slackware
Posts: 7

Rep: Reputation: 0
i meet the same problem too

1.when i perform ctrl+alt+backspack in the kde tty ,then i switch to other tty ,the screen is unstable,can't display the text clearly

2,when i perform "end session",kde logout but the login screen won't show up anymore,the screen show some random dots,but mosty black,and i can't switch to other tty ,but i can perform"ctrl+alt+delete" to restart my pc
 
Old 07-31-2007, 02:41 AM   #4
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,488
Blog Entries: 2

Rep: Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995
@bgoct
The console is there but it's in a 'braindead' state
You can even blind-type
Code:
startx
and get back to
The issue is X's fault. X fails to restore the console in a valid state.
This did happen before on ocasion, and got fixed too, more times.
 
Old 07-31-2007, 08:24 PM   #5
bgoct
LQ Newbie
 
Registered: Jul 2007
Location: Mainland China
Distribution: slackware
Posts: 7

Rep: Reputation: 0
finally know why ,but don't know how to fix it

Thanks SCerovec,your post can explain all the weird thing i have ever met.

And after days googling,I can boild the problem down to the follow reason:

1.When X server restarted by performing"ctrl+alt+backspace" or "end session"in kde,the X dosn't restore the monitor modes correctly,or re-initialize it.

2.when step 1 performed,then switch to other VT,form example,the vesa frame buffer,the framebuffer dosn't initialize the monitor either.

=
but when i use VMware to install slackware,this problem dosn't show up,why????

But i don't know how to fix it,or are there any options can be set in the xorg.conf to make the X server restore the framebuffer modes,or re-initialize the monitor???Anybody has any clues please let me know.

Last edited by bgoct; 07-31-2007 at 08:29 PM.
 
Old 08-01-2007, 03:16 AM   #6
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,488
Blog Entries: 2

Rep: Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995
You might refer to the swsusp (software suspend) documentation. There was the exact issue while restoring the state back from suspend...

When Mandrake resolved this, the tty-s got back to work too.
 
Old 08-01-2007, 10:49 AM   #7
Loslobo
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by SCerovec
Try if possible to re-use the Slack-11.0's xorg.conf ?
How is it working with VESA? if good then is the Radeo driver broken (again)?
My apologies for being slow to respond, I've been out a few days.

Two things I had to do. I replaced the stock ATI driver with the optional ATI xorg drive found in the extra section of the slack CD set. And in kdm, I found /etc/kde/kdm/kdmrc and added 'TerminateServer=true' under the heading [x-*-Core]to force kdm to restart X-server on logout.

Both seem to work. I can logout and change run levels. The same can be said for using VESA.

However, even under the other ATI driver, the KDE CD player, kscd locks up the CD player (unable to eject, even using the command line!) when stopping, or pausing the player. Which remains till one reboots.

I don't know if the kscd issue is related to the ATI/xorg problems. I'm not happy with the state of the open xorg drivers for ATI running older radeon video cards. Cards I've kept to avoid problems with the open source drivers. ;p

---edit---
Shutting HAL down (chmod -x /etc/rc.d/rc.hald) seemed to have solved the kscd issue. Back to manual mounting I guess.

Last edited by Loslobo; 08-01-2007 at 11:12 AM.
 
Old 08-01-2007, 10:58 PM   #8
bgoct
LQ Newbie
 
Registered: Jul 2007
Location: Mainland China
Distribution: slackware
Posts: 7

Rep: Reputation: 0
adding 'TerminateServer=true' is just a backup resolution,it can fix the kde logout problem.but when you logout kde,the Xserver is restarted,then if you perform "ctrl+alt+F1" to switch to other linux console ,the screen will become mess up,but if i press my IBM function key "Fn+F7" to switch to CRT and press again to switch back,the monitor recover and become stable,I don't know why,may be somebody who is familiar with the linux video system can explain this!!!
 
Old 08-02-2007, 03:06 AM   #9
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,488
Blog Entries: 2

Rep: Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995
@bgoct
It's the fact that the zapping (alt+Fn) doesn't reset the monitor's mode, just the VGA's mode. When You do the Fn+F7 the monitor gets resetted and hence the view back
This is a issue between X and FBconsole: they use different calculations for EDID and different modes too.
Either (or both) X or FB should reset the video device upon invocation and abundance.
 
Old 08-02-2007, 08:40 PM   #10
bgoct
LQ Newbie
 
Registered: Jul 2007
Location: Mainland China
Distribution: slackware
Posts: 7

Rep: Reputation: 0
So is there anything we can do about it??I want both DRI and vesafb to work together.but now,if I enable DRI in xorg.conf,when Xserver restarted by kde,the vesafb console screen will become a mess,althought I can use "Fn+F7"to make it normal again, I think that is a backup method.If press "Fn+F7" twice can make it right,there must be some thing we can do in software level.but how,or just wait for a new version of X???
 
  


Reply

Tags
kdm


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
ssh X11 forwarding of the kdm logon screen? and how to change port 6000? nass Linux - Software 1 04-24-2007 09:19 PM
screen resolution issues thebiggiantmouse Mandriva 8 08-31-2006 07:59 PM
ATI - Bad Resolution on KDM Login Screen (XFree86 4.3) Astral Projection Linux - Hardware 2 04-17-2006 06:29 PM
Logon/Logoff Applet ? Driven SUSE / openSUSE 3 09-20-2005 10:04 AM
Screen resolution issues reign Linux - General 1 02-09-2004 09:14 AM

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

All times are GMT -5. The time now is 10:36 AM.

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