Re: [gentoo-user] ssh problem
The nc command does nothing when run from the same host I'm trying to ssh in to. Ok so you may not have an ssh problem (so ignore the ssh specific stuff for now) you have a network problem. It will be either routing or firewalling. If you can ping the box, then its a firewall problem. So, try pinging it first, and if that works then you know that routing is in place and its a firewall problem. If that doesn't work try traceroute to see how far you can get, and the last hop may provide clues as to why you can access it by sending an ICMP message. Post back what you find.
Re: [gentoo-user] ssh problem
On Saturday 26 February 2011 07:49:44 Adam Carter wrote: The nc command does nothing when run from the same host I'm trying to ssh in to. Ok so you may not have an ssh problem (so ignore the ssh specific stuff for now) you have a network problem. It will be either routing or firewalling. If you can ping the box, then its a firewall problem. So, try pinging it first, and if that works then you know that routing is in place and its a firewall problem. If that doesn't work try traceroute to see how far you can get, and the last hop may provide clues as to why you can access it by sending an ICMP message. Post back what you find. Depending on configuration of routers and firewalls ICMP packets may be dropped, so if plain ping/traceroute fails use httping and tcptraceroute (or traceroute -T -p 22) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Ebuild hacking howto
On Saturday 26 February 2011 00:43:43 Mark Shields wrote: Saw that you linked to the creating an updated ebuild from gentoo-wiki, so what I say may overlay quite a bit, but hear me out: It depends on how the ebuild is built. If it references the version by the ebuild file name, which is very common, you can create an overlay for the ebuild, copy the ebuild to it, rename the ebuild file to have the new version number as part of it, digest the ebuild, make sure the overlay is listed in your make.conf file, then try to emerge it. I did this with Webmin. Yes, I know it's masked and new versions have effectively been dropped from portage; but I use it, and it worked fine. Not related to the OP's question, but couldn't stop myself from asking: Why is/was webmin dropped from portage? I saw bug 348432 for webmin-1.530, but other than offering an ebuild it didn't say. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] xorg-drivers for mouse and keyboard confusion
I have unmerged x11-drivers/xf86-input-mouse and x11-drivers/xf86-input- keyboard and also removed mouse and keyboard from my /etc/make.conf, which now only contains: INPUT_DEVICES=synaptics evdev However, portage seems to want to pull in x11-drivers/xf86-input-mouse and x11-drivers/xf86-input-keyboard: == # emerge -uatDv world These are the packages that would be merged, in reverse order: Calculating dependencies ... [nomerge ] x11-base/xorg-server-1.9.4 USE=ipv6 nptl udev xorg -dmx -doc -kdrive -minimal -static-libs -tslib [0] [nomerge ] x11-base/xorg-drivers-1.9 INPUT_DEVICES=evdev keyboard mouse synaptics -acecad -aiptek -elographics -fpit -joystick -penmount -tslib -virtualbox -vmmouse -void -wacom VIDEO_CARDS=radeon -apm -ark -ast -chips - cirrus -dummy -epson -fbdev -fglrx (-geode) -glint -i128 (-i740) (-impact) - intel -mach64 -mga -neomagic (-newport) -nouveau -nv -nvidia -r128 -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (- suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng - v4l -vesa -via -virtualbox -vmware (-voodoo) (-xgi) [0] [ebuild N] x11-drivers/xf86-input-keyboard-1.5.0 0 kB [0] [ebuild N] x11-drivers/xf86-input-mouse-1.6.0 0 kB [0] == As you can see above portage still shows keyboard and mouse as INPUT_DEVICES. Are these defined anywhere else other than make.conf? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Random reboots. Where to start?
On Saturday 26 February 2011 00:24:50 Dale wrote: Volker Armin Hemmann wrote: let memtest86 run - for 12h. increase ram voltage - a bit. Like 0.01V. get a different psu. 12 hours? By that time, I would be in a rubber room. I would go nuts. lol I did let it run for almost 5 hours tho. No errors. O, I hate changing voltages. Always afraid I will let the smoke out. We all know what happens when the smoke gets out. No more worky. lol May have to, don't want to tho. I think my P/S in my old rig will work in here. If I get to the point of knowing it is hardware, that will be my first test. It doesn't cost anything to test either. I'm still hoping it will be a OS problem tho, bad file or something. This reminds me. I did have to do the sysrq key thing the other day. I was at a console but I was logged into KDE too. Maybe that messed up something. Some file got corrupted or something. Before you start tweaking voltages and replacing PSUs you better test your *new* memory modules thoroughly, even if that means that you will be using your old machine for a day or so. Personally I usually remove all memory modules and then test one at a time overnight with memtest 86+. If it gives any errors at all I would send it back to the shop. If they all pass, then voltage and PSU issues will need to be looked at. Good luck. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Search filesystem with a wildcard
Amankwah (Sat, 26 Feb 2011 11:19:22 +0800): On Fri, Feb 25, 2011 at 06:26:51PM -0800, Grant wrote: I used to use slocate like this to search the filesystem for a file: foo*.txt but mlocate doesn't seem to accept wildcards. I tried to figure out how to do it with find but failed. Can anyone point me in the right direction? - Grant How about this? find -name foo*.txt ? +1 to this solution. Only, it may destroy the universe on some rare occasions. A safer way: find / -type f -name 'foo*.txt' -rz
Re: [gentoo-user] Re: Finally got my Acer Aspire 4551 notebook 100% functional
On Tuesday 22 February 2011 21:51:43 walt wrote: On 02/22/2011 09:51 AM, Walter Dnes wrote: I finally got my Acer 4551 100% functional under 64-bit Gentoo linux. Congratulations :) Thanks to various people on various linux forums who spelled out the answers, and also to Mr. Google for helping me find them. There are several tweaks that are required to get things working... Thank you for the excellent write-up. I still don't have a laptop or a notebook just because I expect to suffer a lot of pain before I could actually use it for anything, and you've just confirmed my suspicions :) By the time I read the last of your 'several' tweaks, my blood pressure must have been 250 because I can definitely feel your pain. Thanks for sharing :) Thanks indeed to Walter for providing such a detailed howto - now time to repeat in the wiki ;-) I don't think that it is particularly painful to get a laptop to work (well, most of the time). You can get a laptop up and running with a full desktop within a day or so, but it will of course take longer to troubleshoot pesky devices/drivers and bespoke configurations. That can happen over a period of days/weeks when free time is available. The frustration of course comes when you want to use something urgently, which you have not configured yet! :-)) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] ssh problem
On 02/26/2011 03:13 AM, Mick wrote: On Saturday 26 February 2011 07:49:44 Adam Carter wrote: The nc command does nothing when run from the same host I'm trying to ssh in to. Ok so you may not have an ssh problem (so ignore the ssh specific stuff for now) you have a network problem. It will be either routing or firewalling. If you can ping the box, then its a firewall problem. So, try pinging it first, and if that works then you know that routing is in place and its a firewall problem. If that doesn't work try traceroute to see how far you can get, and the last hop may provide clues as to why you can access it by sending an ICMP message. Post back what you find. Depending on configuration of routers and firewalls ICMP packets may be dropped, so if plain ping/traceroute fails use httping and tcptraceroute (or traceroute -T -p 22) I don't know why I would have a firewall or network problem, the set up I have has been here for 8+ years. The setup is like this. In the basement the cable internet comes in and into a cable modem. Then an RJ45 out of the cable modem into an 8-port NETGEAR Router/Switch. Upstairs is a hub with three computers connected and this hub is connected to the switch in the basement. The only problem I ever had was when the dhcp address changed, then it needed to be added to the PORT FORWARDING section of the switch with port 22. Remember I can still log in remotely from Redhat and Suse boxes that weren't updated with the new openssh. When ssh'ing in from a remote updated Gentoo box the Read from socket failed: Connection reset by peer message is displayed. This message is not displayed when trying to ssh in from inside the network. Alright, back to the task at hand. When I tell the switch to Respond to Ping on Internet WAN Port the ping statistics are good: 3 packets transmitted, 3 received, 0% packet loss, time 2007ms. I'm not sure where to go from here. Is there anything in the sshd_config or ssh_config files that I need? After the upgrade the new files were merged with the current. Thanks dhk
Re: [gentoo-user] xorg-drivers for mouse and keyboard confusion
You could always grep for INPUT_DEVICES into /etc/portage, user -R for recursive search. Also, make sure there's no other statement for INPUT_DEVICES in make.conf after the one you posted above. -- Jesús Guerrero Botella
Re: [gentoo-user] Re: automounting usb drives
on 2011-02-26 at 06:00 Nikos Chantziaras wrote: Make sure you have udev enabled for your desktop environment. Or HAL, if it doesn't support udev. Then it will just work. hi nikos, the only package in xfce that has a flag for udev is xfce-base/xfce4-session and it is set. i-m afraid it doesn't just work...
Re: [gentoo-user] automounting usb drives
on 2011-02-25 at 19:42 Dale wrote: * xfce-extra/xfce4-mount-plugin Available versions: 0.5.5 {debug} Homepage:http://www.xfce.org/ Description: Mount plugin for the Xfce panel That last one should put you on the right path for sure. hi dale, i do have the mount panel plugin already, but it's just an interface to what's in fstab. not very useful when you have several usb disks and pendrives with different file systems on them, that you want to mount on the fly...
[gentoo-user] Problem with /devcdrom /dev/sro
Hi, Since I have installed kernel amd64 I have nomore cdrom and sr0 in /dev Here is my emerge --info: Portage 2.1.9.25 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 x86_64) = System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6850_@_3.00GHz-with-gentoo-1.12.14 Timestamp of tree: Fri, 25 Feb 2011 08:15:01 + app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r1, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox:2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS=amd64 ACCEPT_LICENSE=* -@EULA CBUILD=x86_64-pc-linux-gnu CFLAGS=-O2 -march=native -pipe CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/config /usr/share/gnupg/qualified.txt CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo CXXFLAGS=-O2 -march=native -pipe DISTDIR=/usr/portage/distfiles FEATURES=assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch GENTOO_MIRRORS=http://distfiles.gentoo.org; LANG=fr_FR.UTF.8 LC_ALL=fr_FR.UTF.8 LDFLAGS=-Wl,-O1 -Wl,--as-needed LINGUAS=fr fr_FR MAKEOPTS=-j2 PKGDIR=/usr/portage/packages PORTAGE_CONFIGROOT=/ PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage USE=X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load memory rrdtool swap syslog ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx INPUT_DEVICES=evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text LINGUAS=fr fr_FR PHP_TARGETS=php5-3 RUBY_TARGETS=ruby18 USERLAND=GNU VIDEO_CARDS=nvidia XTABLES_ADDONS=quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Thanks for the help Roger
Re: [gentoo-user] Problem with /devcdrom /dev/sro
On Saturday 26 February 2011 13:03:00 Roger Cahn wrote: Hi, Since I have installed kernel amd64 I have nomore cdrom and sr0 in /dev Here is my emerge --info: which is useless. dmesg and kernel config would be much more helpfull. Especially the scsi part of kernel config. Stuff like cdrom support.
Re: [gentoo-user] automounting usb drives
Am Fri, 25 Feb 2011 23:31:07 -0200 schrieb luis jure l...@internet.com.uy: hello list, Hi, i'm old-fashioned and i never cared for this automount thing, but now i have two pen drives and two usb hard disks that i have to mount and umount all the time, and doing it by hand every time is beginning to be very annoying... i see that distributions like ubuntu and others have this feature by default: you plug in a pen drive and it creates a mount point under /media and mounts the device there. but i have no idea to get something like that working on my gentoo machine. i searched the web, but the documents i found on the subject are somewhat contradictory and all of them too old for comfort. any hints about a standard gentoo way to achieve this? by the way, i use xfce, so i can't use tools specific for kde or gnome, if they exist. It seems that for Xfce you want the Thunar Volume Manager plugin (xfce-extra/thunar-volman): http://goodies.xfce.org/projects/thunar-plugins/thunar-volman Otherwise, I know of three modern (i.e. udev or udisks based) desktop independent ways for auto-mounting: - uam A udev based auto-mounter. It doesn't mount CD/DVD/etc. drives (because, well, it's udev-based), but otherwise worked flawlessly on my machine. - udiskie A udisks based auto-mounter, doesn't work properly for me, i.e. one of my USB sticks wouldn't mount, apparently because udisks flagged it as non-automountable. - udisks-glue A udisks based tool that can execute arbitrary commands on udisks events, e.g. auto-mount disks. (My personal preference is currently udisks-glue.) HTH -- Marc Joliet signature.asc Description: PGP signature
Re: [gentoo-user] ssh problem
When ssh'ing in from a remote updated Gentoo box the Read from socket failed: Connection reset by peer message is displayed. This message is not displayed when trying to ssh in from inside the network. Ok that's different (and not consistent with the Connection timed out message, but lets ignore that for now)... try the HPN stuff i posted earlier, or even better restart sshd on the remote box.
Re: [gentoo-user] automounting usb drives
hi marc, It seems that for Xfce you want the Thunar Volume Manager plugin i had already installed this plugin, but it doesn't seem to do much: an icon for the device appears on the side panel, but no corresponding mount point is created under /media. when i click on the icon a Not Authorized message appears. Otherwise, I know of three modern (i.e. udev or udisks based) desktop independent ways for auto-mounting: thanks for the suggestions. i'm thinking of giving udiskie a try, but i'm unable to find any documentation about it: what am i supposed to do after installation? anything to configure, init scripts to run? alles gute, lj
Re: [gentoo-user] Why is KDE part of the system set?
On Fri, Feb 25, 2011 at 8:10 PM, Dale rdalek1...@gmail.com wrote: SNIP Not to long ago, there was only a 150 or so packages for system regardless of the USE flags. I think that you are just mistaken about this point. I have pretty much always been able to make @system package count blow up by turning on lots of flags. As I say, my server has 350 packages in @system including X and gnome stuff because of flags. The KDE laptop I just did for my mom has around 190, no X, no gnome, etc. It's all in the flag choices. But why worry? In the old days I did worry because the machines were slower and I couldn't do an @world update very often. Today on a modern processor I can rebuild @world with 900 packages in a few hours. It's not as big a deal anymore (to me anyway) that @system seems a little bloated. It's not bloated when you build a new system. It's only after you start making flag choices that it happens. - Mark
Re: [gentoo-user] Random reboots. Where to start?
Mick wrote: Before you start tweaking voltages and replacing PSUs you better test your *new* memory modules thoroughly, even if that means that you will be using your old machine for a day or so. Personally I usually remove all memory modules and then test one at a time overnight with memtest 86+. If it gives any errors at all I would send it back to the shop. If they all pass, then voltage and PSU issues will need to be looked at. Good luck. This appears to be a corrupt file somewhere. This is the current uptime: root@fireball / # uptime 08:22:57 up 16:02, 4 users, load average: 0.12, 0.11, 0.13 root@fireball / # It was rebooting after a couple hours or so before. All I have done so far is basically the same as a emerge -e world. I used the script thing tho. I did the first few hundred packages from a USB stick. Anyway, it appears to be working fine. I'm hoping it stays that way too. I don't want to be chasing down flakey hardware. I like having hair. That said, I'm going to reboot, by choice, just to make sure everything loaded is new. If it lasts until tomorrow, maybe this is fixed. I hope. Thanks to all for the help. Will post results tomorrow. Dale :-) :-)
Re: [gentoo-user] Why is KDE part of the system set?
On Fri, 25 Feb 2011 22:10:27 -0600, Dale wrote: Not exactly. I'm saying I don't think X stuff should be in the system set regardless of USE flags. There is no X stuff in @system. what you are seeing is that some dependencies of @system have X in their IUSE, so pull in X, but that doesn't make X part of @system, nor make it a requirement for your computer to run. You have set the X flag, by choosing a desktop profile, so why do you object to X programs being installed? -- Neil Bothwick Top Oxymorons Number 46: Found missing signature.asc Description: PGP signature
Re: [gentoo-user] automounting usb drives
on 2011-02-26 at 11:30 luis jure wrote: i had already installed this plugin, but it doesn't seem to do much: an icon for the device appears on the side panel, but no corresponding mount point is created under /media. when i click on the icon a Not Authorized message appears. i'm getting somewhat closer, it seems. launching an xfce session as root i can sure mount the device, but not as normal user. from thunar i get the message above, and typing udiskie on a console, i get this: failed to mount device /org/freedesktop/UDisks/devices/sdc1: org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized h any hints?
Re: [gentoo-user] automounting usb drives
Am Sat, 26 Feb 2011 11:30:45 -0200 schrieb luis jure l...@internet.com.uy: hi marc, Hi Luis, It seems that for Xfce you want the Thunar Volume Manager plugin i had already installed this plugin, but it doesn't seem to do much: an icon for the device appears on the side panel, but no corresponding mount point is created under /media. when i click on the icon a Not Authorized message appears. [...] thanks for the suggestions. i'm thinking of giving udiskie a try, but i'm unable to find any documentation about it: what am i supposed to do after installation? anything to configure, init scripts to run? Udiskie runs as a user process, so you just need to start it during login. According to the README file [0], udiskie uses consolekit to obtain necessary permissions. That means that you need to emerge xfce4-session with the use flags +consolekit. If you do not already have that use flag set then that is probably why thunar-volman did not work correctly. If it is not already the case, you will need to add consolekit to the default runlevel. alles gute, lj [0] viewable online at https://bitbucket.org/byronclark/udiskie/src/62047ac3fdaf/README HTH -- Marc Joliet signature.asc Description: PGP signature
[gentoo-user] Re: automounting usb drives
On 02/26/2011 04:46 PM, luis jure wrote: on 2011-02-26 at 11:30 luis jure wrote: i had already installed this plugin, but it doesn't seem to do much: an icon for the device appears on the side panel, but no corresponding mount point is created under /media. when i click on the icon a Not Authorized message appears. i'm getting somewhat closer, it seems. launching an xfce session as root i can sure mount the device, but not as normal user. from thunar i get the message above, and typing udiskie on a console, i get this: failed to mount device /org/freedesktop/UDisks/devices/sdc1: org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized h any hints? Do you have any entries for those devices in /etc/fstab? If yes, delete them. They interfere with automounting.
Re: [gentoo-user] Ebuild hacking howto
Mick wrote: Not related to the OP's question, but couldn't stop myself from asking: Why is/was webmin dropped from portage? I saw bug 348432 for webmin-1.530, but other than offering an ebuild it didn't say. From gentoo-dev: # Diego E. Pettenòflamee...@gentoo.org (10 Aug 2010) # on behalf of QA team # # Breaks about any QA policy regarding not touching # live filesystem as it writes to LVM configuration, # cron configuration, current-running kernel modules, RPM # library, ... # # Removal on 2010-10-09 app-admin/webmin That help? Dale :-) :-)
Re: [gentoo-user] xorg-drivers for mouse and keyboard confusion
On Saturday 26 February 2011 11:26:38 Jesús J. Guerrero Botella wrote: You could always grep for INPUT_DEVICES into /etc/portage, user -R for recursive search. Also, make sure there's no other statement for INPUT_DEVICES in make.conf after the one you posted above. Thanks, I checked for duplicate entries in make.conf (there aren't any) and nothing is shown under /etc/portage ... what now? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: automounting usb drives
on 2011-02-26 at 16:53 Nikos Chantziaras wrote: Do you have any entries for those devices in /etc/fstab? If yes, delete them. They interfere with automounting. i had already deleted them, only after doing so the device icon began to appear on thunar. but i can't mount it as a normal user, only as root.
Re: [gentoo-user] automounting usb drives
on 2011-02-26 at 15:47 Marc Joliet wrote: According to the README file [0], udiskie uses consolekit to obtain necessary permissions. That means that you need to emerge xfce4-session with the use flags +consolekit. i recompiled xfce4-session with +consolekit, but the situation remains unchanged. If it is not already the case, you will need to add consolekit to the default runlevel. ditto. :-(
Re: [gentoo-user] automounting usb drives
Hi, for me it works (xfce 4.8 with udev and udisk) please check if you - enable the volume manager (thunar preferences: Advanced tab) - you are in the plugdev group On Sat, 26 Feb 2011 11:30:45 -0200 luis jure l...@internet.com.uy wrote: It seems that for Xfce you want the Thunar Volume Manager plugin i had already installed this plugin, but it doesn't seem to do much: an icon for the device appears on the side panel, but no corresponding mount point is created under /media. when i click on the icon a Not Authorized message appears. Regards, Christoph
Re: [gentoo-user] Why is KDE part of the system set?
Neil Bothwick wrote: On Fri, 25 Feb 2011 22:10:27 -0600, Dale wrote: Not exactly. I'm saying I don't think X stuff should be in the system set regardless of USE flags. There is no X stuff in @system. what you are seeing is that some dependencies of @system have X in their IUSE, so pull in X, but that doesn't make X part of @system, nor make it a requirement for your computer to run. You have set the X flag, by choosing a desktop profile, so why do you object to X programs being installed? I see your point but that isn't what I have been talking about. When I run emerge -e system, it pulls in a bunch of X stuff including KDE. Yea, it is because of USE flags but that didn't used to be the case. If I recall correctly, my system set and all its dependencies used to be 147 packages. Now it is over 400 packages which includes things that have nothing to do with booting or running portage. I don't object to having X stuff installed, I just don't think it should be pulled into the system set. When I do a emerge -e system, it should be only stuff that is related to booting, running portage and such, not GUI stuff. If this continues to grow, the system set is going to catch up with the world set. Dale :-) :-)
Re: [gentoo-user] automounting usb drives
on 2011-02-26 at 16:17 Christoph Brendes wrote: Hi, for me it works (xfce 4.8 with udev and udisk) please check if you - enable the volume manager (thunar preferences: Advanced tab) - you are in the plugdev group yes to both... :-(
[gentoo-user] Re: automounting usb drives
On 02/26/2011 05:09 PM, luis jure wrote: on 2011-02-26 at 16:53 Nikos Chantziaras wrote: Do you have any entries for those devices in /etc/fstab? If yes, delete them. They interfere with automounting. i had already deleted them, only after doing so the device icon began to appear on thunar. but i can't mount it as a normal user, only as root. Another shot: Make sure your user belongs to these groups: disk usb plugdev
Re: [gentoo-user] Random reboots. Where to start?
On Saturday 26 Feb 2011 04:36:32 AM Dale wrote: I booted a USB stick and it ran a long time with no problem. ok this may have nothing to do with it but was it a 32 bit OS on the usb stick? does it use all 8 gigs? dont know if this makes any diffrence though just guessing. -- - Yohan Pereira A man can do as he will, but not will as he will - Schopenhauer
Re: [gentoo-user] automounting usb drives
On Sat, 26 Feb 2011 13:27:11 -0200 luis jure l...@internet.com.uy wrote: on 2011-02-26 at 16:17 Christoph Brendes wrote: Hi, for me it works (xfce 4.8 with udev and udisk) please check if you - enable the volume manager (thunar preferences: Advanced tab) - you are in the plugdev group yes to both... :-( Did you use HAL? Christoph
Re: [gentoo-user] Random reboots. Where to start?
Yohan Pereira wrote: On Saturday 26 Feb 2011 04:36:32 AM Dale wrote: I booted a USB stick and it ran a long time with no problem. ok this may have nothing to do with it but was it a 32 bit OS on the usb stick? does it use all 8 gigs? dont know if this makes any diffrence though just guessing. -- - Yohan Pereira A man can do as he will, but not will as he will - Schopenhauer I booted a 64 bit. It did see all the ram and I'm up to 16Gbs now. I started with 4, then went to 8 and then went to 16Gbs. Newegg kept having sales. lol Dale :-) :-)
Re: [gentoo-user] Why is KDE part of the system set?
On Sat, 26 Feb 2011 09:24:18 -0600, Dale wrote: I see your point but that isn't what I have been talking about. When I run emerge -e system, it pulls in a bunch of X stuff including KDE. Yea, it is because of USE flags but that didn't used to be the case. If I recall correctly, my system set and all its dependencies used to be 147 packages. Now it is over 400 packages which includes things that have nothing to do with booting or running portage. The most likely cause of which is that you have changed your USE flags. Incidentally, this KDE netbook installs 218 packages for -e @system. My headless server does 94. You must have USE=kitchen-sink to top 400. -- Neil Bothwick Mac screen message: Like, dude, something went wrong. signature.asc Description: PGP signature
[gentoo-user] Joining bayes-dbs?
Hi, due to a temporary misconfiguration I have several db's (berkdb) of spamassassins bayes feature on my hd. All are of different users (I currently use nobody:nobody as user for spamd). I would like to combine/join them into one db. How can I acchieve this most painlessly ? Best regards and have a nice weekend! Best regards mcc
Re: [gentoo-user] Random reboots. Where to start?
On Friday 25 February 2011 18:24:50 Dale wrote: Volker Armin Hemmann wrote: let memtest86 run - for 12h. increase ram voltage - a bit. Like 0.01V. get a different psu. 12 hours? you are right. 24h is better.
Re: [gentoo-user] Ebuild hacking howto
On Saturday 26 February 2011 14:56:35 Dale wrote: Mick wrote: Not related to the OP's question, but couldn't stop myself from asking: Why is/was webmin dropped from portage? I saw bug 348432 for webmin-1.530, but other than offering an ebuild it didn't say. From gentoo-dev: # Diego E. Pettenòflamee...@gentoo.org (10 Aug 2010) # on behalf of QA team # # Breaks about any QA policy regarding not touching # live filesystem as it writes to LVM configuration, # cron configuration, current-running kernel modules, RPM # library, ... # # Removal on 2010-10-09 app-admin/webmin That help? Yes, thank you. :) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17
Where are being these set? I currently have: $ echo $XDG_CONFIG_DIRS /etc/xdg $ echo $XDG_DATA_DIRS /usr/local/share:/usr/share I'm asking because although Enlightenment-17 picks up the kde menu from there, it does not seem to recognise the respective application icons. If I set the icons manually with absolute paths (e.g. /usr/share/icons/oxygen/48x48/apps/knode.png, instead of the generic knode.png) then I end up with duplicate menu entries for each application when I launch kde. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] automounting usb drives
Am Sat, 26 Feb 2011 13:14:32 -0200 schrieb luis jure l...@internet.com.uy: on 2011-02-26 at 15:47 Marc Joliet wrote: According to the README file [0], udiskie uses consolekit to obtain necessary permissions. That means that you need to emerge xfce4-session with the use flags +consolekit. i recompiled xfce4-session with +consolekit, but the situation remains unchanged. If it is not already the case, you will need to add consolekit to the default runlevel. ditto. :-( Hmm, how do you start your xfce session? I assumed that Xfce comes with it's own login manager, but I can't find any references to one (except in an email from 2003 mentioning xfce-mcs-manager). The Gentoo Xfce guide only mentions SLiM. My understanding is that the session needs to register with the consolekit daemon, which is done either by the login/display manager or with the help of ck-launch-session. If you start Xfce via startxfce4 then you need to preface that with ck-launch-session, i.e. ck-launch-session startxfce4. You can try starting xfce that way from a shell outside of X. For comparison, I have the following setup: - consolekit installed with +pam +policykit - slim as login manager with per-user .xinitrc - in ~/.xinitrc, start my window manager with exec ck-launch-session awesome One more random idea: maybe xfce4-session needs the policykit use flag set, too? I really don't know if it's needed here, but you can try. HTH -- Marc Joliet -- signature.asc Description: PGP signature
Re: [gentoo-user] Search filesystem with a wildcard
I used to use slocate like this to search the filesystem for a file: foo*.txt but mlocate doesn't seem to accept wildcards. I tried to figure out how to do it with find but failed. Can anyone point me in the right direction? - Grant Try locate */foo*.txt. mlocate seems to match based on the full path name. Also, to quote the manpage: If any PATTERN contains no globbing characters, locate behaves as if the pattern were *PATTERN*. I get it now, thank you for that. - Grant
Re: [gentoo-user] Search filesystem with a wildcard
I used to use slocate like this to search the filesystem for a file: foo*.txt but mlocate doesn't seem to accept wildcards. I tried to figure out how to do it with find but failed. Can anyone point me in the right direction? - Grant How about this? find -name foo*.txt ? I can't get find to work. This works: locate *foo*.txt but none of these work: find /my/folder -name foo*.txt find /my/folder -name *foo*.txt find /my/folder -type f -name '*foo*.txt' What am I doing wrong? I do need the find to be recursive in that folder. - Grant
Re: [gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17
On Sat, 26 Feb 2011 17:50:02 +0100, Mick wrote about [gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17: Where are being these set? I currently have: $ echo $XDG_CONFIG_DIRS /etc/xdg $ echo $XDG_DATA_DIRS /usr/local/share:/usr/share Take a look at /etc/env.d/*xdg*, which should be about 3 files. Note that if you modify any files in that directory, you need to run env-update for the changes to take effect; you will also need to logout and login again. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* dwn...@ntlworld.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* signature.asc Description: PGP signature
Re: [gentoo-user] Search filesystem with a wildcard
on 2011-02-26 at 09:33 Grant wrote: I can't get find to work. This works: locate *foo*.txt but none of these work: find /my/folder -name foo*.txt find /my/folder -name *foo*.txt find /my/folder -type f -name '*foo*.txt' What am I doing wrong? I do need the find to be recursive in that folder. i'm sorry i haven't been following the thread too closely, but the last one should work. according to man find, when using wildcards in a search, you should enclose the pattern in quotes or escape the wildcard, meaning that all these work: find /my/folder -type f -name *foo*.txt find /my/folder -type f -name '*foo*.txt' find /my/folder -type f -name \*foo\*.txt they certainly work for me. am i missing something?
Re: [gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17
On Saturday 26 February 2011 18:12:42 David W Noon wrote: On Sat, 26 Feb 2011 17:50:02 +0100, Mick wrote about [gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17: Where are being these set? I currently have: $ echo $XDG_CONFIG_DIRS /etc/xdg $ echo $XDG_DATA_DIRS /usr/local/share:/usr/share Take a look at /etc/env.d/*xdg*, which should be about 3 files. Note that if you modify any files in that directory, you need to run env-update for the changes to take effect; you will also need to logout and login again. Thanks, I have only two: $ ls -la /etc/env.d/*xdg* -rw-r--r-- 1 root root 81 Dec 18 11:24 /etc/env.d/30xdg-data-local -rw-r--r-- 1 root root 54 Dec 18 11:24 /etc/env.d/90xdg-data-base and they contain: $ cat /etc/env.d/30xdg-data-local XDG_DATA_DIRS=/usr/local/share COLON_SEPARATED=XDG_DATA_DIRS XDG_CONFIG_DIRS $ cat /etc/env.d/90xdg-data-base XDG_DATA_DIRS=/usr/share XDG_CONFIG_DIRS=/etc/xdg I assume these were installed by x11-misc/xdg-utils. Is that what they should contain? Any idea why E17 will not work with the generic application icons in the first hand and why changing these to absolute paths creates duplicate menu entries when logged into KDE (which is a rare occurrence for me anyway - but I'd like to understand how cross-desktop menus work). I find all this rather confusing. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17
On Sat, Feb 26, 2011 at 11:41 AM, Mick michaelkintz...@gmail.com wrote: Where are being these set? I currently have: $ echo $XDG_CONFIG_DIRS /etc/xdg $ echo $XDG_DATA_DIRS /usr/local/share:/usr/share See /etc/env.d/30xdg-data-local and /etc/env.d/90xdg-data-base.
Re: [gentoo-user] xorg-drivers for mouse and keyboard confusion
On Sat, Feb 26, 2011 at 7:04 AM, Mick michaelkintz...@gmail.com wrote: On Saturday 26 February 2011 11:26:38 Jesús J. Guerrero Botella wrote: You could always grep for INPUT_DEVICES into /etc/portage, user -R for recursive search. Also, make sure there's no other statement for INPUT_DEVICES in make.conf after the one you posted above. Thanks, I checked for duplicate entries in make.conf (there aren't any) and nothing is shown under /etc/portage ... what now? -- Regards, Mick Did you double check /var/lib/portage/world to make sure they aren't (somehow) still in there? I don't know if you use modules-rebuild but if so have you removed them from the list of things that you rebuild when you make a new kernel? If you let the system re-emerge them, make sure you're -DuN @world clean, then emerge -C them, use --depclean to get everything out, I bet they'll be gone. Very strange... Good luck, Mark
Re: [gentoo-user] Ebuild hacking howto
Am Sat, 26 Feb 2011 16:28:35 + schrieb Mick michaelkintz...@gmail.com: On Saturday 26 February 2011 14:56:35 Dale wrote: Mick wrote: Not related to the OP's question, but couldn't stop myself from asking: Why is/was webmin dropped from portage? I saw bug 348432 for webmin-1.530, but other than offering an ebuild it didn't say. From gentoo-dev: # Diego E. Pettenòflamee...@gentoo.org (10 Aug 2010) # on behalf of QA team # # Breaks about any QA policy regarding not touching # live filesystem as it writes to LVM configuration, # cron configuration, current-running kernel modules, RPM # library, ... # # Removal on 2010-10-09 app-admin/webmin That help? Yes, thank you. :) Note that you can find this information in /usr/portage/profile/package.mask. HTH -- Marc Joliet signature.asc Description: PGP signature
[gentoo-user] usb modem pantech uml290
Hello, Is anyone using the uml290 modem? I've never used one and recently acquired this model. What other kernel support is needed in addition to usb modem? and what package is needed to connect the modem (currently I use wicd for wired and wireless connection on a laptop where I intend to use the usb modem)? I've been checking info on the web and ubuntu seems to work with the modem but I have not found specific information on how to configure the kernel. Thanks, -- Valmor
Re: [gentoo-user] Search filesystem with a wildcard
I used to use slocate like this to search the filesystem for a file: foo*.txt but mlocate doesn't seem to accept wildcards. I tried to figure out how to do it with find but failed. Can anyone point me in the right direction? - Grant How about this? find -name foo*.txt ? I can't get find to work. This works: locate *foo*.txt but none of these work: find /my/folder -name foo*.txt find /my/folder -name *foo*.txt find /my/folder -type f -name '*foo*.txt' What am I doing wrong? I do need the find to be recursive in that folder. Don't you have some unfortunate alias set up for 'find'? I understand you already have a working solution, but something's fishy here indeed. The third one should absolutely work. By the way, you should probably use quotes with 'locate' too. It might cause the same kind of unexpected fail in case there happens to be something which satisfies *foo*.txt in the working directory of the command. -rz
[gentoo-user] Re: ALSA - Still No Sound
On 02/15/2011 02:43 AM, dhk wrote: On 02/14/2011 12:29 PM, walt wrote: On 02/14/2011 03:43 AM, dhk wrote: What are the Intel HD Audio codecs? I don't remember doing anything explicitly for them. How do I check them? Thanks. Under the HD-Intel sound card driver menu there are several codecs for specific sound chips. e.g. I use the one for realtek, but yours may be a different one. Doesn't hurt to build them all as modules and see which one(s) your kernel actually uses. It looks like all the codec's are built in. I'm not sure what the last one in the list does. # grep -i realtek /etc/kernels/kernel-config-x86_64-2.6.36-gentoo-r5 CONFIG_REALTEK_PHY=m CONFIG_SND_HDA_CODEC_REALTEK=y # grep -i codec /etc/kernels/kernel-config-x86_64-2.6.36-gentoo-r5 CONFIG_SND_AC97_CODEC=m CONFIG_SND_HDA_CODEC_REALTEK=y CONFIG_SND_HDA_CODEC_ANALOG=y CONFIG_SND_HDA_CODEC_SIGMATEL=y CONFIG_SND_HDA_CODEC_VIA=y CONFIG_SND_HDA_CODEC_ATIHDMI=y CONFIG_SND_HDA_CODEC_NVHDMI=y CONFIG_SND_HDA_CODEC_INTELHDMI=y CONFIG_SND_HDA_CODEC_CIRRUS=y CONFIG_SND_HDA_CODEC_CONEXANT=y CONFIG_SND_HDA_CODEC_CA0110=y CONFIG_SND_HDA_CODEC_CMEDIA=y CONFIG_SND_HDA_CODEC_SI3054=y # CONFIG_SND_SOC_ALL_CODECS is not set This is the genkernel so pretty much everything is built in. There is a very recent post from someone (Walter?) that says he got audio only after compiling all the kernel sound features as modules, but he has no idea why (nor do I) but, as no one yet has a better idea, I'd try it as an experiment.
Re: [gentoo-user] Why is KDE part of the system set?
On Sat, Feb 26, 2011 at 10:24 AM, Dale rdalek1...@gmail.com wrote: I don't object to having X stuff installed, I just don't think it should be pulled into the system set. The system set (@system) is comprised ONLY of the packages listed in the various packages files under /usr/portage/profiles. The dependencies of the packages are NOT part of @system. What you are saying is that packages in @system should never be allowed to optionally have GUI functionality enabled. That's just stupid. If you want the smalled possible depgraph for @system, don't enable any USE flags for the packages in @system. It is just that simple.
[gentoo-user] Re: strange library dependencies
On 02/25/2011 01:51 AM, Helmut Jarausch wrote: Hi, I've just emerged app-text/djview4 which went through without any errors. But invoking djview4 fails due to missing libraries libdjvulibre.so.15 and libtiff.so.3 On my system there the more recent versions libdjvulibre.so.21libtiff.so.5 I don't understand how something that's just got compiled and linked may refer to libraries which are not present. My automatic response to missing libraries is to run revdep-rebuild. Have you tried that yet? I run it every time I update the system.
[gentoo-user] Re: Random reboots. Where to start?
On 02/25/2011 03:10 PM, Dale wrote: I got a good power supply but it could still be that. Even the best and most expensive break from time to time. I think I could swap mine out from my old rig if needed. This new rig doesn't pull near as much as my old one. How can you tell how much power the machine is using?
Re: [gentoo-user] Re: Random reboots. Where to start?
On Sat, Feb 26, 2011 at 2:20 PM, walt w41...@gmail.com wrote: On 02/25/2011 03:10 PM, Dale wrote: I got a good power supply but it could still be that. Even the best and most expensive break from time to time. I think I could swap mine out from my old rig if needed. This new rig doesn't pull near as much as my old one. How can you tell how much power the machine is using? Kill-a-Watt
[gentoo-user] Re: automounting usb drives
On 02/26/2011 03:40 AM, luis jure wrote: on 2011-02-26 at 06:00 Nikos Chantziaras wrote: Make sure you have udev enabled for your desktop environment. Or HAL, if it doesn't support udev. Then it will just work. hi nikos, the only package in xfce that has a flag for udev is xfce-base/xfce4-session and it is set. i-m afraid it doesn't just work... xfce4-session also recognizes the policykit and consolekit USE flag, and those two things seem to be the way of the future (until tomorrow, anyway) for desktop managers like kde and gnome. xfce has always been closely related to gnome, and it still uses the gnome USE flag, I see. I'd suggest setting the three USE flags I've mentioned and see what happens.
Re: [gentoo-user] Re: Random reboots. Where to start?
Mark Knecht wrote: On Sat, Feb 26, 2011 at 2:20 PM, waltw41...@gmail.com wrote: On 02/25/2011 03:10 PM, Dale wrote: I got a good power supply but it could still be that. Even the best and most expensive break from time to time. I think I could swap mine out from my old rig if needed. This new rig doesn't pull near as much as my old one. How can you tell how much power the machine is using? Kill-a-Watt Nope, current meter and a calculator. My computer has a line that is for that plug only. I just clamp my meter on and measure how much current it is pulling. Multiply that times the current and there you go. The Kill a watt is next on my list tho. I do want one of those things. Newegg has them too. ;-) Dale :-) :-)
Re: [gentoo-user] xorg-drivers for mouse and keyboard confusion
2011/2/26 Mick michaelkintz...@gmail.com: On Saturday 26 February 2011 11:26:38 Jesús J. Guerrero Botella wrote: You could always grep for INPUT_DEVICES into /etc/portage, user -R for recursive search. Also, make sure there's no other statement for INPUT_DEVICES in make.conf after the one you posted above. Thanks, I checked for duplicate entries in make.conf (there aren't any) and nothing is shown under /etc/portage ... what now? Can you post emerge --info? -- Jesús Guerrero Botella
Re: [gentoo-user] Re: automounting usb drives
on 2011-02-26 at 14:44 walt wrote: xfce4-session also recognizes the policykit and consolekit USE flag, and those two things seem to be the way of the future (until tomorrow, anyway) for desktop managers like kde and gnome. xfce has always been closely related to gnome, and it still uses the gnome USE flag, I see. I'd suggest setting the three USE flags I've mentioned and see what happens. OK, i undid everything i had been trying and decided to try this path. i recompiled xfce4-session with policykit, consolekit and gnome. i don't have a graphical login manager, i start X with startx from the console, and my .xinitrc is simply: exec ck-launch-session startxfce4 if i start X as root things work in a more or less satisfactory way: pen drives appear on the side bar on thunar and i can mount and eject them (not umount). but if i start X as a normal user, i get a not authorized message from thunar and i can't mount the devices. now, i belong to just about every group out there: root disk lp wheel audio cdrom video cdrw usb users lpadmin portage plugdev lj vboxusers scanner any ideas why i don't have permissions to mount the usb drives? (also, after doing these changes i can't shutdown or reboot form xfce) anyway, it seems i'm getting closer... a big thank you to all that have been following this thread, i hope i'll be able to resolve this last issue... best, lj
Re: [gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17
On Sat, 26 Feb 2011 20:00:01 +0100, Mick wrote about Re: [gentoo-user] XDG_CONFIG_DIRS and XDG_DATA_DIRS env variables with E17: [snip] and they contain: $ cat /etc/env.d/30xdg-data-local XDG_DATA_DIRS=/usr/local/share COLON_SEPARATED=XDG_DATA_DIRS XDG_CONFIG_DIRS $ cat /etc/env.d/90xdg-data-base XDG_DATA_DIRS=/usr/share XDG_CONFIG_DIRS=/etc/xdg I assume these were installed by x11-misc/xdg-utils. Is that what they should contain? Yes, those look typical, but invalid. Did you notice that the second script clobbers the value of XDG_DATA_DIRS that was set in the first? Any idea why E17 will not work with the generic application icons in the first hand and why changing these to absolute paths creates duplicate menu entries when logged into KDE (which is a rare occurrence for me anyway - but I'd like to understand how cross-desktop menus work). I find all this rather confusing. I don't run Enlightenment. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* dwn...@ntlworld.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* signature.asc Description: PGP signature
Re: [gentoo-user] Re: automounting usb drives
On Sun, 27 Feb 2011 11:04:41 luis jure wrote: on 2011-02-26 at 14:44 walt wrote: xfce4-session also recognizes the policykit and consolekit USE flag, and those two things seem to be the way of the future (until tomorrow, anyway) for desktop managers like kde and gnome. xfce has always been closely related to gnome, and it still uses the gnome USE flag, I see. I'd suggest setting the three USE flags I've mentioned and see what happens. OK, i undid everything i had been trying and decided to try this path. i recompiled xfce4-session with policykit, consolekit and gnome. i don't have a graphical login manager, i start X with startx from the console, and my .xinitrc is simply: exec ck-launch-session startxfce4 if i start X as root things work in a more or less satisfactory way: pen drives appear on the side bar on thunar and i can mount and eject them (not umount). but if i start X as a normal user, i get a not authorized message from thunar and i can't mount the devices. now, i belong to just about every group out there: root disk lp wheel audio cdrom video cdrw usb users lpadmin portage plugdev lj vboxusers scanner any ideas why i don't have permissions to mount the usb drives? (also, after doing these changes i can't shutdown or reboot form xfce) anyway, it seems i'm getting closer... a big thank you to all that have been following this thread, i hope i'll be able to resolve this last issue... If it involved PolicyKit, that may be the cause. Look in /etc/PolicyKit/PolicyKit.conf and see if that is blocking your access. I had to add/modify mine to allow user mounts. This is the relevent section I had to change: match action=org.freedesktop.hal.storage.* return result=yes / /match -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] Re: automounting usb drives
on 2011-02-27 at 11:32 Paul Colquhoun wrote: If it involved PolicyKit, that may be the cause. Look in /etc/PolicyKit/PolicyKit.conf and see if that is blocking your access. mmm... i don't have this file (or the /etc/PolicyKit directory, for that matter). i only have the /etc/polkit-1 directory, belonging to sys-auth/polkit. the PolicyKit.conf file should already be there? which package provides it? or can i just create it from scratch? best, lj
Re: [gentoo-user] Re: automounting usb drives
On Sun, 27 Feb 2011 13:10:37 luis jure wrote: on 2011-02-27 at 11:32 Paul Colquhoun wrote: If it involved PolicyKit, that may be the cause. Look in /etc/PolicyKit/PolicyKit.conf and see if that is blocking your access. mmm... i don't have this file (or the /etc/PolicyKit directory, for that matter). i only have the /etc/polkit-1 directory, belonging to sys-auth/polkit. the PolicyKit.conf file should already be there? which package provides it? or can i just create it from scratch? Hmmm. equery b for /etc/PolicyKit/PolicyKit.conf or just /etc/PolicyKit doesn't return any packages on my system. I suspect that they belong to some part of KDE, as the permission errors I was tracking down came from the Dolphin file manager, and they could thus control how KDE uses the policykit framework. They may also be leftovers from when KDE/Gentoo used to use policykit, and have since stopped. It's sometimes hard to keep up with these changes. It's possible that I created the file and directory by hand, after finding instructions via Google search, such as https://bbs.archlinux.org/viewtopic.php?id=65070 In case you want to risk this, the full content of my file is: # ?xml version=1.0 encoding=UTF-8? !-- -*- XML -*- -- !DOCTYPE pkconfig PUBLIC -//freedesktop//DTD PolicyKit Configuration 1.0//EN http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd; !-- See the manual page PolicyKit.conf(5) for file format -- config version=0.1 define_admin_auth group=wheel/ match user=root return result=yes/ /match match action=org.freedesktop.hal.storage.* return result=yes / /match /config # -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] automounting usb drives
On Sat, 26 Feb 2011, Christoph Brendes wrote: On Sat, 26 Feb 2011 13:27:11 -0200 luis jure l...@internet.com.uy wrote: on 2011-02-26 at 16:17 Christoph Brendes wrote: Hi, for me it works (xfce 4.8 with udev and udisk) please check if you - enable the volume manager (thunar preferences: Advanced tab) - you are in the plugdev group yes to both... :-( Did you use HAL? Christoph Hal is deprecated. Try avoiding it as much as possible. Best regards, -- Dương Yang Hà Nguyễn Web log: http://cmpitg.wordpress.com/ Life is a hack -BEGIN GEEK CODE BLOCK- Version: 3.12 GIT/C/ED/L d++ s-:-(:) !a C+++() ULU$ P-- L+++$ E+++ W+ N+ o+ K w--- O- M@ V- PS+ PE++ Y+++ PGP++ t+ 5 X+ R- tv+ b+++ DI+++ D++ G+++ e* h* r* y- -END GEEK CODE BLOCK-
Re: [gentoo-user] Search filesystem with a wildcard
On 26/2/2011, at 5:33pm, Grant wrote: I can't get find to work. This works: locate *foo*.txt but none of these work: find /my/folder -name foo*.txt find /my/folder -name *foo*.txt find /my/folder -type f -name '*foo*.txt' $ mkdir -p /my/folder mkdir: cannot create directory `/my': Permission denied $ mkdir -p my/folder $ touch my/folder/foo.txt $ find my/folder -type f -name '*foo*.txt' my/folder/foo.txt $ find /my/folder -name foo*.txt find: `/my/folder': No such file or directory $ ^/^ find my/folder -name foo*.txt my/folder/foo.txt $ What am I doing wrong? I do need the find to be recursive in that folder. IMO the first thing you're doing wrong is concealing from us what you're actually doing. You're telling us that `find /my/folder -name foo*.txt` and two other versions don't work, yet you're relying on us taking your word on it that they don't. Prove it! You could have done exactly as I did above and create a folder called my/folder and created a file called foo.txt and then copied and pasted from the terminal to show us your actual commands. So we are only left to guess that the file you're looking for is NOT actually called foo.txt and it's NOT actually in a folder called /my/folder. So the problem could be that you're looking for a file with a capital letter in its name, and that you're using -name instead of -iname, or it could be that you're searching the wrong directory tree, or it could be a bunch of other things. Permissions springs to mind. But you'd rather waste our time in trying to conceal what you're looking for (I can only assume the file is called Busty big sluts 3.avi) than help us help you. Stroller.
[gentoo-user] Downgrade kdepim 4.5.94.1 to 4.4.10
Hi, I upgraded kdepim a while ago to most recent recent snpashots (4.5.94.1) This has proved less than successful, such as calendars do not work at all and akonadi sync takes forever on large mail collections. So I want to go back to 4.4.10 till such time as stuff actually works. The upgrade migration was a lengthy affair though, especially moving mail from a kde maildir resource to an akonadi store. I can do this manually in reverse but fear the migration involved a whole lotta other stuff I don't know about. Anyone know of a downgrade howto out there? I looked but couldn't find much. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Search filesystem with a wildcard
On 27/2/2011, at 6:30am, Alan McKinnon wrote: On Sunday 27 February 2011 03:46:48 Stroller wrote: On 26/2/2011, at 5:33pm, Grant wrote: find /my/folder -type f -name '*foo*.txt' He didn't quote the search string and neither did the grandparent. Find will do what he's asking and it's most unlikely that's what he wants. Grant, you have find /my/folder -name foo*.txt but you want find /my/folder -name 'foo*.txt' AIUI using `find /my/folder -name foo*.txt` (i.e. unquoted) the shell will pass the * to find if it can't expand it itself. So as long as he doesn't have a foo*.txt in his current working directory then either command should work fine. $ ls my/folder/ foo.txt $ ls foo.txt foo.txt $ rm foo.txt $ find my/folder -name foo*.txt my/folder/foo.txt $ ls fo*.txt ls: cannot access fo*.txt: No such file or directory $ find my/folder -name fo*.txt my/folder/foo.txt $ find my/folder -name *fo*.txt my/folder/foo.txt $ find my/folder -name '*fo*.txt' my/folder/foo.txt $ I maintain that if OP wanted useful advice he should have demonstrated stuff like the outputs of his find commands and of `ls foo*.txt` and `ls /my/folder/foo*.txt`. I am getting tired of giving this advice here. Stroller.