Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

WOO HOO !!! Xfce 4.8 just landed in Sid.

Here you can discuss every aspect of Debian. Note: not for support requests!
Message
Author
User avatar
gradinaruvasile
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania
Contact:

Re: WOO HOO !!! Xfce 4.8 just landed in Sid.

#76 Post by gradinaruvasile »

Dammit... I dont know what happened, but i had to reboot because of a read/write error (caused, it seems, by the power management deatures i used for the SATA controller) and since then this didnt work anymore. So, back to downgrading consolekit (which works)....

Edit: I upgraded consolekit again and it is working even after reboots.
Last edited by gradinaruvasile on 2011-06-12 13:42, edited 1 time in total.

cynwulf

Re: WOO HOO !!! Xfce 4.8 just landed in Sid.

#77 Post by cynwulf »

Tried every method so far except for downgrading consolekit - all that works for me is installing gdm3. xdm and slim make no difference.

Tried this as well: http://forum.xfce.org/viewtopic.php?id=6007

emariz
Posts: 2901
Joined: 2008-10-17 07:59

Re: WOO HOO !!! Xfce 4.8 just landed in Sid.

#78 Post by emariz »

gradinaruvasile wrote:Found a solution. And it works!
1. edit the /etc/pam.d/common-session file (root rights, of course)
2. After the

Code: Select all

session	required	pam_unix.so
line insert the following line:

Code: Select all

session optional        pam_loginuid.so
logout then log in.
I had also seen the solution here: http://bugs.debian.org/cgi-bin/bugrepor ... =597937#71
Anyway, thanks for posting it here. I tried it last night in a new Testing installation and it solved this annoying ConsoleKit's bug. I had lost my faith and thought that I would need to continue using the version from Squeeze or to install GDM.

jeffreyC
Posts: 13
Joined: 2010-10-15 17:43

Re: WOO HOO !!! Xfce 4.8 just landed in Sid.

#79 Post by jeffreyC »

Still does not work for me, only consolekit from stable.
Edited the /etc/pam.d/common-session file, upgraded to consolekit 0.4.5-1 after reboot could not mount USB and no shutdown or reboot only logout.
Reverted to consolekit 0.4.1-4, USBs mount, shutdown and reboot work.
You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself.
Sam Levenson

User avatar
gradinaruvasile
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania
Contact:

Re: WOO HOO !!! Xfce 4.8 just landed in Sid.

#80 Post by gradinaruvasile »

There is another workaround to this issue:

in the

Code: Select all

/usr/share/polkit-1/actions
folder you have the consolekit (reboot etc rights), udisks (mount/unmount/filesystems) etc policy files.
The idea is that in the udisks policy file you have sections related to certain actions. For example:

Code: Select all

<action id="org.freedesktop.udisks.drive-set-spindown">
    <description>Set drive spindown timeout</description>
    <description xml:lang="de">Laufwerks-Zeitabschaltung setzen</description>
    <message>Authentication is required to configure drive spindown timeout</message>
    <message xml:lang="de">Zugriffsrechte werden benötigt um die Laufwerks-Zeitabschaltung zu konfigurieren</message>
    <defaults>
      <allow_any>yes</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>
Now here you see the allow_ lines - those specify what status has the user that can do that action - by default only the active users are allowed to do stuff.
For some reason on my comp (xfce, xdm) i can see my user as active, but it has still denied the rights to mount stuff despite the fact that udisks from terminal works.
So i modified the allow_any values to the EXACT value of the allow_active ones (the value is the one between the >< signs, it can be yes, no, auth_admin, auth_admin_keep). Now everything works.
After the changes are saved, you have to kill the /usr/lib/policykit-1/polkitd process with

Code: Select all

killall /usr/lib/policykit-1/polkitd
All modifications and process killing is done with root privileges of course.
I have the latest consolekit installed and no modification in the /etc/pam.d/common-session file (that workaround was kinda iffy, sometimes it worked sometimes not).

User avatar
dust hill resident
Posts: 240
Joined: 2007-05-18 13:31

Re: WOO HOO !!! Xfce 4.8 just landed in Sid.

#81 Post by dust hill resident »

I'm using wheezy on a 32bit computer, and I'm having this problem. I fixed it by installing the squeeze version of consolekit. But I haven't had the problem with my 64bit computer, which is also running wheezy. Does anyone know why that might be?

User avatar
gradinaruvasile
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania
Contact:

Re: WOO HOO !!! Xfce 4.8 just landed in Sid.

#82 Post by gradinaruvasile »

dust hill resident wrote:I'm using wheezy on a 32bit computer, and I'm having this problem. I fixed it by installing the squeeze version of consolekit. But I haven't had the problem with my 64bit computer, which is also running wheezy. Does anyone know why that might be?
What display manager do you use? Are they the same on both computers?

BTW the consolekit downgrading might work for now but later you might encounter problems with it (certain packages built with the new consolekit dependencies).

User avatar
dust hill resident
Posts: 240
Joined: 2007-05-18 13:31

Re: WOO HOO !!! Xfce 4.8 just landed in Sid.

#83 Post by dust hill resident »

It's the same on both computers. I use startx and my .xinitrc contains this:

Code: Select all

exec ck-launch-session startxfce4

MoaTib
Posts: 74
Joined: 2011-02-27 02:38

Re: WOO HOO !!! Xfce 4.8 just landed in Sid.

#84 Post by MoaTib »

I start Xfce with startx and .xsession wich only contains:

Code: Select all

exec startxfce4
In /usr/share/doc/xfce4-session/README.Debian it's written:
* only use startx, without any argument
* don't use a .xinitrc, use .xsession
apt-get install braindump -t unstable

Stupid changes are not synonymous of useful progress.

User avatar
dust hill resident
Posts: 240
Joined: 2007-05-18 13:31

Re: WOO HOO !!! Xfce 4.8 just landed in Sid.

#85 Post by dust hill resident »

I wasn't aware of that. I changed my setup to use .xsession instead of .xinitrc, but I still seem to be having the same problem.

Post Reply