Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?!

2010-09-24 Thread Mark Knecht
On Thu, Sep 23, 2010 at 10:04 PM, Joseph Jezak jos...@gentoo.org wrote:
  My responses are inline this time. It's easier when there's so much
 going on!

 On 09/23/10 16:41, Mark Knecht wrote:
 Two pictures posted:

 Top half of boot screen:
 http://www.flickr.com/photos/29328...@n03/5018717650/

 Bottom half of boot screen
 http://www.flickr.com/photos/29328...@n03/5018718202/


 Okay, these look exactly as expected. You've booted into the shell fine
 and the kernel does detect the hard drive fine. It appears that the disk
 was not cleanly unmounted, which is what the messages in the bottom
 picture indicate. Once you get USB working so we can type into the
 console, we'll take a look at what's actually going on.

 Full USB HID support is built as modular. I don't seem to be able to
 change it to built in. make menuconfig is only giving me modular or
 not set.  (Kernel config USB info this is set is at the end)
 If you use menuconfig and you go to the Help option, it will tell you
 what dependencies need to be set in order to build the module. Most
 likely, you did not set the USB subsystem itself to be built in.
 lspci says the controller is an Apple controller and the driver is
 'macio' which seems sensible. I see it in the boot screen I think.
 That driver is built in, but the PATA_MACIO driver is not:

 (chroot) livecd linux # cat .config | grep MACIO
 # CONFIG_PATA_MACIO is not set
 CONFIG_ADB_MACIO=y
 (chroot) livecd linux #

 Maybe I've mistakenly left the right disk driver out of the kernel
 thinking the hardware was SATA based? Does the PATA_MACIO option need
 to be set for the Mac Mini? I don't understand how this kernel config
 would have ever worked befor unless I'm confusing where it came from.


 You're using the old style driver which results in devices named hdX#.
 It's called IDE_PMAC. The new driver which uses the sdX# naming
 convention (and uses libpata), is called PATA_MACIO.

 Does the append=init=/bin/bash command allow the kernel to load
 drivers or do I need to build USBHID into the kernel to get the
 keyboard to work at this level of boot?

 I would built it in for now, it'll be easier since there's no good way
 to get into the system to tell it to load the drivers.

 -Joe



Hi Joe,
   OK - I got USB working and with the append=init=/bin/bash in I
can at least do cd and ls commands.

   All the devices you asked about exist - /dev/hda1 through 20,
/dev/hdb1 through 20, /dev/null and /dev/zero - all exist.

   Doing know if it's a clue but in this  append=init=/bin/bash
state I was unable to do a reboot or a shutdown as it complained about
missing initctl I think?

   Being that I made a number of changes to the kernel config to get
USB working I remove the append line from yaboot.conf and tried
booting into Gentoo proper but it's still stopping at the same place
with the same message about no mtab file.

   I'll put the append back in and wait for further ideas.

   Thanks for sticking with me!

Cheers,
Mark



Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?!

2010-09-24 Thread Enlightened User

On Sep 24, 2010, at 4:30 PM, Mark Knecht wrote:

On Thu, Sep 23, 2010 at 10:04 PM, Joseph Jezak jos...@gentoo.org  
wrote:

 My responses are inline this time. It's easier when there's so much
going on!

On 09/23/10 16:41, Mark Knecht wrote:

Two pictures posted:

Top half of boot screen:
http://www.flickr.com/photos/29328...@n03/5018717650/

Bottom half of boot screen
http://www.flickr.com/photos/29328...@n03/5018718202/



Okay, these look exactly as expected. You've booted into the shell  
fine
and the kernel does detect the hard drive fine. It appears that the  
disk

was not cleanly unmounted, which is what the messages in the bottom
picture indicate. Once you get USB working so we can type into the
console, we'll take a look at what's actually going on.


Full USB HID support is built as modular. I don't seem to be able to
change it to built in. make menuconfig is only giving me modular or
not set.  (Kernel config USB info this is set is at the end)
If you use menuconfig and you go to the Help option, it will tell  
you

what dependencies need to be set in order to build the module. Most
likely, you did not set the USB subsystem itself to be built in.

lspci says the controller is an Apple controller and the driver is
'macio' which seems sensible. I see it in the boot screen I think.
That driver is built in, but the PATA_MACIO driver is not:

(chroot) livecd linux # cat .config | grep MACIO
# CONFIG_PATA_MACIO is not set
CONFIG_ADB_MACIO=y
(chroot) livecd linux #

Maybe I've mistakenly left the right disk driver out of the kernel
thinking the hardware was SATA based? Does the PATA_MACIO option  
need
to be set for the Mac Mini? I don't understand how this kernel  
config
would have ever worked befor unless I'm confusing where it came  
from.




You're using the old style driver which results in devices named  
hdX#.

It's called IDE_PMAC. The new driver which uses the sdX# naming
convention (and uses libpata), is called PATA_MACIO.


Does the append=init=/bin/bash command allow the kernel to load
drivers or do I need to build USBHID into the kernel to get the
keyboard to work at this level of boot?


I would built it in for now, it'll be easier since there's no good  
way

to get into the system to tell it to load the drivers.

-Joe




Hi Joe,
  OK - I got USB working and with the append=init=/bin/bash in I
can at least do cd and ls commands.

  All the devices you asked about exist - /dev/hda1 through 20,
/dev/hdb1 through 20, /dev/null and /dev/zero - all exist.

  Doing know if it's a clue but in this  append=init=/bin/bash
state I was unable to do a reboot or a shutdown as it complained about
missing initctl I think?

  Being that I made a number of changes to the kernel config to get
USB working I remove the append line from yaboot.conf and tried
booting into Gentoo proper but it's still stopping at the same place
with the same message about no mtab file.

  I'll put the append back in and wait for further ideas.

  Thanks for sticking with me!

Cheers,
Mark


Assuming you are still stopping near:
fsck.ext3...

Can you confirm that /sbin/fsck.ext3 exists?
If not, then emerge e2fsprogs.

Barry



Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?!

2010-09-24 Thread Mark Knecht
On Fri, Sep 24, 2010 at 3:43 PM, Enlightened User li...@nc.rr.com wrote:
 On Sep 24, 2010, at 4:30 PM, Mark Knecht wrote:

 On Thu, Sep 23, 2010 at 10:04 PM, Joseph Jezak jos...@gentoo.org wrote:

  My responses are inline this time. It's easier when there's so much
 going on!

 On 09/23/10 16:41, Mark Knecht wrote:

 Two pictures posted:

 Top half of boot screen:
 http://www.flickr.com/photos/29328...@n03/5018717650/

 Bottom half of boot screen
 http://www.flickr.com/photos/29328...@n03/5018718202/


 Okay, these look exactly as expected. You've booted into the shell fine
 and the kernel does detect the hard drive fine. It appears that the disk
 was not cleanly unmounted, which is what the messages in the bottom
 picture indicate. Once you get USB working so we can type into the
 console, we'll take a look at what's actually going on.

 Full USB HID support is built as modular. I don't seem to be able to
 change it to built in. make menuconfig is only giving me modular or
 not set.  (Kernel config USB info this is set is at the end)

 If you use menuconfig and you go to the Help option, it will tell you
 what dependencies need to be set in order to build the module. Most
 likely, you did not set the USB subsystem itself to be built in.

 lspci says the controller is an Apple controller and the driver is
 'macio' which seems sensible. I see it in the boot screen I think.
 That driver is built in, but the PATA_MACIO driver is not:

 (chroot) livecd linux # cat .config | grep MACIO
 # CONFIG_PATA_MACIO is not set
 CONFIG_ADB_MACIO=y
 (chroot) livecd linux #

 Maybe I've mistakenly left the right disk driver out of the kernel
 thinking the hardware was SATA based? Does the PATA_MACIO option need
 to be set for the Mac Mini? I don't understand how this kernel config
 would have ever worked befor unless I'm confusing where it came from.


 You're using the old style driver which results in devices named hdX#.
 It's called IDE_PMAC. The new driver which uses the sdX# naming
 convention (and uses libpata), is called PATA_MACIO.

 Does the append=init=/bin/bash command allow the kernel to load
 drivers or do I need to build USBHID into the kernel to get the
 keyboard to work at this level of boot?

 I would built it in for now, it'll be easier since there's no good way
 to get into the system to tell it to load the drivers.

 -Joe



 Hi Joe,
  OK - I got USB working and with the append=init=/bin/bash in I
 can at least do cd and ls commands.

  All the devices you asked about exist - /dev/hda1 through 20,
 /dev/hdb1 through 20, /dev/null and /dev/zero - all exist.

  Doing know if it's a clue but in this  append=init=/bin/bash
 state I was unable to do a reboot or a shutdown as it complained about
 missing initctl I think?

  Being that I made a number of changes to the kernel config to get
 USB working I remove the append line from yaboot.conf and tried
 booting into Gentoo proper but it's still stopping at the same place
 with the same message about no mtab file.

  I'll put the append back in and wait for further ideas.

  Thanks for sticking with me!

 Cheers,
 Mark

 Assuming you are still stopping near:
 fsck.ext3...

 Can you confirm that /sbin/fsck.ext3 exists?
 If not, then emerge e2fsprogs.

 Barry



The chroot is currently doing an emerge -e @world so I've shelled into
the machine and am showing from that perspective. All the typical fsck
programs are there and I rebuilt e2fsprogs a couple of days ago.


livecd gentoo # ls /mnt/gentoo/sbin/fsck*
fsck  fsck.ext2 fsck.ext4 fsck.minix
fsck.cramfs   fsck.ext3 fsck.ext4dev
livecd gentoo #

When emerge -e @world completes I'll give it a reboot but somehow I
don't have much faith that it will have fixed anything. Right now I
feel it's either something missing from my kernel config, or some
critical install step that I keep missing because of the way I read
the document and maybe some step that listed inside a paragraph
instead of being called out in purple like most of them are. (They are
in there, like the locale-gen step and a few others...)

I'll check back later when the rebuild is complete.

Thanks!

Cheers,
Mark



Re: [gentoo-user] spamd segmentation fault and spamassassin will not emerge

2010-09-24 Thread covici
Adam Carter adamcart...@gmail.com wrote:

 I thought seg faults were usually hardware does it happen at the same
 point every time?
I don't know as core is not dumped, but running perl-cleaner did fix it
-- weird.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Anyone using fsarchiver to backup their Linux filesystems?

2010-09-24 Thread Singapore Citizen Mr. Teo En Ming (Zhang E nming) 张恩鸣

fsarchiver: http://www.fsarchiver.org/Main_Page

I am using it to backup my Linux ext4 filesystems and Logical Volume 
Manager 2 (LVM2) logical volumes.


Here is a very simple Linux shell script which I wrote to backup my 
/boot filesystem as well as the host operating system's volume group.


CODE
#!/bin/sh

DESTDIR=/media/usbharddisk
FILENAME=22sep2010-wed.fsa
BOOT=/dev/sda1
OPTIONS=-A -j 2

fsarchiver savefs $DESTDIR/$FILENAME $BOOT /dev/vg_fedora11_host/lv_home 
/dev/vg_fedora11_host/lv_root /dev/vg_fedora11_host/lv_var \

$OPTIONS
/CODE

Specifying the option -A allows me to do a live backup of the 
filesystems while they are mounted read-write. The option -j2 allows 
me to use 2 compression threads (I am using Intel Pentium Dual Core 
E6300 processor @ 2800 MHz).


--
Yours sincerely,

Mr. Teo En Ming (Zhang Enming) 张恩鸣 Dip(Mechatronics) 
BEng(Hons)(Mechanical Engineering)

Citizenship: Singapore Citizen/Singaporean
Alma Maters:
[1] Singapore Polytechnic (Graduated 1998)
[2] National University of Singapore (Graduated 2006)
Facebook account: Teo En Ming (Zhang Enming)
Facebook link: http://www.facebook.com/profile.php?id=10750083982
Facebook photos: 
http://www.facebook.com/profile.php?id=10750083982#!/profile.php?id=10750083982v=photos
Facebook videos: 
http://www.facebook.com/profile.php?id=10750083982v=app_2392950137

Mobile Phone (Starhub pre-paid): +65-8369-2618
Windows Live Messenger: teoenming-at-hotmail.com
Location: Bedok Reservoir Road, Singapore
ZIP: 470103
My Open Letter (Plea for Medical Help/Assistance) to World Leaders 
(Updated 28 August 2010):-

http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.html
http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html
http://archives.gentoo.org/gentoo-user/msg_f6a341d9623fda17880159b137c07335.xml
Photo of Mr. Teo En Ming (Zhang Enming) 张恩鸣 of Singapore #1: 
http://i53.tinypic.com/207tamp.jpg
Photo of Mr. Teo En Ming (Zhang Enming) 张恩鸣 of Singapore #2: 
http://img713.imageshack.us/img713/7534/enmingteodscf2511.jpg
Singapore Citizen Mr. Teo En Ming (Zhang Enming) sues God for being too 
busy and unresponsive.




Re: [gentoo-user] Native 32 and 64-bit linux Flash 10 Preview Release available

2010-09-24 Thread Enrico Weigelt
* Walter Dnes waltd...@waltdnes.org wrote:

 Bad news
 
   It's more painfull building up a collection of flv videos.  The old
 version used to copy Youtube videos/songs/whatever into /tmp with a
 filename beginning with Flash.  

Which tends to fill up disk space, if not wiped regularily ;-o

 The new version dumps it in the Cache directory of whatever Firefox
 profile I'm using.  You have to cd to the Cache subdirectory, and
 execute...

Which is more correct, as it belongs into the browser's cache.
Of course, Mozilla's way of placing it's cache directly into
user profiles (instead of separate dirs under $TEMP) is the wrong
approach, but that's another story.


BTW: if you wanna catch videos and other media you came along
while surfing, just use a proper proxy (eg. wwwoffle) for that.


cu
-- 
--
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weig...@metux.de
 mobile: +49 151 27565287  icq:   210169427 skype: nekrad666
--
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
--



[gentoo-user] Monitor Resolution

2010-09-24 Thread dhk
After a recent xorg upgrade my display hasn't been quite right.  It's
all usable, but it looks like the resolution is wrong.  The resolution
is now set at the highest 1024x768 where it use to be 1280x1024.

Gnome-System-Preference-Monitors
Under Monitor Preferences the monitor is Unknown, Resolution 1024x768,
Refresh Rate 0 Hz, and Rotation Normal.  The Detect monitors button
doesn't seem to do anything.  The only other option under Resolution is
800x600.

I have a fairly new Samsung 932BW LCD Monitor and using an Nvidia
graphics card.

Any ideas on how to get my display back?

Thanks,

dhk



Re: [gentoo-user] Monitor Resolution

2010-09-24 Thread Albert Hopkins
On Fri, 2010-09-24 at 06:47 -0400, dhk wrote:
 After a recent xorg upgrade my display hasn't been quite right.  It's
 all usable, but it looks like the resolution is wrong.  The resolution
 is now set at the highest 1024x768 where it use to be 1280x1024.
 
 Gnome-System-Preference-Monitors
 Under Monitor Preferences the monitor is Unknown, Resolution 1024x768,
 Refresh Rate 0 Hz, and Rotation Normal.  The Detect monitors button
 doesn't seem to do anything.  The only other option under Resolution is
 800x600.
 
 I have a fairly new Samsung 932BW LCD Monitor and using an Nvidia
 graphics card.
 
 Any ideas on how to get my display back?
 
 Thanks,

First, the obligatory have you looked at the logs?

Not a lot of information was given (upgraded to what version? what
drivers?, etc). but here is a guess.

Since you are using an nvidia card, I'm guessing you are using the
proprietary nvidia drivers.  The gnome preference thingie uses xrandr
which, as far as I know, the proprietery nvidia drivers do not support.
I don't use nvidia cards anymore, but from my memory the GNOME monitor
app has never worked with Nvidia.

I'm also guessing that you upgraded to xorg-server 1.9.  Based on that,
and the fact that Nvidia drivers are usually behind Xorg updates, I'm
going to guess that the proprietary drivers are not working correctly,
either because Nvidia has to push out an update that supports 1.9 or you
have not re-compiled your drivers after upgrading the server.

So I would say first to try recompiling the Nvidia driver (if you
haven't already done so) and if that doesn't fix the problem you'll
might have to wait until Nvidia updates their proprietary drivers.

Anyway that's just a guess, since I no longer use Nvidia and based on
the limited information received.  You will likely find more information
(that you can post) by looking at the X server's log file.

-a




Re: [gentoo-user] spamd segmentation fault and spamassassin will not emerge

2010-09-24 Thread Albert Hopkins
On Fri, 2010-09-24 at 14:27 +1000, Adam Carter wrote:
 I thought seg faults were usually hardware

No segfaults are usually software or, more specifically (C) programming
errors.  It's when an application attempts to access a memory location
that it's not assigned to.




Re: [gentoo-user] Portage internals : shadow root

2010-09-24 Thread Enrico Weigelt
* Alan McKinnon alan.mckin...@gmail.com wrote:
 1. Remove all traces of yast and it's bastard brethren from the SuSE box.
 2. Have three qualified sysadmins double check that you have indeed removed 
 every last trace of it.
 3. PREFIX=/some/stage/dir/
 4. ./configure  make  make install

No, configure with normal FHS prefixes (eg. --prefix=/usr 
--sysconfdir=/etc --localstatedir=/var ...) and pass the 
DESTDIR variable on 'make install'.

Ah, BTW: first you'll should install a recent and clean toolchain
completely. SuSE's toolchain packages are known to be broken.

 Why remove yast?
 Because it's a sneaky P.O.S. and goes to extraordinary lengths to nuke all 
 your hard work done without it.

ACK. That's the first thing I do when some customer comes around with
some SuSE box (especially those strange masshoster installations).

SuSE is meant for people who wear suits and ties even when going to bed.
It's probably nice for migrating Windoze people into the *nix world,
but not for enterprise production systems ;-o

The funny thing is, back in the 90's it had been a really good
distro, back when people like Werner Fink and Boris Nalbach were
in charge of the technical designs. That's long gone - 6.x already
showed big signs of degregation, 7.x was ugly, beginning with 8.x 
totally unusable ;-p

Take my advise: migrate to another distro.


cu
-- 
--
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weig...@metux.de
 mobile: +49 151 27565287  icq:   210169427 skype: nekrad666
--
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
--



Re: [gentoo-user] Monitor Resolution

2010-09-24 Thread dhk
On 09/24/2010 07:06 AM, Albert Hopkins wrote:
 On Fri, 2010-09-24 at 06:47 -0400, dhk wrote:
 After a recent xorg upgrade my display hasn't been quite right.  It's
 all usable, but it looks like the resolution is wrong.  The resolution
 is now set at the highest 1024x768 where it use to be 1280x1024.

 Gnome-System-Preference-Monitors
 Under Monitor Preferences the monitor is Unknown, Resolution 1024x768,
 Refresh Rate 0 Hz, and Rotation Normal.  The Detect monitors button
 doesn't seem to do anything.  The only other option under Resolution is
 800x600.

 I have a fairly new Samsung 932BW LCD Monitor and using an Nvidia
 graphics card.

 Any ideas on how to get my display back?

 Thanks,
 
 First, the obligatory have you looked at the logs?
 
 Not a lot of information was given (upgraded to what version? what
 drivers?, etc). but here is a guess.
 
 Since you are using an nvidia card, I'm guessing you are using the
 proprietary nvidia drivers.  The gnome preference thingie uses xrandr
 which, as far as I know, the proprietery nvidia drivers do not support.
 I don't use nvidia cards anymore, but from my memory the GNOME monitor
 app has never worked with Nvidia.
 
 I'm also guessing that you upgraded to xorg-server 1.9.  Based on that,
 and the fact that Nvidia drivers are usually behind Xorg updates, I'm
 going to guess that the proprietary drivers are not working correctly,
 either because Nvidia has to push out an update that supports 1.9 or you
 have not re-compiled your drivers after upgrading the server.
 
 So I would say first to try recompiling the Nvidia driver (if you
 haven't already done so) and if that doesn't fix the problem you'll
 might have to wait until Nvidia updates their proprietary drivers.
 
 Anyway that's just a guess, since I no longer use Nvidia and based on
 the limited information received.  You will likely find more information
 (that you can post) by looking at the X server's log file.
 
 -a
 
 
 

After doing the following I didn't notice any difference and the nvidia
driver wasn't installed in the first place.

First)
# emerge x11-drivers/nvidia-drivers
Calculating dependencies... done!
 Verifying ebuild manifests
 Starting parallel fetch
 Emerging (1 of 4) app-emulation/emul-linux-x86-opengl-20100611
 Emerging (2 of 4) x11-libs/libvdpau-0.4
 Installing (2 of 4) x11-libs/libvdpau-0.4
 Installing (1 of 4) app-emulation/emul-linux-x86-opengl-20100611
 Emerging (3 of 4) x11-drivers/nvidia-drivers-195.36.31
 Installing (3 of 4) x11-drivers/nvidia-drivers-195.36.31
 Recording x11-drivers/nvidia-drivers in world favorites file...
 Emerging (4 of 4) media-video/nvidia-settings-195.36.24
 Installing (4 of 4) media-video/nvidia-settings-195.36.24
 Jobs: 4 of 4 complete   Load avg: 3.49,
2.20, 1.21

* Messages for package x11-drivers/nvidia-drivers-195.36.31:

* * WARNING *
*
* You are currently installing a version of nvidia-drivers that is
* known not to work with a video card you have installed on your
* system. If this is intentional, please ignore this. If it is not
* please perform the following steps:
*
* Add the following mask entry to /etc/portage/package.mask by
* echo =x11-drivers/nvidia-drivers-177.0.0 
* /etc/portage/package.mask
*
* Failure to perform the steps above could result in a non-working
* X setup.
*
* For more information please read:
* http://www.nvidia.com/object/IO_32667.html
* You must be in the video group to use the NVIDIA device
* For more info, read the docs at
* http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6
*
* This ebuild installs a kernel module and X driver. Both must
* match explicitly in their version. This means, if you restart
* X, you must modprobe -r nvidia before starting it back up
*
* To use the NVIDIA GLX, run eselect opengl set nvidia
*
* NVIDIA has requested that any bug reports submitted have the
* output of /usr/bin/nvidia-bug-report.sh included.
*
* To work with compiz, you must enable the
* AddARGBGLXVisuals option.
*
* If you are having resolution problems, try
* disabling DynamicTwinView.
 Auto-cleaning packages...
 No outdated packages were found on your
 system.
* GNU info directory index is up-to-date.

Second)
echo =x11-drivers/nvidia-drivers-177.0.0  /etc/portage/package.mask

Third)
modprobe has nothing to do.
# modprobe -rn nvidia

Original opengl setting
# eselect opengl list
Available OpenGL implementations:
  [1]   nvidia
  [2]   xorg-x11 *

Restarted and nothing changed.

fourth)
# eselect opengl set nvidia
# eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11

Restarted and nothing changed.

Do I need to set the resolution somewhere?  I haven't used an xorg.conf
file in sometime.

Thanks,

dhk



Re: [gentoo-user] Monitor Resolution

2010-09-24 Thread Bill Longman
 On 09/24/10 05:38, dhk wrote:
 On 09/24/2010 07:06 AM, Albert Hopkins wrote:
 On Fri, 2010-09-24 at 06:47 -0400, dhk wrote:
 After a recent xorg upgrade my display hasn't been quite right.  It's
 all usable, but it looks like the resolution is wrong.  The resolution
 is now set at the highest 1024x768 where it use to be 1280x1024.

 Gnome-System-Preference-Monitors
 Under Monitor Preferences the monitor is Unknown, Resolution 1024x768,
 Refresh Rate 0 Hz, and Rotation Normal.  The Detect monitors button
 doesn't seem to do anything.  The only other option under Resolution is
 800x600.

 I have a fairly new Samsung 932BW LCD Monitor and using an Nvidia
 graphics card.

 Any ideas on how to get my display back?

 Thanks,
 First, the obligatory have you looked at the logs?

 Not a lot of information was given (upgraded to what version? what
 drivers?, etc). but here is a guess.

 Since you are using an nvidia card, I'm guessing you are using the
 proprietary nvidia drivers.  The gnome preference thingie uses xrandr
 which, as far as I know, the proprietery nvidia drivers do not support.
 I don't use nvidia cards anymore, but from my memory the GNOME monitor
 app has never worked with Nvidia.

 I'm also guessing that you upgraded to xorg-server 1.9.  Based on that,
 and the fact that Nvidia drivers are usually behind Xorg updates, I'm
 going to guess that the proprietary drivers are not working correctly,
 either because Nvidia has to push out an update that supports 1.9 or you
 have not re-compiled your drivers after upgrading the server.

 So I would say first to try recompiling the Nvidia driver (if you
 haven't already done so) and if that doesn't fix the problem you'll
 might have to wait until Nvidia updates their proprietary drivers.

 Anyway that's just a guess, since I no longer use Nvidia and based on
 the limited information received.  You will likely find more information
 (that you can post) by looking at the X server's log file.

 -a



 After doing the following I didn't notice any difference and the nvidia
 driver wasn't installed in the first place.

 First)
 # emerge x11-drivers/nvidia-drivers
 Calculating dependencies... done!
 Verifying ebuild manifests
 Starting parallel fetch
 Emerging (1 of 4) app-emulation/emul-linux-x86-opengl-20100611
 Emerging (2 of 4) x11-libs/libvdpau-0.4
 Installing (2 of 4) x11-libs/libvdpau-0.4
 Installing (1 of 4) app-emulation/emul-linux-x86-opengl-20100611
 Emerging (3 of 4) x11-drivers/nvidia-drivers-195.36.31
 Installing (3 of 4) x11-drivers/nvidia-drivers-195.36.31
 Recording x11-drivers/nvidia-drivers in world favorites file...
 Emerging (4 of 4) media-video/nvidia-settings-195.36.24
 Installing (4 of 4) media-video/nvidia-settings-195.36.24
 Jobs: 4 of 4 complete   Load avg: 3.49,
 2.20, 1.21

 * Messages for package x11-drivers/nvidia-drivers-195.36.31:

 * * WARNING *
 *
 * You are currently installing a version of nvidia-drivers that is
 * known not to work with a video card you have installed on your
 * system. If this is intentional, please ignore this. If it is not
 * please perform the following steps:
 *
 * Add the following mask entry to /etc/portage/package.mask by
 * echo =x11-drivers/nvidia-drivers-177.0.0 
 * /etc/portage/package.mask
 *
 * Failure to perform the steps above could result in a non-working
 * X setup.
 *
 * For more information please read:
 * http://www.nvidia.com/object/IO_32667.html
 * You must be in the video group to use the NVIDIA device
 * For more info, read the docs at
 * http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6
 *
 * This ebuild installs a kernel module and X driver. Both must
 * match explicitly in their version. This means, if you restart
 * X, you must modprobe -r nvidia before starting it back up
 *
 * To use the NVIDIA GLX, run eselect opengl set nvidia
 *
 * NVIDIA has requested that any bug reports submitted have the
 * output of /usr/bin/nvidia-bug-report.sh included.
 *
 * To work with compiz, you must enable the
 * AddARGBGLXVisuals option.
 *
 * If you are having resolution problems, try
 * disabling DynamicTwinView.
 Auto-cleaning packages...
 No outdated packages were found on your
 system.
 * GNU info directory index is up-to-date.

 Second)
 echo =x11-drivers/nvidia-drivers-177.0.0  /etc/portage/package.mask


You should have emerged nvidia-drivers here.
 Third)
 modprobe has nothing to do.
 # modprobe -rn nvidia

 Original opengl setting
 # eselect opengl list
 Available OpenGL implementations:
   [1]   nvidia
   [2]   xorg-x11 *

 Restarted and nothing changed.

 fourth)
 # eselect opengl set nvidia
 # eselect opengl list
 Available OpenGL implementations:
   [1]   nvidia *
   [2]   xorg-x11

 Restarted and nothing changed.

 Do I need to set the resolution somewhere?  I haven't used an xorg.conf
 file in sometime.

 Thanks,

 dhk





Re: [gentoo-user] Fire the fox.

2010-09-24 Thread Kevin O'Gorman
On Tue, Sep 21, 2010 at 3:23 PM, Beau Henderson b...@thehenderson.comwrote:

 On 09/22/10 07:31, Peter Humphrey wrote:

 On Monday 20 September 2010 16:38:05 Paul Hartman wrote:

  I haven't had any crashing or failing to start, but Firefox in Linux
 has always been pretty bad in general for me. Slow UI, unusable in NX
 (constant screen redraws; Thunderbird does the same thing), network
 stalling for MINUTES at a time, slow to load, etc. Other browsers on
 the same machine don't suffer any of these problems. I don't use
 Firefox as my primary browser because it is so flaky.


 That's odd, because on this newish i5 box, which is suffering really
 severe responsiveness problems otherwise, FF responds to my commands
 smartly.


 Firefox for windows is compiled with PGO via ICC which apparently improves
 performance quite a bit. I believe there are issues when firefox is compiled
 with GCC via PGO and in any case, there is no support for PGO building of
 Firefox @ gentoo afaik. I wish I had the time and knowledge to whip up an
 ebuild that could do the magic to test it out tho.

 Any takers ? :P

 Uh, what are PGO and ICC??

I also must add that I get decent performance from the fox on Ubuntu let
alone Vista, which makes me take your suggestion about build parameters
seriously.

++ kevin


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Fire the fox.

2010-09-24 Thread Bill Longman
 On 09/24/10 09:48, Kevin O'Gorman wrote:
 On Tue, Sep 21, 2010 at 3:23 PM, Beau Henderson b...@thehenderson.com
 mailto:b...@thehenderson.com wrote:

 On 09/22/10 07:31, Peter Humphrey wrote:

 On Monday 20 September 2010 16:38:05 Paul Hartman wrote:

 I haven't had any crashing or failing to start, but
 Firefox in Linux
 has always been pretty bad in general for me. Slow UI,
 unusable in NX
 (constant screen redraws; Thunderbird does the same
 thing), network
 stalling for MINUTES at a time, slow to load, etc. Other
 browsers on
 the same machine don't suffer any of these problems. I
 don't use
 Firefox as my primary browser because it is so flaky.


 That's odd, because on this newish i5 box, which is suffering
 really
 severe responsiveness problems otherwise, FF responds to my
 commands
 smartly.


 Firefox for windows is compiled with PGO via ICC which apparently
 improves performance quite a bit. I believe there are issues when
 firefox is compiled with GCC via PGO and in any case, there is no
 support for PGO building of Firefox @ gentoo afaik. I wish I had
 the time and knowledge to whip up an ebuild that could do the
 magic to test it out tho.

 Any takers ? :P

 Uh, what are PGO and ICC??

 I also must add that I get decent performance from the fox on Ubuntu
 let alone Vista, which makes me take your suggestion about build
 parameters seriously.

 ++ kevin


 -- 
 Kevin O'Gorman, PhD

ICC is the Intel C compiler.


Re: [gentoo-user] Fire the fox.

2010-09-24 Thread Kevin O'Gorman
On Fri, Sep 24, 2010 at 9:51 AM, Bill Longman bill.long...@gmail.comwrote:

  On 09/24/10 09:48, Kevin O'Gorman wrote:

 On Tue, Sep 21, 2010 at 3:23 PM, Beau Henderson b...@thehenderson.comwrote:

  On 09/22/10 07:31, Peter Humphrey wrote:

 On Monday 20 September 2010 16:38:05 Paul Hartman wrote:

  I haven't had any crashing or failing to start, but Firefox in Linux
 has always been pretty bad in general for me. Slow UI, unusable in NX
 (constant screen redraws; Thunderbird does the same thing), network
 stalling for MINUTES at a time, slow to load, etc. Other browsers on
 the same machine don't suffer any of these problems. I don't use
 Firefox as my primary browser because it is so flaky.


 That's odd, because on this newish i5 box, which is suffering really
 severe responsiveness problems otherwise, FF responds to my commands
 smartly.


  Firefox for windows is compiled with PGO via ICC which apparently
 improves performance quite a bit. I believe there are issues when firefox is
 compiled with GCC via PGO and in any case, there is no support for PGO
 building of Firefox @ gentoo afaik. I wish I had the time and knowledge to
 whip up an ebuild that could do the magic to test it out tho.

 Any takers ? :P

  Uh, what are PGO and ICC??

 I also must add that I get decent performance from the fox on Ubuntu let
 alone Vista, which makes me take your suggestion about build parameters
 seriously.

 ICC is the Intel C compiler.


Ahh..   I've heard good things about it, but I'm under the impression it is
not free (as in beer).  Is that true?

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Fire the fox.

2010-09-24 Thread Yohan Pereira
On Friday 24 September 2010 10:26:54 pm Kevin O'Gorman wrote:
 Ahh..   I've heard good things about it, but I'm under the impression it is
 not free (as in beer).  Is that true?

true.

-- 
- Yohan Pereira.



Re: [gentoo-user] Fire the fox.

2010-09-24 Thread Bill Longman
 On 09/24/10 09:56, Kevin O'Gorman wrote:
 On Fri, Sep 24, 2010 at 9:51 AM, Bill Longman bill.long...@gmail.com
 mailto:bill.long...@gmail.com wrote:

 On 09/24/10 09:48, Kevin O'Gorman wrote:
 On Tue, Sep 21, 2010 at 3:23 PM, Beau Henderson
 b...@thehenderson.com mailto:b...@thehenderson.com wrote:

 On 09/22/10 07:31, Peter Humphrey wrote:

 On Monday 20 September 2010 16:38:05 Paul Hartman wrote:

 I haven't had any crashing or failing to start, but
 Firefox in Linux
 has always been pretty bad in general for me. Slow
 UI, unusable in NX
 (constant screen redraws; Thunderbird does the same
 thing), network
 stalling for MINUTES at a time, slow to load, etc.
 Other browsers on
 the same machine don't suffer any of these problems.
 I don't use
 Firefox as my primary browser because it is so flaky.


 That's odd, because on this newish i5 box, which is
 suffering really
 severe responsiveness problems otherwise, FF responds to
 my commands
 smartly.


 Firefox for windows is compiled with PGO via ICC which
 apparently improves performance quite a bit. I believe there
 are issues when firefox is compiled with GCC via PGO and in
 any case, there is no support for PGO building of Firefox @
 gentoo afaik. I wish I had the time and knowledge to whip up
 an ebuild that could do the magic to test it out tho.

 Any takers ? :P

 Uh, what are PGO and ICC??

 I also must add that I get decent performance from the fox on
 Ubuntu let alone Vista, which makes me take your suggestion about
 build parameters seriously.
 ICC is the Intel C compiler.


 Ahh..   I've heard good things about it, but I'm under the impression
 it is not free (as in beer).  Is that true?

 -- 
 Kevin O'Gorman, PhD

I don't know but I can emerge -q icc


[gentoo-user] Mystery: powertop shows emerge causing wake-ups, but emerge is not running.

2010-09-24 Thread Paul Hartman
Hi,

When running powertop on an idle system, I noticed that emerge is in
the list of items causing wake-ups. It is virtually always 8.0
wake-ups per 10 second sample (occasionally 8.1 wake-ups, maybe a
result of rounding). It is always there.

The puzzling bit is that emerge is not running at all. I do not have
any cron jobs running emerge. ps aux | grep emerge shows nothing.

Even when I am running emerge, even when emerge is using 100% cpu
time, the emerge entry in powertop remains at 8.0. ([kernel
scheduler] Load balancing tick is what represents almost all real
activity.)

My uname -a:
Linux black 2.6.35.5 #1 SMP PREEMPT Thu Sep 23 00:04:26 CDT 2010
x86_64 Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz GenuineIntel GNU/Linux

Using powertop-1.13 on ~amd64.

Maybe powertop needs to be updated for newer kernels? Mabye emerge
has an alternative meaning inside of powertop or linux kernel? A
search of the source code of both don't reveal anything that I can
see...

Do any of you have emerge in your powertop output? Does anyone know
what this means?

Thanks,
Paul



Re: [gentoo-user] Fire the fox.

2010-09-24 Thread Beau Henderson

On 09/24/10 08:11, a...@sourcegarden.de wrote:

  On 09/22/2010 12:23 AM, Beau Henderson wrote:

 On 09/22/10 07:31, Peter Humphrey wrote:
 On Monday 20 September 2010 16:38:05 Paul Hartman wrote:

 I haven't had any crashing or failing to start, but Firefox in Linux
 has always been pretty bad in general for me. Slow UI, unusable in NX
 (constant screen redraws; Thunderbird does the same thing), network
 stalling for MINUTES at a time, slow to load, etc. Other browsers on
 the same machine don't suffer any of these problems. I don't use
 Firefox as my primary browser because it is so flaky.

 That's odd, because on this newish i5 box, which is suffering really
 severe responsiveness problems otherwise, FF responds to my commands
 smartly.


 Firefox for windows is compiled with PGO via ICC which apparently
 improves performance quite a bit. I believe there are issues when
 firefox is compiled with GCC via PGO and in any case, there is no
 support for PGO building of Firefox @ gentoo afaik. I wish I had the
 time and knowledge to whip up an ebuild that could do the magic to
 test it out tho.

 Any takers ? :P


You really think that wood change the unstable problem?





--

*Sourcegarden GmbH*
*HR:* B-104357 *Steuernummer:* 37/167/21214*USt-ID* DE814784953
*Geschäftsführer:* Mario Scheliga, Rene Otto
*Bank:* Deutsche Bank, *BLZ:* 10070024, *KTO:* 0810929
*Adresse:* Schönhauser Allee 55, 10437 Berlin



Stability, probably not. Performance, probably so. I haven't had any stability issues aside from the 
NSPR troubles.



--
Kind Regards,
Beau Henderson




Re: [gentoo-user] Fire the fox.

2010-09-24 Thread Stroller

On 24 Sep 2010, at 20:15, Bill Longman wrote:
 ...
 
Uh, what are PGO and ICC??
 
I also must add that I get decent performance from the fox on
Ubuntu let alone Vista, which makes me take your suggestion about
build parameters seriously.
ICC is the Intel C compiler.
 
 Ahh..   I've heard good things about it, but I'm under the impression
 it is not free (as in beer).  Is that true?
 
 I don't know but I can emerge -q icc

There is other non-Free software you can install with Portage.

Just yesterday I was looking at games-fps/ut2003 and games-fps/ut2004 - I 
believe these require the game's installer CDs to work.

I would imagine that if you were to emerge ICC it would require an activation 
key before it would compile anything, otherwise we'd all be using it.

Stroller.




Re: [gentoo-user] Fire the fox.

2010-09-24 Thread Paul Hartman
On Fri, Sep 24, 2010 at 5:01 PM, Stroller
strol...@stellar.eclipse.co.uk wrote:

 On 24 Sep 2010, at 20:15, Bill Longman wrote:
 ...

    Uh, what are PGO and ICC??

    I also must add that I get decent performance from the fox on
    Ubuntu let alone Vista, which makes me take your suggestion about
    build parameters seriously.
    ICC is the Intel C compiler.

 Ahh..   I've heard good things about it, but I'm under the impression
 it is not free (as in beer).  Is that true?

 I don't know but I can emerge -q icc

 There is other non-Free software you can install with Portage.

 Just yesterday I was looking at games-fps/ut2003 and games-fps/ut2004 - I 
 believe these require the game's installer CDs to work.

 I would imagine that if you were to emerge ICC it would require an activation 
 key before it would compile anything, otherwise we'd all be using it.

According to the Gentoo Wiki, a free non-commercial license is
available, ICC is not fully compatible with GCC, and the list of
packages that work well with ICC is rather short (though that in
itself doesn't mean anything other than whoever made the wiki typed a
short list).

I have not personally tried it.



Re: [gentoo-user] Re: X programs as root

2010-09-24 Thread Andrey Vul
On Wed, Sep 22, 2010 at 21:18, Dale rdalek1...@gmail.com wrote:
 Nikos Chantziaras wrote:

 On 09/22/2010 09:48 PM, Andrey Vul wrote:

 When I launch X programs via sudo, I get the following:

 $sudo gui-admin
 No protocol specified
 gui-admin: cannot connect to X server :0

 ( Assume gui-admin is an X program )

 But (gk|kde)su(do)? works. This is somewhat confusing.

 sudo doesn't keep the $DISPLAY environment variable by default.  There
 could be other issues too.  Best stick to kdesu and friends; that's what
 they are there for.


It's the other issues.


 Well, I noticed after the recent upgrade to 4.5.1 that mine doesn't work
 either.  It worked before but not now.  I'm not sure what changed between
 4.4 and 4.5.1 but it broke my konqueror as root and other programs as well.
  Still have some I haven't tried tho.  Konqueror is the one I need most.
  Oh, I can get Dolphin to work tho.  The conspiracy theory part in me is
 starting to think.

Same here, s/konqueror/every gui program run via sudo/

 Sure would like to get this working again too.
Ditto. VMware tools, etc, are all gui and sometimes sudo is eaiser to
use than kdesu.



[gentoo-user] Re: X programs as root

2010-09-24 Thread Nikos Chantziaras

On 09/23/2010 04:18 AM, Dale wrote:

Nikos Chantziaras wrote:

On 09/22/2010 09:48 PM, Andrey Vul wrote:

When I launch X programs via sudo, I get the following:

$sudo gui-admin
No protocol specified
gui-admin: cannot connect to X server :0

( Assume gui-admin is an X program )

But (gk|kde)su(do)? works. This is somewhat confusing.


sudo doesn't keep the $DISPLAY environment variable by default. There
could be other issues too. Best stick to kdesu and friends; that's
what they are there for.




Well, I noticed after the recent upgrade to 4.5.1 that mine doesn't work
either. It worked before but not now. I'm not sure what changed between
4.4 and 4.5.1 but it broke my konqueror as root and other programs as
well. Still have some I haven't tried tho. Konqueror is the one I need
most. Oh, I can get Dolphin to work tho. The conspiracy theory part in
me is starting to think.

Sure would like to get this working again too.


Again, use kdesu, not sudo.

But if some reason you want sudo, /etc/sudoers has some info:

  ## Run X applications through sudo

Read the comments there and uncomment what suits you.  Did I mention 
that you should use kdesu instead of sudo? :-P





Re: [gentoo-user] Fire the fox.

2010-09-24 Thread Michael Orlitzky
On 09/24/2010 06:16 PM, Paul Hartman wrote:
 On Fri, Sep 24, 2010 at 5:01 PM, Stroller
 strol...@stellar.eclipse.co.uk wrote:

 On 24 Sep 2010, at 20:15, Bill Longman wrote:
 ...

Uh, what are PGO and ICC??

I also must add that I get decent performance from the fox on
Ubuntu let alone Vista, which makes me take your suggestion about
build parameters seriously.
ICC is the Intel C compiler.

 Ahh..   I've heard good things about it, but I'm under the impression
 it is not free (as in beer).  Is that true?

 I don't know but I can emerge -q icc

 There is other non-Free software you can install with Portage.

 Just yesterday I was looking at games-fps/ut2003 and games-fps/ut2004 - I 
 believe these require the game's installer CDs to work.

 I would imagine that if you were to emerge ICC it would require an 
 activation key before it would compile anything, otherwise we'd all be using 
 it.
 
 According to the Gentoo Wiki, a free non-commercial license is
 available, ICC is not fully compatible with GCC, and the list of
 packages that work well with ICC is rather short (though that in
 itself doesn't mean anything other than whoever made the wiki typed a
 short list).
 
 I have not personally tried it.
 

AMD users may wish to confirm that ICC no longer cripples its output for
non-Intel chips:

  http://en.wikipedia.org/wiki/Intel_C%2B%2B_Compiler#Criticism



[gentoo-user] iwl5000 firmware fails to load

2010-09-24 Thread James
Folks,

I am having a fairly strange problem with my iwl5000 and the microcode.

After a fresh install Gentoo install wireless works with no issues.
Upon installing a set that includes xorg, Firefox, hal, VirtualBox,
etc. the wireless ceases to work. Check out a snippet from my dmesg:

~ % dmesg | grep -i iwl
iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d
iwlagn: Copyright(c) 2003-2010 Intel Corporation
iwlagn :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
iwlagn :03:00.0: setting latency timer to 64
iwlagn :03:00.0: Detected Intel(R) WiFi Link 5100 AGN, REV=0x54
iwlagn :03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
iwlagn :03:00.0: request for firmware file 'iwlwifi-5000-2.ucode' failed.
iwlagn :03:00.0: request for firmware file 'iwlwifi-5000-1.ucode' failed.
iwlagn :03:00.0: no suitable firmware found!
iwlagn :03:00.0: PCI INT A disabled

Re-emerging the microcode, wpa_supplicant, wireless-tools, etc.
doesn't seem to do anything. The wireless still doesn't work. These
files *do* exist where they belong (/lib/firmware).

Once I emerge the set (below), a reload then results in the error(s) above.

Google didn't reveal much. Any thoughts / ideas on how to troubleshoot
this would be appreciated.

Thanks!
-james

--8--
full set below

app-cdr/xfburn
app-editors/mousepad
app-emulation/virtualbox-bin
mail-client/mutt
mail-client/thunderbird
net-analyzer/tcpdump
net-analyzer/wireshark
net-im/pidgin
net-news/liferea
x11-plugins/pidgin-musictracker
x11-plugins/pidgin-extprefs
x11-plugins/pidgin-otr
x11-plugins/pidgin-encryption
net-print/xfprint
sys-apps/hal
www-client/firefox
x11-base/xorg-drivers
x11-base/xorg-x11
x11-drivers/xf86-video-intel
x11-terms/xterm
x11-themes/echo-icon-theme
x11-themes/human-icon-theme
x11-themes/iceicons
x11-themes/tangerine-icon-theme
x11-themes/tango-icon-theme
x11-themes/tango-icon-theme-extras
x11-themes/wm-icons
x11-themes/xfce-gant-icon-theme
x11-themes/xfwm4-themes
x11-wm/compiz-fusion
xfce-base/thunar
xfce-base/xfce4-meta
xfce-extra/thunar-archive-plugin
xfce-extra/thunar-thumbnailers
xfce-extra/thunar-volman
xfce-extra/xfce4-battery-plugin
xfce-extra/xfce4-mixer
xfce-extra/xfce4-mount-plugin
xfce-extra/xfce4-power-manager
xfce-extra/xfce4-sensors-plugin
xfce-extra/xfce4-taskmanager
xfce-extra/xfce4-verve-plugin



Re: [gentoo-user] Fire the fox.

2010-09-24 Thread Kevin O'Gorman
On Fri, Sep 24, 2010 at 3:01 PM, Stroller strol...@stellar.eclipse.co.ukwrote:


 On 24 Sep 2010, at 20:15, Bill Longman wrote:
  ...
 
 Uh, what are PGO and ICC??
 
 I also must add that I get decent performance from the fox on
 Ubuntu let alone Vista, which makes me take your suggestion about
 build parameters seriously.
 ICC is the Intel C compiler.
 
  Ahh..   I've heard good things about it, but I'm under the impression
  it is not free (as in beer).  Is that true?
 
  I don't know but I can emerge -q icc

 There is other non-Free software you can install with Portage.

 Just yesterday I was looking at games-fps/ut2003 and games-fps/ut2004 - I
 believe these require the game's installer CDs to work.

 I would imagine that if you were to emerge ICC it would require an
 activation key before it would compile anything, otherwise we'd all be using
 it.

 Stroller.


Wouldn't that be kind of senseless since the source code is distributed?
 Knowing it would not be hard to bypass the activation key, if they wanted
money for it they wouldn't let the source code out, license or no license.

Just my $.02

++ kevin

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Re: X programs as root

2010-09-24 Thread Dale

Nikos Chantziaras wrote:

On 09/23/2010 04:18 AM, Dale wrote:

Nikos Chantziaras wrote:

On 09/22/2010 09:48 PM, Andrey Vul wrote:

When I launch X programs via sudo, I get the following:

$sudo gui-admin
No protocol specified
gui-admin: cannot connect to X server :0

( Assume gui-admin is an X program )

But (gk|kde)su(do)? works. This is somewhat confusing.


sudo doesn't keep the $DISPLAY environment variable by default. There
could be other issues too. Best stick to kdesu and friends; that's
what they are there for.




Well, I noticed after the recent upgrade to 4.5.1 that mine doesn't work
either. It worked before but not now. I'm not sure what changed between
4.4 and 4.5.1 but it broke my konqueror as root and other programs as
well. Still have some I haven't tried tho. Konqueror is the one I need
most. Oh, I can get Dolphin to work tho. The conspiracy theory part in
me is starting to think.

Sure would like to get this working again too.


Again, use kdesu, not sudo.

But if some reason you want sudo, /etc/sudoers has some info:

  ## Run X applications through sudo

Read the comments there and uncomment what suits you.  Did I mention 
that you should use kdesu instead of sudo? :-P





Well, I don't really know what it is using.  I just set up the menu item 
to run the program as root.  I don't know if it uses su -, kdesu, sudo 
or what.  I just know it worked until the upgrade a few days ago.


Since KDE proclaimed this was supposed to be ready for widespread use 
and cut off KDE3, I sure do wish they would make up their mind HOW 
things are going to work.  I would think they need to know that before 
claiming something was ready for widespread use.  Makes me want to go 
back to KDE 3.5.  At least I could get everything I need to work and 
survive a upgrade too.  ;-)


Oh well.  This is the new normal for KDE I guess.  lol

Dale

:-)  :-)



[gentoo-user] Dropbox, cli, and all that

2010-09-24 Thread felix
I have recently discovered Dropbox as an interesting thing to
experiment with, not without its drawbacks, but interesting.

I have it running on a work Mac laptop and an Android phone, and it is
another interesting idea to put it on Linux.  However, its downloads
are for Fedora and Ubuntu, or a source file which requires Nautilus.
Also, I don't want its daemon running constantly, altho that feature
is part of what makes it interesting wth the laptop and phone.

Searches bring up various pages, but nothing really promising, either
old or rather convulated or still using Mautilus.  One involves a
python script which apparently runs the command over and over, each
time creating one more fake lib to make up for the Fedora/Ubunto ones
required.  No thanks ... while an interesting hack, it's not my idea
of a way to the future :-)


So the question is ... does anyone have experience with Dropbox on
gentoo?  My system is ~amd64, running fvwm when necessary, neither KDE
nor Gnome.  I'd really like a command line program which I could run
for manual syncing.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Dropbox, cli, and all that

2010-09-24 Thread Hilco Wijbenga
On 24 September 2010 21:11,  fe...@crowfix.com wrote:
 So the question is ... does anyone have experience with Dropbox on
 gentoo?  My system is ~amd64, running fvwm when necessary, neither KDE
 nor Gnome.  I'd really like a command line program which I could run
 for manual syncing.

I'm using nautilus-dropbox. It's working fine, not the slightest
problem. I rarely use Nautilus, though. All access is through the CLI.

If you don't want the daemon running all the time then don't start it
automatically. You can use dropbox start and dropbox stop to
start/stop the daemon whenever you want to.



Re: [gentoo-user] Dropbox, cli, and all that

2010-09-24 Thread felix
On Fri, Sep 24, 2010 at 09:43:11PM -0700, Hilco Wijbenga wrote:

 I'm using nautilus-dropbox. It's working fine, not the slightest
 problem. I rarely use Nautilus, though. All access is through the CLI.
 
 If you don't want the daemon running all the time then don't start it
 automatically. You can use dropbox start and dropbox stop to
 start/stop the daemon whenever you want to.

But it requires Nautlis ... did you compile from source, or install
the Ubuntu or Fedora package?  I tried building the source, and it
complained

No package 'libnautilus-extension' found

Emerge tells me I need 18 packages to install Nautilus.  I don't have
Gnome or KDE installed and I don't want them; I'm not philosopically
opposed to them, but I got tired of all the regular emerge problems
being added to for something I never use.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Dropbox, cli, and all that

2010-09-24 Thread Hilco Wijbenga
On 24 September 2010 21:58,  fe...@crowfix.com wrote:
 On Fri, Sep 24, 2010 at 09:43:11PM -0700, Hilco Wijbenga wrote:
 I'm using nautilus-dropbox. It's working fine, not the slightest
 problem. I rarely use Nautilus, though. All access is through the CLI.

 If you don't want the daemon running all the time then don't start it
 automatically. You can use dropbox start and dropbox stop to
 start/stop the daemon whenever you want to.

 But it requires Nautlis ... did you compile from source, or install
 the Ubuntu or Fedora package?  I tried building the source, and it
 complained

    No package 'libnautilus-extension' found

 Emerge tells me I need 18 packages to install Nautilus.  I don't have
 Gnome or KDE installed and I don't want them; I'm not philosopically
 opposed to them, but I got tired of all the regular emerge problems
 being added to for something I never use.

I don't really remember but I have nautilus-dropbox installed so I
suppose I used that. I also use KDE and apparently some Gnome stuff so
it was not such a big deal for me. It didn't want to install Mono
which is where I draw the line. :-)

I do understand your reluctance to install lots of packages you don't
really need but I'm afraid I can't help you there. Perhaps you can see
if it's possible to just install libnautilus-extension? As far as I
can tell, things work fine from the CLI. There does not appear to be
any real dependency on Nautilus.