![]() Manager ![]()
|
might be /home/stk/.kde/share/config/kdedrc in Arch? - some distros use ~/.kde4 others ~/.kde
|
![]() Administrator ![]()
|
Arch should use .kde4 by default. Unless you run KDEMod, in which case the directory is called .kdemod4.
I suspect that something is strange with your home directory _stk. Could you please elaborate what you did when you created a new one (e.g. as which user, the permissions it has etc.). Can you do a
and post the result here? (You can cut out your own directories from the list, it's mostly the directories/files starting with a dot that are interesting.)
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
![]() Registered Member ![]()
|
Yup, Arch Linux uses ~/.kde4 by default. Btw, all other accounts on my computer have ~/.kde4/share/config/kderc.
When I create new $HOME (as root in tty)
So far, /home/stk is a new and empty folder. Then I switch to 'stk' and start kdm (in /etc/sudoers, 'stk' is set to "ALL=(ALL) ALL")
After login failed, I switch back to tty and try listing everything in my $HOME
There is one weird file, ~/icon-cache. I don't know where it's from and why it's created _every time_ I try to login to 'stk'. It seems like an empty text file.
.Xauthority is empty .xsession-errors is exactly match to the one I posted. Regards, _stk |
![]() Administrator ![]()
|
Thanks for posting such detailed information. Unfortunately this seems to be beyond my knowledge - the permissions look correct to me, you start with a clean $HOME (meaning there should be no corrupt config file) and it has worked for that user previously (so probably not group issues).
My only bet left is the cache files in /var/tmp/kdecache-$USER/, but that shouldn't prevent you from logging in. Anyway you could try to clear them and see if it helps. As a last solution you can try to delete your user and create one with the same name and uid and see if it help (as it did for this user). You seem to know what you're doing, so I guess I don't have to remind you to make a backup first. ![]()
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
![]() Registered Member ![]()
|
I got the same problem!
After painfully test with all the files, I finally find the file that is responsible for my blank screen! It's krandrrc!!! |
![]() Administrator ![]()
|
As a future note, checking the content of ~/.xsession-errors usually indicates why this occurs.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I have a similar problem, but no one of above solutions didn't solved.
I'm using OpenSUSE 11.4, and kde 4.7, and I cannot login to kde with my username, even in failsafe mode. When I'm trying to do it I get a blank screen for a sec and fallback to gdm. I can start kde as mythtv user, and I can start plasma-desktop manually from gnome3. But not from login screen. I can find only this related entries on .xsession-errors:
Any help? EDIT: I "solved" it by reinstall system ![]() |
![]() Registered Member ![]()
|
I've done a physical copy of an old HD into a new one and after that, I was not able to login into KDE again.
This is pretty weird because it is a physical copy. Every single byte from one HD was copied into the new one. For some unknown reason, KDE was refusing to let me log in after that. This is a pretty unexpected situation. I've tried other solutions presented in this thread and nothing. ![]() In particular, I've tried to create a brand new user and try to login KDE but nothing. So, seems like it's not related to any user configuration file. I've looked at my ~/.xsession-errors file, which told me
Well... not very explicative. I would love to know what hell my user does not have permission to open/read/write/whatever. Such kind of message is useless ![]() Well, after lots of try-and-nothing, I found a solution which works for me. I hope I can contribute to others finding the same difficulty. Solution 1. Stop KDM
2. Make sure /tmp can be written by everyone, but exec is denied see:
In particular, my /tmp was protected. After I executed the above command, I started to see something a little more useful in the .xsessions-errors file. But the problem still persisted, so I had to go ahead with the steps below. 3. Enter in 'paranoid' mode and start cleaning some files. Don't be afraid: these files will be recreated later. Clear dbus configuration.
Clear your KDE cache
4. Start X on DISPLAY :0, using your non-root user. Note: substitute "user" by the your actual username.
If everything goes well, the graphical environment will appear and you will see a terminal window. If this is not your case, you will have to investigate why X is not kicking off. Please find out why somewhere else and return back to this point later. 5. Make sure you are authorized to start KDE. Using the terminal window which appeared when you executed the previous step, enter the commands below. You will have to tell that your local box is authorized to use X and also your username "user" (just for the sake of example) is autorized too.
Note: substitute "user" by the your actual username. 6. Now start KDE from the terminal window mentioned before.
If you see your desktop, this is great! I hope you can, cos otherwise I'm not able to help you. OK. Let's go ahead. 7. From root, save everything and reboot.
If after boot you can access your desktop as usual from the KDM login, problem solved! Otherwise, let's go ahead with some more steps. Enter 'hardcore' mode a) As root, reinstall KDM Stop KDM
Remove KDM
Wipe out KDM from its dirty and insignificant existence
Reinstall KDM
b) Try a clean reboot and see what happens
More tricks In my specific case, turned out that the problem was due to /tmp not mounted properly. In a nutshell, you need to guarantee that it is mounted with permission 1777. Below you can see a snippet of my /etc/fstab which (now!) does that properly:
I hope my contribution had helped you somehow. Richard Gomes |
![]() Administrator ![]()
|
The likely issue could be the the "uid" of your user changed when you reinstalled your system. In this case, running "chown -R <username>:$(id -gn <username>) /home/<username>/" should correct the situation.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]