CTKArch · Forums
![]() |
|
---|---|
![]() ![]()
Posts: 8
Registered: 2011-01-30 |
Hello,
Since I upgrade on Saturday, I can't Shutdown the system or mount my removable devices. I searched on French or English forum but I can't find the solution. I found this topic https://bbs.archlinux.org/viewtopic.php?id=112637&p=1 but CTKarch doesn't use SLIM and I can't find any /etc/pam.d/login.pacnew. I checked some point and the result of Quote:seems strange as there is two session but I don't know what it means. [see below] Does someone had the same problem and could help me? ________________________ Bonsoir, Depuis la mise à jour de samedi, je ne peux plus éteindre mon ordinateur depuis le menu ou monter de disque externe depuis Pcmanfm. Après recherche sur les forum Arch j'ai trouvé ce topic qui semblait correspondre https://bbs.archlinux.org/viewtopic.php?id=112637&p=1 mais CTKarch ne semble pas utiliser SLIM et je n'ai pas de trace d'un fichier /etc/pam.d/login.pacnew. En vérifiant certains points indiqués, le résultat de Quote:me semble étrange car il y a deux sessions mais je ne sais pas ce que cela signifie : Quelqu'un aurait-il eu le même problème et pourrait m'aider à le résoudre ? D'avance merci pour votre aide. Quote: Toshiba Satellite 2410-515 : P4-M, 512Mo DDR RAM, Chipset nVIDIA Geforce 4 |
Last edited by: Calimero on Feb 02, 2011 11:40:51 pm
|
![]() |
|
---|---|
![]() ![]() Administrator
Posts: 551
Registered: 2011-01-20 ![]() |
Sorry, I don't have the same problem, but I can help you though !
![]() I can already tell you it's normal to have two consolekit sessions. (it may be confusing, but it's impossible to have only one… I really wanted to.) Of course, the command is ck-list-sessions. I'll try to reproduce the problem tomorrow and will keep you informed. ____________________ Désolé, je n'ai pas le même problème, mais je peux quand-même t'aider ! ![]() Je peux déjà dire que c'est normal d'avoir deux sessions consolekit. (même si c'est un peu bizarre, il est impossible de n'en avoir qu'une… j'aurais voulu.) Bien sûr, la commande est ck-list-sessions. J'essaie de reproduire le problème demain et je te tiens au courant. ____ EDIT : Est-ce que la mise à jour de consolekit a résolu le problème ? |
Last edited by: Calimero on Feb 02, 2011 11:51:53 pm
|
![]() |
|
---|---|
![]() ![]()
Posts: 8
Registered: 2011-01-30 |
Hello Calimero,
Unfortunatly the upgrade didn't solve the problem. I have dual boot with CTKarch 0.5 this is the result of Quote:and this is the result (I don't know how to edit my first message to correct): Quote: In this case I have active = TRUE. I think it's the problem. I will try to find how to change it. Salut Calimero, Je l'espérais mais la mise à jour n'a rien changé. Comme j'ai gardé CTKarch 0.5 en dual boot j'ai vérifié et tu peux voir le résultat de Quote: Je pense que le problème vient du fait que maintenant j'ai active = FALSE. Je vais faire des recherches de ce côté pour essayer de le modifier. Toshiba Satellite 2410-515 : P4-M, 512Mo DDR RAM, Chipset nVIDIA Geforce 4 |
![]() |
|
---|---|
![]() ![]() Administrator
Posts: 551
Registered: 2011-01-20 ![]() |
The penultimate version of consolekit caused this problem, but the latest update (today, or yesterday evening) solved it.
You aren't the only one who experienced that problem! Now, if you run pacman -Syu and if you didn't hack anything related to consolekit, it must work again. _________________________ L'avant-dernière mise à jour de consolekit a causé ce problème, mais la toute dernière d'aujourd'hui (ou hier tard), l'a résolu. Tu n'es pas le seul à avoir eu le problème! Normalement, si maintenant tu lances pacman -Syu et que tu n'as rien bricolé rapport à consolekit, ça doit fonctionner à nouveau. |
![]() |
|
---|---|
![]() ![]()
Posts: 8
Registered: 2011-01-30 |
It was on wednesday I have now version 0.4.3-2 but the same problem. I didn't hack anything since I didn't know exactly what to do.
I will continue to search. J'ai bien eu la mise à jour vers la version 0.4.3-2 mais malheureusement cela n'a pas résolu le problème. Comme je ne savais pas quoi faire, je n'ai rien touché à la configuration. Je vais continuer de chercher. Toshiba Satellite 2410-515 : P4-M, 512Mo DDR RAM, Chipset nVIDIA Geforce 4 |
![]() |
|
---|---|
![]() ![]() Administrator
Posts: 551
Registered: 2011-01-20 ![]() |
Okay ! I think I've found.
Edit /etc/pam.d/su and add nox11 at the end of the last line. Presently, it looks like: PAM Code: session optional pam_ck_connector.so Change it to: PAM Code: session optional pam_ck_connector.so nox11 |
Last edited by: Calimero on Feb 07, 2011 12:16:53 pm
|
![]() |
|
---|---|
![]() ![]()
Posts: 8
Registered: 2011-01-30 |
Unfortunatly, it doesn't work for me.
Here is my /etc/pam.d/su if you can see something else : Quote: I have to say I'm lost with all these permission. Thanks for your help. Toshiba Satellite 2410-515 : P4-M, 512Mo DDR RAM, Chipset nVIDIA Geforce 4 |
![]() |
|
---|---|
![]() ![]() Administrator
Posts: 551
Registered: 2011-01-20 ![]() |
I forgot to ask : which architecture are you using?
i686 or x64? |
![]() |
|
---|---|
![]() ![]()
Posts: 8
Registered: 2011-01-30 |
I686. Since I have another problem, I will try to reinstall. I can't start X now and I can't find what I changed to have this. Everything is "blocked" at the "CTKarch login". I tried startX as root but it told me that some package were missing. With this new installation I will see if it will solve the problem of authorization.
Will keep you inform. Toshiba Satellite 2410-515 : P4-M, 512Mo DDR RAM, Chipset nVIDIA Geforce 4 |
![]() |
|
---|---|
![]() ![]()
Posts: 8
Registered: 2011-01-30 |
As I said, I made a new install. But after upgrading, I have the same problem of authorization.
Here is the extract of pacman.log http://pastebin.com/xUUF5H4e As I saw that gshadow have a link with users group, I tied to copy /etc/gshadow.pacnew to /etc/gshadow but it didn't solve the problem. Here is my /etc/gshadow if it can be interesting : http://pastebin.com/SwmDYT3Y I will continue to search [edit Calimero] : use pastebin Toshiba Satellite 2410-515 : P4-M, 512Mo DDR RAM, Chipset nVIDIA Geforce 4 |
Last edited by: Calimero on Feb 13, 2011 11:58:40 am
|
![]() |
|
---|---|
![]() ![]() Administrator
Posts: 551
Registered: 2011-01-20 ![]() |
Don't search, just rollback consolekit until I can find out what's wrong.
Use the ARM repo in mirrorlist just to reinstall consolekit. (pacman -Syy consolekit after uncommenting it) Then uncomment an "IgnorePkg =" line in /etc/pacman.conf and use it this way : "IgnorePkg = consolekit" This is *not* a solution but will allow it to work. Until solved. |
![]() |
|
---|---|
![]() ![]()
Posts: 8
Registered: 2011-01-30 |
Hello Calimero,
I downgrade consolekit as you said and it works now. We can find this bug on different website and it seems it depends how the session is launched. https://bugs.freedesktop.org/show_bug.cgi?id=31374 bugs.debian.org/cgi-bin/bugreport.cgi?bug=598150 Unfortunatly I don't know how to use these informations. If you need more information about my system, tell me. Thanks for your help. Toshiba Satellite 2410-515 : P4-M, 512Mo DDR RAM, Chipset nVIDIA Geforce 4 |
![]() |
|
---|---|
![]() ![]() Administrator
Posts: 551
Registered: 2011-01-20 ![]() |
Yep. Don't worry, I was on it.
The fix is as follows: Create /etc/autostartx containing (change user="arch" to your username): BASH Code: #!/bin/sh
#Runs an X session for the user defined here: user="arch" echo 'Starting X session for '"$USER" login -f "${user}" STARTX=1 Don't forget to chmod +x /etc/autostartx Logged as your user, run: BASH Code: echo 'if [ "$STARTX" == "1" ];then
unset STARTX ; startx &>/dev/null exit 0 fi' >> ~/.bash_profile And in /etc/inittab, change: BASH Code: x:5:once:/bin/su arch -l -c "/bin/bash --login -c startx &>/dev/null" &>/dev/null
to BASH Code: c4:5:respawn:/sbin/agetty -n -l /etc/autostartx 38400 tty4 linux
Enjoy! X starts faster and consolekit gives you the auth. ![]() |
Last edited by: Calimero on Feb 14, 2011 8:12:25 am
|
![]() |
|
---|---|
![]() ![]()
Posts: 8
Registered: 2011-01-30 |
Thanks Calimero, it works perfectly.
For sure, I would never find this. I don't understand what I made. Offtopic: What could be great and helpful for users is something in the documentation as "How is build CTKArch" where we can see which choice you made, and why; for the configuration. P.S. Perhaps this topic should be in the "Bugs" category and not in "User support". Toshiba Satellite 2410-515 : P4-M, 512Mo DDR RAM, Chipset nVIDIA Geforce 4 |
![]() |
|
---|---|
![]() ![]() Administrator
Posts: 551
Registered: 2011-01-20 ![]() |
It is user support but it's duplicated in bugs. In fact it's both, for a lot of people could need help on this.
So this topic will remain there. We can have conferences on #ctkarch on Freenode, with people asking on the chan, and me answering through an audio stream. (I'll make a topic in Community) Writing a page explaining all the config details and the 'why' for every single one would be a lot of work, and maintaining it would be even worse! All of my config choices are in the sources, and there is nothing else in them. It's easy for me to upload them, maybe not as easy to read, but… |