LinuxQuestions.org
Review your favorite Linux distribution.
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 04-23-2004, 04:19 PM   #1
areinhar
LQ Newbie
 
Registered: Mar 2004
Distribution: slackware current
Posts: 10

Rep: Reputation: 0
KDM problems after upgrade


ok just to start out I did search for the fix, but I could find nothing that worked.
I upgraded to KDE 3.2.2 this morning using swaret and after the upgrade was done kdm would not let me log in as user or root. What kdm did was flash the screen and then go right back to the login prompt. I tried this with every window manager in the list but still non worked. if i go tty2 and type startx it loads right into kde. but if i type startkde i get these errors: xset unable to open display ""
and
ksplash cannot connect to x server
kdeinit: aborting $Display is not set
and so other junk that is related to xset.
Any help would be appreciated.


Tony
 
Old 04-24-2004, 10:11 AM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
startkde is used to start the session once X is up and running. It'll always complain it cant find a display if you don't have X up and running.
It's usually put into .xinitrc at the end as

exec startkde

There's no problem there.

I suspect the reason that KDM isn't working right, is that you had it running while you did the upgrade to it. That can mess with things. (It happened to me, too.)

Look at the options for running kdm, there's a way to have it rebuild its scripts.
Check out genkdmconf and /opt/kde/share/config/kdm
There's a readme in there and all the initialization files. Move everything to a backup (.bak) and then run genkdmconf --no-old

--Shade
 
Old 04-24-2004, 10:05 PM   #3
areinhar
LQ Newbie
 
Registered: Mar 2004
Distribution: slackware current
Posts: 10

Original Poster
Rep: Reputation: 0
Smile

Thank you very much. I got it to work. the problem was that there was 5 files missing that were created when i ran the command. but i couldnt access the command using root so i put it somewhere in my home directory then i copyed the files over and it worked


Thanks again
http://www.linuxquestions.org/questi...readid=173808#
 
Old 04-26-2004, 07:14 PM   #4
justaguynsrq
Member
 
Registered: Mar 2003
Location: Sarasota, FL
Distribution: Ubuntu : Hoary
Posts: 90

Rep: Reputation: 15
I am truly sorry to have to re-hash this thread, however, I am having the same problem, but guess I do not know enough to get it corrected.

Could I have a wee bit of hand holding at this junction? I have ctrl-alt-F8, to enable ........ is it tty2? I know it enables me to get to the command line, but after getting there, I am unable to type any commands in, it doesn't take a genius to know that I have not "logged-in".

Needless to say, I am stuck, posting from XP, and NOT enjoying it. Wiping palms to diminish the sweat for the wee bit of hand holding I need about now .......................

Thanks
 
Old 04-26-2004, 10:35 PM   #5
areinhar
LQ Newbie
 
Registered: Mar 2004
Distribution: slackware current
Posts: 10

Original Poster
Rep: Reputation: 0
Ok instead of going to tty8 which is ctrl+Alt F8 try tty6 which is ctrl+alt f6 or lower then login as your user login. and then run the command genkdmconf --in /home/(any empty folder here) --no-old
then copy what was placed in that folder to /opt/kde/share/config/kdm. but remember to rename all the files in /opt/kde/share/config/kdm to Xyz.old before you copy the files over. i find that using konquer is easier for copying and renaming files.

so i hope this helps
 
Old 04-27-2004, 02:37 AM   #6
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
The problem is there are 6 files missing from the directory /opt/kde/share/config/kdm...................this is something that forgot to get packaged in the recent upgrade to KDE-3.2.2 from the Slackware mirrors

Here's a quote from an email I sent to the Slackware support:
Quote:
What I had to do to make it work is to make the Xsession file executable, and
grab six files from the kdebase-3.2.1 package that belong
in /opt/kde/share/config/kdm, which include Xaccess, Xreset, Xresources,
Xsetup, Xstartup, and Xwilling. I don't know if all six are needed, but I put
them in anyway.
I sent this off on Friday, but haven't heard anything from them yet. If you don't have kdebase-3.2.1 or can't find a mirror that still has version 3.2.1, let me know and I can either send you the files or post their code here........


---thegeekster
 
Old 04-27-2004, 03:04 PM   #7
areinhar
LQ Newbie
 
Registered: Mar 2004
Distribution: slackware current
Posts: 10

Original Poster
Rep: Reputation: 0
Yeah that what the problem was...but the command given produces those six files that are deleted during the upgrade.
 
Old 04-27-2004, 09:43 PM   #8
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
You're welcome
I recalled that command from having to do this with the move from 3.1 to 3.2.x
Otherwise, I'd be asking just as you did.

--Shade
 
Old 05-21-2004, 12:56 PM   #9
Intreeg
LQ Newbie
 
Registered: May 2004
Distribution: SuSE 9.0
Posts: 8

Rep: Reputation: 0
would this happen on all user account

I am having a problem with logging into any window manager from KDM. However, this only happens with one of my user accounts. If I create a new user and login in with it it works. This is not the same issue as the one described above is it?
 
  


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
Having problems with KDM BiOs r00t Linux - Newbie 2 11-18-2005 07:13 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
can't use kdm, after swaret upgrade alexrait1 Slackware 2 06-26-2004 05:09 PM
kdm problems aaa Linux - Software 8 08-06-2003 03:57 PM

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

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