Same here, the last fix works for me on precise.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/483130
Title:
If 'startx' is run from within a text console, ConsoleKit session is
not marked
that last fix works great for me on precise. thank you
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/483130
Title:
If 'startx' is run from within a text console, ConsoleKit session is
not marked
LOL! That was the empty line in the end of startx-fix config. Upgrades
go smooth without it.
Now the super-correct workaround sequence:
echo 'Name: ConsoleKit startx fix
Default: yes
Priority: 0
Session-Interactive-Only: yes
Session-Type: Additional
Session-Final:
optional pam_loginuid.so' |
For some reason on every pam-related update one of pam-configs gets disabled:
either consolekit or custom startx-fix.
One of them also gets disabled by default on every 'dpkg-reconfigure
libpam-runtime'.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
More elegant and proper workaround:
echo 'Name: ConsoleKit Session Management
Default: yes
Priority: 0
Session-Interactive-Only: yes
Session-Type: Additional
Session-Final:
optionalpam_ck_connector.so nox11
' | sudo tee /usr/share/pam-configs/startx-fix
sudo
...damn. Copied contents of wrong file here.
here is the correct sequence:
echo 'Name: ConsoleKit startx fix
Default: yes
Priority: 0
Session-Interactive-Only: yes
Session-Type: Additional
Session-Final:
optionalpam_loginuid.so
' | sudo tee
OK, done some testing in oneiric..
Attaching outputs...
Adding session optionalpam_loginuid.so to common-session in
oneiric fixes the issue with startx and does not break login through
lightdm. I haven't tested gdm though.
** Attachment added: ck-list-session from console
** Attachment added: ck-list-session from X, afret startx from console with
fixed /etc/pam.d/common-session
https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/483130/+attachment/2375530/+files/ck-l-s_x_with_fix.txt
--
You received this bug notification because you are a member of
** Attachment added: ck-list-session from X, afret startx from console
https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/483130/+attachment/2375528/+files/ck-l-s_x.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Attachment added: ck-list-session from console, after fixing
/etc/pam.d/common-session
https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/483130/+attachment/2375529/+files/ck-l-s_c_with_fix.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
bug is still actual in current oneiric
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/483130
Title:
If 'startx' is run from within a text console, ConsoleKit session is
not marked 'active'
To
This seems to work fine for me under natty (I did an upgrade from
maverick, not a fresh install).
$ ck-list-sessions
Session1:
unix-user = '1000'
realname = 'Paul Donohue'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ''
...but editing /etc/pam.d/common-session by hand causes problems on
upgrade.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/483130
Title:
If 'startx' is run from within a text console, ConsoleKit
For me it worked fine in maverick, but became broken in natty
found solution here: http://forum.ubuntu.ru/index.php?topic=151466.0
added session optional pam_loginuid.so line before session optional
pam_ck_connector.so nox11 in /etc/pam.d/common-session
it fixed the problem.
--
You received
** Changed in: consolekit (Ubuntu)
Status: New = Confirmed
--
If 'startx' is run from within a text console, ConsoleKit session is not marked
'active'
https://bugs.launchpad.net/bugs/483130
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
This appears to have been fixed in Lucid, which provides an updated
90consolekit script similar to the one above, but using a dbus call
instead of ck-list-sessions to determine whether a session has already
been started.
Using the new Lucid script, I get two Sessions after running X from the
Patch works for me and fixes:
1. No audio when running startx http://ubuntuforums.org/showthread.php?t=1320661
2. Unable to mount USB, Not Authorized
http://ubuntuforums.org/showthread.php?p=9146247
--
If 'startx' is run from within a text console, ConsoleKit session is not marked
'active'
** Attachment added: Patch for 90consolekit
http://launchpadlibrarian.net/35720866/patch
--
If 'startx' is run from within a text console, ConsoleKit session is not marked
'active'
https://bugs.launchpad.net/bugs/483130
You received this bug notification because you are a member of Ubuntu
Oops, the script shown in the original bug report and patch had a typo
(== instead of =), this one is corrected.
** Attachment added: Patch for 90consolekit
http://launchpadlibrarian.net/35721753/patch
--
If 'startx' is run from within a text console, ConsoleKit session is not marked
19 matches
Mail list logo