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.
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.
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
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
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 .......................
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.
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........
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.