Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Tips and tricks for ConsoleKit, PolicyKit, and udev helpers

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
383 posts
  • Page 7 of 16
    • Jump to page:
  • Previous
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • 16
  • Next
Author
Message
hal2050
n00b
n00b
Posts: 47
Joined: Sat Jul 19, 2008 6:19 pm

  • Quote

Post by hal2050 » Tue Feb 08, 2011 9:17 pm

Anon-E-moose wrote:
hal2050 wrote:hehe too bad.
well i tried qingy and it works. but only when using the manual login method (login screen). when using the autologin feature of qingy sessions don't get registered, it behaves just like using su/sudo/etc.

mingetty does work but opens a "real" shell for the user automatically logged in. not so nice.
What's the problem with having a user log in ,and startx being executed from their profile?
well my machine is a dedicated xbmc appliance in my living room. nothing else is installed on this system. it's slim and streamlined to my needs. i expect a media appliance to bootup quickly, login my user automatically and i'll do the rest with my remote to enjoy my media collection. :) basically it's a diy settopbox. and that's how this appliance should behave. serve me in an uncomplicated way.

there's no place for a big bunch of extra packages which get pulled in by gdm, kdm or slim. well slim isn't as "fat" as gdm/kdm in regards to its deps. but for my taste it's still too much. in my opinion such a task should be accomplishable with onboard tools.

here's list of deps for kdm and gdm on my system, just for the record:

kdm: http://pastebin.com/0dcqZyGY
gdm: http://pastebin.com/UDcFeFRB

not acceptable.
claudio wrote: This raises an other question: why do I use CK at all for just mounting my USB drive? :lol:
good question. that's what i asked myself. but in my case it's not possible to move away from ck/pk and it's companions. xbmc has two builtin ways to automount devices and handle power tasks (shutdown, reboot, suspend).

1. hal
2. udev -> udisks / upower

as everybody knows hal is deprecated basically. xbmc still supports it but i'm pretty sure it's just a matter of time until it's getting removed. before it's getting removed from xbmc source i guess hal support will be dropped from the gentoo ebuild. there's an open ticket on the bug tracker for removal of hal support. i agree totally with this decission. hal was hell since 2001. :D i won't switch back.
xbmc also does support udisks / upower. that's fine but requires ck. and at this point people who run setups like me are more less stuck in the middle of nowhere when it comes to autologin their user and register with ck.

dm alternatives are:

- slim (might be "too fat" for some of us)
- qingy (seems to be broken in regards to ck and autologin)
- mingetty (opens a shell -> "security")
ssuominen wrote: I'm afraid "time" won't do anything here since an actual login is required for ConsoleKit's pam_ck_connector.so to get used, stuff like utmp/wtmp entries to get written... Otherwise CK wouldn't have any idea it's actually a local login and correctly refuses to authorize. It's by design like this.
seems like with ck there's a gap in the market for a console based dm. :P
maybe i should just download the xbmc livecd or some minimal live distro without a dm to get a clue how these people do it.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Wed Feb 09, 2011 4:08 am

By the way Ssuominen, thanks for this guide, I'm running KDE 4.6 without hal since Feb 4 and it's running pretty good :P
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Wed Feb 09, 2011 11:24 am

hal2050 wrote:
Anon-E-moose wrote:
hal2050 wrote:hehe too bad.
well i tried qingy and it works. but only when using the manual login method (login screen). when using the autologin feature of qingy sessions don't get registered, it behaves just like using su/sudo/etc.

mingetty does work but opens a "real" shell for the user automatically logged in. not so nice.
What's the problem with having a user log in ,and startx being executed from their profile?
well my machine is a dedicated xbmc appliance in my living room. nothing else is installed on this system. it's slim and streamlined to my needs. i expect a media appliance to bootup quickly, login my user automatically and i'll do the rest with my remote to enjoy my media collection. :) basically it's a diy settopbox. and that's how this appliance should behave. serve me in an uncomplicated way.

there's no place for a big bunch of extra packages which get pulled in by gdm, kdm or slim. well slim isn't as "fat" as gdm/kdm in regards to its deps. but for my taste it's still too much. in my opinion such a task should be accomplishable with onboard tools.
I understand, I don't like gdm/kdm myself because of the dependencies, and prefer to use startx

You might look at slim source and see how they do the login and adapt it for your purposes, or check out their development versions.

Good luck
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
mamac
l33t
l33t
User avatar
Posts: 890
Joined: Sun Feb 29, 2004 9:23 pm

Re: Tips, and tricks for ConsoleKit/PolicyKit/udev, without

  • Quote

Post by mamac » Wed Feb 09, 2011 12:53 pm

slack---line wrote: -> Device Drivers
[ ] ATA/ATAPI/MFM/RLL support (DEPRECATED) CONFIG_IDE=n <- This breaks both udev, and udisks.
I think this renamed my hda to sda, which makes kind of fun during boot ;-)

Now I'll do the same on a remote computer, let's see how fun it is :-)
Powered by Gentoo Linux since 2003
Top
SamuliSuominen
Retired Dev
Retired Dev
Posts: 2133
Joined: Fri Sep 30, 2005 8:38 am
Location: Finland

  • Quote

Post by SamuliSuominen » Wed Feb 09, 2011 3:57 pm

hal2050 wrote: - mingetty (opens a shell -> "security")
Seriously. What's the problem of getting a proper login/and a shell with mingetty? I'm still not getting it. If you are looking for extra security, this definately ain't the place you should be looking at...
Top
SamuliSuominen
Retired Dev
Retired Dev
Posts: 2133
Joined: Fri Sep 30, 2005 8:38 am
Location: Finland

Re: Tips, and tricks for ConsoleKit/PolicyKit/udev, without

  • Quote

Post by SamuliSuominen » Wed Feb 09, 2011 3:57 pm

mamac wrote:
slack---line wrote: -> Device Drivers
[ ] ATA/ATAPI/MFM/RLL support (DEPRECATED) CONFIG_IDE=n <- This breaks both udev, and udisks.
I think this renamed my hda to sda, which makes kind of fun during boot ;-)

Now I'll do the same on a remote computer, let's see how fun it is :-)
Yep. PATA/SATA drivers would do that. It's expected behavior. :)
Top
ginsoak
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 140
Joined: Thu Feb 10, 2005 9:26 am
Location: Berlin

  • Quote

Post by ginsoak » Fri Feb 11, 2011 9:13 pm

I followed this tread on my PC at work, and everything is gone well, but at home, i have this error when i do revdep-rebuild:

Code: Select all

!!! All ebuilds that could satisfy ">=sys-apps/hal-0.5.8.1" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/hal-0.5.14-r4 (masked by: package.mask)

(dependency required by "gnome-base/gnome-mount-0.8-r1" [installed])
Any help will be appreciated!
Thnx
Top
SamuliSuominen
Retired Dev
Retired Dev
Posts: 2133
Joined: Fri Sep 30, 2005 8:38 am
Location: Finland

  • Quote

Post by SamuliSuominen » Fri Feb 11, 2011 9:21 pm

ginsoak wrote:I followed this tread on my PC at work, and everything is gone well, but at home, i have this error when i do revdep-rebuild:

Code: Select all

!!! All ebuilds that could satisfy ">=sys-apps/hal-0.5.8.1" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/hal-0.5.14-r4 (masked by: package.mask)

(dependency required by "gnome-base/gnome-mount-0.8-r1" [installed])
Any help will be appreciated!
Thnx
# emerge -C gnome-mount
Top
ginsoak
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 140
Joined: Thu Feb 10, 2005 9:26 am
Location: Berlin

  • Quote

Post by ginsoak » Fri Feb 11, 2011 9:32 pm

thanks, it works. So, gnome-mount has been replaced?
Top
SamuliSuominen
Retired Dev
Retired Dev
Posts: 2133
Joined: Fri Sep 30, 2005 8:38 am
Location: Finland

  • Quote

Post by SamuliSuominen » Fri Feb 11, 2011 9:40 pm

ginsoak wrote:thanks, it works. So, gnome-mount has been replaced?
gvfs-mount from gnome-base/gvfs
Top
ginsoak
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 140
Joined: Thu Feb 10, 2005 9:26 am
Location: Berlin

  • Quote

Post by ginsoak » Fri Feb 11, 2011 9:53 pm

ok. thanks for the info ;)
Top
Havin_it
Veteran
Veteran
Posts: 1343
Joined: Sun Jul 17, 2005 10:26 am
Location: Edinburgh, UK
Contact:
Contact Havin_it
Website

  • Quote

Post by Havin_it » Sat Feb 12, 2011 3:06 am

@ssuominen, thanks for writing this all up. I'm still not clear on a couple of things though:

1) How much of it is needed/advised on a headless system where only logins are (usually) by SSH? I don't want to screw that up, as connecting this box to my TV when SSH doesn't work is a royal pain!

2) Does ck-launch-session need to be added somewhere for KDM users?

3) My homedir is mounted via pam_mount (and just to make things fun, it's hacked to use truecrypt instead of dm-crypt, though I don't suspect that matters). Will udisks likely screw with this in any way? Better to know in advance...

Hoping to get my head round all this so I can be hal-free when upgrading to kde-4.6. Thanks for any advice.
Top
mantoo
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Sat Dec 08, 2007 2:20 pm
Location: Germany

  • Quote

Post by mantoo » Sat Feb 12, 2011 10:04 am

First of all, thank you very much ssuominen!
NumaSan wrote: Everything is working fairly well now, using 'startx' and openbox. My .xinitrc:

Code: Select all

exec ck-launch-session openbox-session
I don't have 'dbus-launch --sh-syntax --exit-with-session' - what am I missing by leaving it out?

I also manually mount USB-disks with 'udisks --mount' because, as I found out here just now, I don't have the "gdu" USE-flag in GVFS and I use pcmanfm-0.9.7-r2. Think I will wait for pcmanfm-0.9.8 instead of compiling gnome-disk-utility though...
Everything works kind of well here too, with kde 4.5.5, using kdm, except for my usb flash drive auto-mounting.... although i never needed it to be auto-mounted, i always had a popup in kde notifying me when connected (i think this was hal´s work). but now, even when mounting by hand it doesn't show up anymore in dolphin.. :(
rsa4046 wrote:
Hammett wrote: gvfs cannot mount the same device

Code: Select all

[hammett][/home/hammett/Desktop] $ gvfs-mount /dev/sdb1 
Error mounting location: volume doesn't implement mount
Hammett: I tried gvfs-mount /dev/<...> , got same "volume doesn't implement mount" error, but with

Code: Select all

$ gvfs-mount -d /dev/sdc1
although gvfs-mount reports failure

Code: Select all

(gvfs-mount:14428): GLib-GIO-CRITICAL **: g_mount_get_root: assertion `G_IS_MOUNT (mount)' failed

(gvfs-mount:14428): GLib-GIO-CRITICAL **: g_file_get_path: assertion `G_IS_FILE (file)' failed
Mounted /dev/sdc1 at (null)

(gvfs-mount:14428): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gvfs-mount:14428): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
mount reports success

Code: Select all

$ mount
<snip>
/dev/sdc1 on /media/03c0979f-71a7-4ed9-b222-bf3c7dd7c1c3 type jfs (rw,nosuid,nodev,uhelper=udisks)
udisk (un)mounts without incident.

Edit added: gvfs-mount can unmount without complaints using the mount location

Code: Select all

$ gvfs-mount -u /media/03c0979f-71a7-4ed9-b222-bf3c7dd7c1c3
same with gvfs-mount here... is this somehow expected behavior? i´m on amd64 with following packages installed
  • sys-apps/dbus-1.4.1
  • dev-libs/dbus-glib-0.88
  • sys-auth/pambase-20101024
  • sys-apps/shadow-4.1.4.2-r6
  • sys-fs/udisks-1.0.1-r2
  • sys-power/upower-0.9.5
  • sys-auth/polkit-0.96-r1
  • gnome-base/gvfs-1.6.6-r1
  • sys-auth/polkit-kde-0.95.1-r1
(bold parts differ from obo68's configuration (1st page) )

-------------------------------------

another thing is: after adding keywords as follows so that i would be able to install polkit-kde-agent

Code: Select all

sys-auth/polkit-kde-agent ~amd64
sys-auth/polkit-qt ~amd64
sys-auth/polkit ~amd64
dev-libs/glib ~amd64
im getting

Code: Select all

[ebuild     U ] dev-libs/glib-2.26.1-r1 [2.24.2] USE="static-libs%* -debug -doc -fam (-introspection) (-selinux) -test% -xattr" 6,548 kB                                                                                                  
[ebuild     U ] sys-auth/polkit-0.99-r1 [0.96-r1] USE="kde%* nls pam -debug -doc -examples -gtk% (-introspection) (-expat%)" 1,019 kB                                                                                                     
[ebuild     U ] sys-auth/polkit-qt-0.99.0 [0.96.1] USE="-debug -examples" 66 kB                                      
[ebuild  N    ] sys-auth/polkit-kde-agent-0.99.0  USE="(-aqua) -debug (-kdeenablefinal)" LINGUAS="de -ca -ca@valencia -cs -da -en_GB -eo -es -et -fi -fr -ga -gl -hr -hu -is -it -ja -km -lt -mai -ms -nb -nds -nl -pa -pt -pt_BR -ro -ru -sk -sr -sr@ijekavian -sr@ijekavianlatin -sr@latin -sv -th -tr -uk -zh_TW" 34 kB                                     
[blocks B     ] sys-auth/polkit-kde ("sys-auth/polkit-kde" is blocking sys-auth/polkit-kde-agent-0.99.0)
and kdelibs depending on polkit-kde because of policikit USE-flag

Code: Select all

~ # equery d polkit-kde
[ Searching for packages depending on polkit-kde... ]
kde-base/kdelibs-4.5.5 (policykit? >=sys-auth/polkit-kde-0.95.1)

~ # emerge -av kdelibs
[ebuild   R   ] kde-base/kdelibs-4.5.5  USE="3dnow acl alsa bzip2 handbook jpeg2k lzma mmx nls opengl policykit spell sse sse2 ssl (-altivec) (-aqua) -bindist -debug -doc -fam (-kdeenablefinal) (-kdeprefix) -kerberos -openexr -semantic-desktop -test -zeroconf" 0 kB


so whats the difference actually between polkit-kde and polkit-kde-agent?

thanks in advance!
Last edited by mantoo on Sat Feb 12, 2011 11:19 am, edited 1 time in total.
Top
SamuliSuominen
Retired Dev
Retired Dev
Posts: 2133
Joined: Fri Sep 30, 2005 8:38 am
Location: Finland

  • Quote

Post by SamuliSuominen » Sat Feb 12, 2011 10:06 am

Havin_it wrote:@ssuominen, thanks for writing this all up. I'm still not clear on a couple of things though:

1) How much of it is needed/advised on a headless system where only logins are (usually) by SSH? I don't want to screw that up, as connecting this box to my TV when SSH doesn't work is a royal pain!

2) Does ck-launch-session need to be added somewhere for KDM users?

3) My homedir is mounted via pam_mount (and just to make things fun, it's hacked to use truecrypt instead of dm-crypt, though I don't suspect that matters). Will udisks likely screw with this in any way? Better to know in advance...

Hoping to get my head round all this so I can be hal-free when upgrading to kde-4.6. Thanks for any advice.
Why would you need "active = TRUE" when you log in from SSH? If you really do, I think you need to write custom .pkla rules like the first post in this thread is linking to (see the ArchLinux wiki link in it) if you want to be able remotely access power and/or storage devices. As in, you want to grant privileges to non-local users to the devices.

I'm pretty sure KDM has internal consolekit support, and that ck-launch-session is not required. Should be easily tested. First try without, if everything works, you're good.

And there shouldn't be any issues wrt pam_mount, but who knows... you might be the first person to try this.
Top
wrc1944
Advocate
Advocate
Posts: 3467
Joined: Thu Aug 15, 2002 10:33 am
Location: Gainesville, Florida

  • Quote

Post by wrc1944 » Sat Feb 12, 2011 10:49 am

I've followed the instructions on page 1 on 4 different ~arch Gentoo systems, and being a kde (and kdm) user I can confirm that kdm does not need any ck-launch-session, startx, etc.

I just did the basic steps about USE flags, rc-update, /etc/portage, kernel options, and required packages, and it worked out fine. :D
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.41-r2, gcc-15.1.0
kernel-6.15.6 USE=experimental python3.13.3
Top
Havin_it
Veteran
Veteran
Posts: 1343
Joined: Sun Jul 17, 2005 10:26 am
Location: Edinburgh, UK
Contact:
Contact Havin_it
Website

  • Quote

Post by Havin_it » Sat Feb 12, 2011 12:48 pm

ssuominen wrote:
Havin_it wrote:@ssuominen, thanks for writing this all up. I'm still not clear on a couple of things though:

1) How much of it is needed/advised on a headless system where only logins are (usually) by SSH? I don't want to screw that up, as connecting this box to my TV when SSH doesn't work is a royal pain!

2) Does ck-launch-session need to be added somewhere for KDM users?

3) My homedir is mounted via pam_mount (and just to make things fun, it's hacked to use truecrypt instead of dm-crypt, though I don't suspect that matters). Will udisks likely screw with this in any way? Better to know in advance...

Hoping to get my head round all this so I can be hal-free when upgrading to kde-4.6. Thanks for any advice.
Why would you need "active = TRUE" when you log in from SSH? If you really do, I think you need to write custom .pkla rules like the first post in this thread is linking to (see the ArchLinux wiki link in it) if you want to be able remotely access power and/or storage devices. As in, you want to grant privileges to non-local users to the devices.

I'm pretty sure KDM has internal consolekit support, and that ck-launch-session is not required. Should be easily tested. First try without, if everything works, you're good.

And there shouldn't be any issues wrt pam_mount, but who knows... you might be the first person to try this.
I don't know whether I need active = TRUE because I don't know what it means, TBH :roll: I just wanted the skinny on how ssh logins might be affected by these system changes, because that's the only practical method for me to access the box in question, and such a setup isn't discussed above.

I don't know if this would be related, but I'm at work today after making the changes last night, and can't reach any of its WAN-facing servers (sshd, apache2 or squeezeboxserver) over the Internet - they are all timing out. Certainly local SSH login was OK last night. Could there be a link? (The other possibility is Fail2Ban has suddenly banned my work IP, but can't see why that would happen now)
EDIT: Yeah, ignore this, I changed a bookmark and got my work computer banned - duuuuhhhhh :oops:

RE pam_mount - lol, time to take one for the team eh? 8O
Top
while true
Guru
Guru
User avatar
Posts: 532
Joined: Wed Apr 07, 2010 7:39 pm
Location: Ljubljana, Slovenia

  • Quote

Post by while true » Sun Feb 13, 2011 1:28 am

newbie, going third time, kheh heh

Hammett, thank you for your explanation :)
-----------
ok, I have 2 laptops, xfce/slim.

On "smaller" one I followed new ssuominen's instructions and I got it worked!
(oh, ssuominen, I could kiss you)

But on "bigger" one I have problems.
As I click on Logout icon, when it should popup a shut-down/restart/hibernate/...options,
it just logs out and it goes to login screen (ssuominen, that kiss will have to wait...).
Mounting usb works spectacularly.

Also, this is very scary for me:

Code: Select all

C6820s grom # emerge --update --deep --newuse --keep-going --ask world

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-auth/polkit:0

  (sys-auth/polkit-0.99-r1, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (sys-auth/polkit-0.96-r2, installed) pulled in by
    <sys-auth/polkit-0.99 required by (gnome-extra/polkit-gnome-0.96-r1, installed)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


!!! All ebuilds that could satisfy ">=sys-apps/hal-0.5.7" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/hal-0.5.14-r4 (masked by: package.mask)

(dependency required by "gnome-base/gnome-vfs-2.24.3-r1" [installed])
(dependency required by "www-client/seamonkey-2.0.11" [installed])
(dependency required by "@selected")
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
What is the first part...sys-auth/polkit... I do not know, but I would like to take care of it, so what should I do?

also, following this thread, I found this:
ssuominen wrote:
ginsoak wrote:I followed this tread on my PC at work, and everything is gone well, but at home, i have this error when i do revdep-rebuild:

Code: Select all

!!! All ebuilds that could satisfy ">=sys-apps/hal-0.5.8.1" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/hal-0.5.14-r4 (masked by: package.mask)

(dependency required by "gnome-base/gnome-mount-0.8-r1" [installed])
Any help will be appreciated!
Thnx
# emerge -C gnome-mount
So I was bold to do this:

Code: Select all

C6820s grom # emerge -C gnome-base/gnome-vfs www-client/seamonkey @selected    
emerge: the given set 'selected' does not support unmerge operations
C6820s grom # emerge -C gnome-base/gnome-vfs www-client/seamonkey          
 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

 gnome-base/gnome-vfs
    selected: 2.24.3-r1 
   protected: none 
     omitted: none 

 www-client/seamonkey
    selected: 2.0.11 
   protected: none 
     omitted: none 

All selected packages: gnome-base/gnome-vfs-2.24.3-r1 www-client/seamonkey-2.0.11

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in:  5 4 3 2 1 
>>> Unmerging gnome-base/gnome-vfs-2.24.3-r1...
 * Updating desktop mime database ...
 * Updating shared mime info database ...
>>> Unmerging www-client/seamonkey-2.0.11...

 * GNU info directory index is up-to-date.
C6820s grom # 
So I repeted command:
# emerge --update --deep --newuse --keep-going --ask world
But it only got worse:

Code: Select all

...
...
...
!!! All ebuilds that could satisfy ">=sys-apps/hal-0.5.7" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/hal-0.5.14-r4 (masked by: package.mask)

(dependency required by "gnome-base/gnome-vfs-2.24.3-r1" [ebuild])
(dependency required by "gnome-base/libgnome-2.30.0" [installed])
(dependency required by "gnome-base/libgnomeui-2.24.4" [installed])
(dependency required by "gnome-extra/hardware-monitor-1.4.3" [installed])
(dependency required by "@selected")
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Who wants kisses?
Kind regards, Goran Mitic

alive
while true
kick ass
Top
LuPiNOOoO
n00b
n00b
Posts: 5
Joined: Sun Apr 06, 2008 2:17 pm

  • Quote

Post by LuPiNOOoO » Sun Feb 13, 2011 9:50 am

Hi,
I have try all option but ck-list-sessions: active = FALSE;

i start my X with "startx & exit" and in .xinitrc i have: "exec ck-launch-session dbus-launch --sh-syntax --exit-with-session /usr/bin/awesome"
Top
SamuliSuominen
Retired Dev
Retired Dev
Posts: 2133
Joined: Fri Sep 30, 2005 8:38 am
Location: Finland

  • Quote

Post by SamuliSuominen » Sun Feb 13, 2011 10:41 am

LuPiNOOoO wrote:Hi,
I have try all option but ck-list-sessions: active = FALSE;

i start my X with "startx & exit" and in .xinitrc i have: "exec ck-launch-session dbus-launch --sh-syntax --exit-with-session /usr/bin/awesome"
You need to post full `ck-list-sessions` output to have any meaning for you post.
Top
LuPiNOOoO
n00b
n00b
Posts: 5
Joined: Sun Apr 06, 2008 2:17 pm

  • Quote

Post by LuPiNOOoO » Sun Feb 13, 2011 10:44 am

ssuominen wrote:
LuPiNOOoO wrote:Hi,
I have try all option but ck-list-sessions: active = FALSE;

i start my X with "startx & exit" and in .xinitrc i have: "exec ck-launch-session dbus-launch --sh-syntax --exit-with-session /usr/bin/awesome"
You need to post full `ck-list-sessions` output to have any meaning for you post.

ok, here it is

Code: Select all

Session5:
	unix-user = '1000'
	realname = '(null)'
	seat = 'Seat3'
	session-type = ''
	active = FALSE
	x11-display = ':0'
	x11-display-device = '/dev/tty7'
	display-device = ''
	remote-host-name = ''
	is-local = FALSE
	on-since = '2011-02-13T11:41:26.252430Z'
	login-session-id = '3'
Session6:
	unix-user = '1000'
	realname = '(null)'
	seat = 'Seat4'
	session-type = ''
	active = FALSE
	x11-display = ''
	x11-display-device = ''
	display-device = '/dev/ssh'
	remote-host-name = '192.168.1.31'
	is-local = FALSE
	on-since = '2011-02-13T11:42:47.118755Z'
	login-session-id = '4'
Top
SamuliSuominen
Retired Dev
Retired Dev
Posts: 2133
Joined: Fri Sep 30, 2005 8:38 am
Location: Finland

  • Quote

Post by SamuliSuominen » Sun Feb 13, 2011 10:45 am

while true wrote:newbie, going third time, kheh heh
First you need all of glib, polkit, polkit-gnome, upower, udisks, and some gnome pkgs from same stabilization level: stable or ~arch
That conflict is because you are trying to mix versions in /etc/portage/package.keywords with poor success.

And secondly, you propably forgot USE="hal" in make.conf or /etc/portage/package.use somewhere that's causing gnome-vfs to be pulled with USE="hal" enabled.
Make that USE="-hal" everywhere.
Top
SamuliSuominen
Retired Dev
Retired Dev
Posts: 2133
Joined: Fri Sep 30, 2005 8:38 am
Location: Finland

  • Quote

Post by SamuliSuominen » Sun Feb 13, 2011 12:37 pm

LuPiNOOoO wrote:
ssuominen wrote:
LuPiNOOoO wrote:Hi,
I have try all option but ck-list-sessions: active = FALSE;

i start my X with "startx & exit" and in .xinitrc i have: "exec ck-launch-session dbus-launch --sh-syntax --exit-with-session /usr/bin/awesome"
You need to post full `ck-list-sessions` output to have any meaning for you post.

ok, here it is

Code: Select all

Session5:
	unix-user = '1000'
	realname = '(null)'
	seat = 'Seat3'
	session-type = ''
	active = FALSE
	x11-display = ':0'
	x11-display-device = '/dev/tty7'
	display-device = ''
	remote-host-name = ''
	is-local = FALSE
	on-since = '2011-02-13T11:41:26.252430Z'
	login-session-id = '3'
That doesn't look right. You should have session also for /dev/tty1 text login if you used startx. So, is USE="consolekit pam" missing (like suggested to enable in first post) and is /etc/ configuration correct (emerge --noconfmem -1 pambase consolekit shadow, and etc-update, also suggested in first post) ?
Since that looks like pam_ck_connector.so was never used it's propably one of those.
Top
while true
Guru
Guru
User avatar
Posts: 532
Joined: Wed Apr 07, 2010 7:39 pm
Location: Ljubljana, Slovenia

  • Quote

Post by while true » Sun Feb 13, 2011 1:15 pm

hello all,

ola ssuominen,

You were right for hal use, I had in package.use a bunch of "hal"s that I turned into "-hal".(In make.config I do have -hal from start.)
So big THANK YOU for bearing with this dumb newbie, kheh, I really feel stupid for not figuring that on my own. So this is now ok.

About that first part, I will have to look into, because I do not understand quite right...
At the end of this post I will post my package.keywords, as I understand, there is the problem?

but now I have bigger problem, since things have deteriorated...

As boot starts, I get it a bit different as I was used to.
The obvious thing is the red star stating something like "vboxdrv could not be loaded". So I tested my virtual box, and it was ok, until I closed it and, I believe, everything fall back to X windows... I have an X for mouse pointer, I can not switch desktops, apps do not have that border (min, max, close), so I can not drag them around, nor resize, every app starts in upper left corner, I can not switch between them with SHIFT+TAB... Reboot does not help...

..oh, oh...


here is my package.keywords:

Code: Select all

media-video/ogmrip ~amd64
net-im/skysentials ~amd64
dev-python/skype4py ~amd64
net-im/skype ~amd64
x11-misc/xvidcap ~amd64
app-editors/gedit-plugins ~amd64
app-emulation/fuse-utils ~amd64
app-emulation/libspectrum ~amd64
app-emacs/ssh ~amd64
app-crypt/pdfcrack ~amd64
app-text/jpdftweak ~amd64
app-text/mbtpdfasm ~amd64
app-text/pdfshuffler ~amd64
dev-python/pyPdf ~amd64
dev-python/python-poppler ~amd64
x11-plugins/matchbox-desktop-xine ~amd64
x11-wm/matchbox-desktop ~amd64
x11-libs/libmatchbox ~amd64
x11-wm/matchbox-common ~amd64
media-video/ffmpeg ~amd64
www-client/chromium ~amd64
media-sound/gmusicbrowser ~amd64
games-fps/openarena ~amd64
www-client/chromium-bin ~amd64
www-client/midori ~amd64
www-client/jd ~amd64
www-client/rekonq ~amd64
kde-base/kdelibs ~amd64
dev-libs/libattica ~amd64
kde-base/kde-env ~amd64
www-client/surf ~amd64
www-plugins/adobe-flash ~amd64
app-emulation/virtualbox-bin ~amd64
app-emulation/virtualbox-modules ~amd64
games-rpg/eternal-lands ~amd64
games-rpg/eternal-lands-data ~amd64
games-rpg/eternal-lands-bloodsucker ~amd64
net-wireless/b43-firmware ~amd64
net-wireless/b43-fwcutter ~amd64
app-mobilephone/gnocky ~amd64
# za chromium
net-print/cups ~amd64
# za google earth
sci-geosciences/googleearth ~amd64
www-apps/joomla ~amd64
# za cssed
app-editors/cssed ~amd64
# za turbogear
dev-python/turbogears ~amd64
dev-python/cherrypy ~amd64
dev-python/turbojson ~amd64
dev-python/pastescript ~amd64
dev-python/turbokid ~amd64
dev-python/sqlobject ~amd64
dev-python/ruledispatch ~amd64
dev-python/turbocheetah ~amd64
dev-python/kid ~amd64
dev-python/pastedeploy ~amd64
dev-python/paste ~amd64
# za wordpress
www-apps/wordpress ~amd64
#za drupal
www-apps/drupal ~amd64
#za luakit
www-client/luakit ~amd64
#za bastiljo
app-admin/bastille ~amd64
#za webcam
media-video/spcaview ~amd64
# Samuli Suominen <ssuominen@gentoo.org> (14 Nov 2010)
# No longer developed and replaced by sys-apps/mlocate
# Bug 338380
# Removal in 30 days
sys-apps/slocate package.mask
# alpine
mail-client/alpine ~amd64
#neki update ki je bilo treba unmaskat
xfce-extra/thunar-media-tags-plugin package.mask
xfce-extra/xfce4-weather-plugin package.mask
net-print/xfprint package.mask
#za conky vreme
app-admin/conkyforecast ~amd64
# za hardware applet
gnome-extra/gnome-hdaps-applet ~amd64
app-laptop/hdapsd ~amd64
lxde-base/lxpolkit ~amd64
sys-auth/polkit ~amd64
dev-libs/glib ~amd64
dev-libs/dbus-glib ~amd64
gnome-base/gvfs ~amd64
sys-fs/udisks ~amd64
sys-power/upower ~amd64
#java jdk
dev-java/sun-jdk ~amd64
#oracle
dev-db/sqldeveloper ~amd64
Thank you.
Kind regards, Goran Mitic

alive
while true
kick ass
Top
SamuliSuominen
Retired Dev
Retired Dev
Posts: 2133
Joined: Fri Sep 30, 2005 8:38 am
Location: Finland

  • Quote

Post by SamuliSuominen » Sun Feb 13, 2011 1:18 pm

while true wrote:hello all,

ola ssuominen,

but now I have bigger problem, since things have deteriorated...

As boot starts, I get it a bit different as I was used to.
The obvious thing is the red star stating something like "vboxdrv could not be loaded". So I tested my virtual box, and it was ok, until I closed it and, I believe, everything fall back to X windows... I have an X for mouse pointer, I can not switch desktops, apps do not have that border (min, max, close), so I can not drag them around, nor resize, every app starts in upper left corner, I can not switch between them with SHIFT+TAB... Reboot does not help...
Thank you.
Please don't try to hijack this thread for unrelated issues. Open a new thread instead. Thanks!
Top
while true
Guru
Guru
User avatar
Posts: 532
Joined: Wed Apr 07, 2010 7:39 pm
Location: Ljubljana, Slovenia

  • Quote

Post by while true » Sun Feb 13, 2011 1:45 pm

Sure thing ssuominen, I am grateful for your work,
I can only imagine the volume of work you put into this.

I am really sorry for taking the liberty to mess this thread, but I do not know where else to ask, since my problems derived from upgrading xfce, so as a newbie I am just grabbing everything I can, kheh..

I opened new thread, my last hijack is asking to look at it.

Thank you all.
Kind regards, Goran Mitic

alive
while true
kick ass
Top
Post Reply

383 posts
  • Page 7 of 16
    • Jump to page:
  • Previous
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • 16
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic