Re: [gentoo-user] Double nautilus windows for each USB flash drive plugged in

2009-10-05 Thread Alan E. Davis
With Flash drive partitions labeled, the mounting is consistent.  I have a
git bare repo directory, on each of two flash drives to keep certain
directories in sync on three machines.  The repos are found consistently by
git this method.  I don't remember any specific method I used to get this
mounting behavior into place, but I have had to specifically set GID for my
user account on each machine to keep permissions in line.

By the way, when I reformatted a drive, I just used the same label, which
seemed to work fine.  I wonder though whether this system might be defeated
by convolutions of various kinds outside my control at a future time.

Alan

On Sun, Oct 4, 2009 at 5:24 AM, Stroller strol...@stellar.eclipse.co.ukwrote:


 On 3 Oct 2009, at 20:11, daid kahl wrote:

 ...

 Another useful notion is to use udev to automount flash drives (or
 external usb harddrives)  to a specified location based on serial number.
 ... I can either give an overview or dig up the url if anyone likes.


 I'd have assumed you simple used any of the usual automount drives with
 udev guides. Am I wrong?

 This is the way I have always intended to approach this problem, so I'd
 be grateful to be corrected in advance if there's a better way.


 That's correct, except not all of these guides discuss the drive serial
 number.  If you want to ensure that different drives are mounted at
 different points, you have to rely on the device serial (since the /dev
 nodes are filled in order of the device connection, regardless of which
 drive it is).

 There are plenty of guides that mention how to find the serial number and
 how to write the correct udev rules, but most the guides are outdated and
 suggest use of the symlink udevinfo, which was removed upstream recently.
  So, to get a device's serial number, for example (replace /dev/sdb with the
 correct node) :

 # udevadm info -a -p $(udevadm info -q path -n /dev/sdb) | grep
 ATTRS{serial}

 and use the (first) serial that doesn't have colons and periods.  Then for
 the udev rule you just need to include ATTRS{serial}== 00

 This is also useful when you have external harddrives that use ext3
 formatting and flashdrives that don't.


 Ops... I omitted a paste - I went to a terminal to check the details
 and then appear to have completely forgotten to include them. Thus my
 question is misphrased  incomplete.

 I intended to ask:

   I'd have assumed you simple used any of the usual automount drives with
 udev guides, but based their entry in /dev/disk/by-uuid/. Am I wrong?

 How do you find the serial, please? I'm guessing from `dmesg`?

 I think the entry in /dev/disk/by-uuid/ may change if you reformat the
 drive, so your response is most helpful.

 Thank you for your help,

 Stroller.





Re: [gentoo-user] Is there an Apache configuration guide for gentoo?

2009-10-05 Thread David Juhl
I gave up on apache.  I'm positive the permissions are right, and
coughed it up to not understanding the config files.  I use nginx now.

http://djuhl.homedns.org:8181/files/snapshots/Screenshot.jpg


http://wiki.nginx.org/Main

Dave

On Sun, 2009-10-04 at 08:56 +0200, Dirk Heinrichs wrote:
 Am Sonntag 04 Oktober 2009 08:28:16 schrieb David Juhl:
 
  so if it is read only why can't I read?
  You don't have permission to access /~david16/ on this server
 
 Does the user that runs the server process have permissions to read from tha 
 directory?
 
 Bye...
 
   Dirk
 




[gentoo-user] Problem with KDESU not accepting root password

2009-10-05 Thread Massimiliano Ziccardi
Hi All!! Long time since last time I bothered you all! ;-)

I googled around and found many people having my same problem, but could not
find any solution.

Sudo works just great on my machine, while kdesu always says 'Bad password'.

Have you any idea about what I can check to fix such issue?

Thanks a lot,
Massimiliano


Re: [gentoo-user] Problem with KDESU not accepting root password

2009-10-05 Thread Volker Armin Hemmann
On Montag 05 Oktober 2009, Massimiliano Ziccardi wrote:
 Hi All!! Long time since last time I bothered you all! ;-)
 
 I googled around and found many people having my same problem, but could
  not find any solution.
 
 Sudo works just great on my machine, while kdesu always says 'Bad
  password'.
 
 Have you any idea about what I can check to fix such issue?
 
 Thanks a lot,
 Massimiliano
 

and your user is in group wheel? 



Re: [gentoo-user] Problem with KDESU not accepting root password

2009-10-05 Thread Massimiliano Ziccardi
Hmmm. No, I wasn't.

Now it works. Thank you very much! Very prompt answer/solution!

Probably it's my ignorance, but, my kdesu is configured to use sudo.
Why did sudo work while kdesu didn't ?

Thanks,
Massimiliano

On Mon, Oct 5, 2009 at 12:03 PM, Volker Armin Hemmann 
volkerar...@googlemail.com wrote:

 On Montag 05 Oktober 2009, Massimiliano Ziccardi wrote:
  Hi All!! Long time since last time I bothered you all! ;-)
 
  I googled around and found many people having my same problem, but could
   not find any solution.
 
  Sudo works just great on my machine, while kdesu always says 'Bad
   password'.
 
  Have you any idea about what I can check to fix such issue?
 
  Thanks a lot,
  Massimiliano
 

 and your user is in group wheel?




Re: [gentoo-user] cannot setup acpi

2009-10-05 Thread pat
On Sat, 3 Oct 2009 23:40:01 +0900, daid kahl wrote
 I'm trying to setup acpi, but I cannot get it work 
 
 Hello,
 
 I didn't set up acpi for power save yet, but I did do it for getting my 
 laptop to go to sleep on lid close, and it was really easy. Since I imagine 
 this might be a function you also want (and I got it working really easily), 
 you might try your hand at this first to be sure acpi events are generally 
 working.
 
 If others had given some more knowledgeable and specific reply, I'd omit 
 comment, since my response is somewhat peripheral. But at least this might be 
 somewhere to start.
 
 I attach my log file for setting up sleep (I omitted what kernel 
 configurations I set, so if you need me to try and figure that out, let me 
 know, since I should have included it in my own log file). I think this 
 requires at least kernel 2.6.27.
 
 ~daid

Thanks, but problem is the events are not fired and I'm afraid I've did 
somethink wrong during kernel configuration - missing something :-(

Thnaks for your time.

 Pat

 


---
Modern Hosting PIPNI - http://www.pipni.cz/

[gentoo-user] debug and regular library

2009-10-05 Thread Krzysztof Poc
HelloI would like to install the debugged version of glibc. Compiled withsymbols and minimal optimization. I don't want it to be the default libc in mysystem. I want to link it only with some programs.I'm familiar with the following document:http://www.gentoo.org/proj/en/qa/backtraces.xml?style=printableHow can I solve my problem.Great thanks for help.10 minut do cennych nagród, wykorzystaj szansę!Kliknij:http://klik.wp.pl/?adr=http://corto.www.wp.pl/as/pentagon_serwery.html=877





Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-05 Thread Stroller


On 5 Oct 2009, at 02:44, Jesús Guerrero wrote:
On Mon, 5 Oct 2009 10:31:53 +0900, daid kahl daid...@gmail.com  
wrote:

...
I was getting some Japanese-bought DVDs ... to rebuild kaffeine (or  
mplayer, etc)


Nope. What you have to do is to set up the correct use flags for  
xine-lib

(dvd).


I think the css USE flag may also be required, at least by some  
packages.


Stroller.




Re: [gentoo-user] Double nautilus windows for each USB flash drive plugged in

2009-10-05 Thread Stroller

Sorry, Alan.

The comments before yours were bottom-posted.

I'm afraid under these circumstances I can't find your top-posted  
comments pertinent.


I simply can't make any sense of them.

Your mailer also used HTML.

If you wish to make postings of this kind then I would be grateful if  
you could place me on your ignore list, and not make such replies to  
my messages.


Stroller.



On 5 Oct 2009, at 09:02, Alan E. Davis wrote:

With Flash drive partitions labeled, the mounting is consistent.  I  
have a git bare repo directory, on each of two flash drives to keep  
certain directories in sync on three machines.  The repos are found  
consistently by git this method.  I don't remember any specific  
method I used to get this mounting behavior into place, but I have  
had to specifically set GID for my user account on each machine to  
keep permissions in line.


By the way, when I reformatted a drive, I just used the same label,  
which seemed to work fine.  I wonder though whether this system  
might be defeated by convolutions of various kinds outside my  
control at a future time.


Alan

On Sun, Oct 4, 2009 at 5:24 AM, Stroller strol...@stellar.eclipse.co.uk 
 wrote:


On 3 Oct 2009, at 20:11, daid kahl wrote:
...
Another useful notion is to use udev to automount flash drives (or  
external usb harddrives)  to a specified location based on serial  
number. ... I can either give an overview or dig up the url if  
anyone likes.


I'd have assumed you simple used any of the usual automount drives  
with udev guides. Am I wrong?


This is the way I have always intended to approach this problem, so  
I'd be grateful to be corrected in advance if there's a better way.


That's correct, except not all of these guides discuss the drive  
serial number.  If you want to ensure that different drives are  
mounted at different points, you have to rely on the device serial  
(since the /dev nodes are filled in order of the device connection,  
regardless of which drive it is).


There are plenty of guides that mention how to find the serial  
number and how to write the correct udev rules, but most the guides  
are outdated and suggest use of the symlink udevinfo, which was  
removed upstream recently.  So, to get a device's serial number, for  
example (replace /dev/sdb with the correct node) :


# udevadm info -a -p $(udevadm info -q path -n /dev/sdb) | grep  
ATTRS{serial}


and use the (first) serial that doesn't have colons and periods.   
Then for the udev rule you just need to include ATTRS{serial}==  
00


This is also useful when you have external harddrives that use ext3  
formatting and flashdrives that don't.


Ops... I omitted a paste - I went to a terminal to check the  
details and then appear to have completely forgotten to include  
them. Thus my question is misphrased  incomplete.


I intended to ask:

  I'd have assumed you simple used any of the usual automount  
drives with udev guides, but based their entry in /dev/disk/by- 
uuid/. Am I wrong?


How do you find the serial, please? I'm guessing from `dmesg`?

I think the entry in /dev/disk/by-uuid/ may change if you reformat  
the drive, so your response is most helpful.


Thank you for your help,

Stroller.







Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-05 Thread Jesús Guerrero
On Mon, 5 Oct 2009 15:00:46 +0100, Stroller
strol...@stellar.eclipse.co.uk wrote:
 On 5 Oct 2009, at 02:44, Jesús Guerrero wrote:
 On Mon, 5 Oct 2009 10:31:53 +0900, daid kahl daid...@gmail.com  
 wrote:
 ...
 I was getting some Japanese-bought DVDs ... to rebuild kaffeine (or  
 mplayer, etc)

 Nope. What you have to do is to set up the correct use flags for  
 xine-lib
 (dvd).
 
 I think the css USE flag may also be required, at least by some  
 packages.

For each package it might be different (which  can be confusing) but for
xine-lib, it's the dvd use flag which controls this, and trigger the
dependency of xine-libs upon libdvdcss. You just need to look into the
ebuild to see it:

$ grep dvd /var/portage/media-libs/xine-lib/xine-lib-1.1.16.3-r1.ebuild 
IUSE=-aalib -libcaca -arts esd win32codecs nls +dvd +X directfb +vorbis
+alsa
dvd? ( =media-libs/libdvdcss-1.2.7 )



-- 
Jesús Guerrero



Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-05 Thread Stroller


On 5 Oct 2009, at 15:18, Jesús Guerrero wrote:


On Mon, 5 Oct 2009 15:00:46 +0100, Stroller
strol...@stellar.eclipse.co.uk wrote:

On 5 Oct 2009, at 02:44, Jesús Guerrero wrote:

On Mon, 5 Oct 2009 10:31:53 +0900, daid kahl daid...@gmail.com
wrote:

...
I was getting some Japanese-bought DVDs ... to rebuild kaffeine (or
mplayer, etc)


Nope. What you have to do is to set up the correct use flags for
xine-lib
(dvd).


I think the css USE flag may also be required, at least by some
packages.


For each package it might be different (which  can be confusing) but  
for

xine-lib, it's the dvd use flag which controls this, and trigger the
dependency of xine-libs upon libdvdcss. You just need to look into the
ebuild to see it:

$ grep dvd /var/portage/media-libs/xine-lib/xine-lib-1.1.16.3- 
r1.ebuild
IUSE=-aalib -libcaca -arts esd win32codecs nls +dvd +X directfb  
+vorbis

+alsa
   dvd? ( =media-libs/libdvdcss-1.2.7 )


I didn't mean in any way to debate your statement about xine-lib -  
just to add that css may be required for some _other_ packages.


It transpires that the only packages I seem to have on my systems  
using the css USE flag are rippers (undvd  k3b), so I apologise for  
my mistake.


I actually find this a little surprising. I might have thought that  
the devs might have separated the decryption and playback components:  
one could imagine it being legal to play back a region 0 DVD in some  
territories, but not to install or operate encryption circumvention  
software.


Stroller.




[gentoo-user] stable xorg-server seems to require testing libXfont

2009-10-05 Thread Allan Gottlieb
Xorg-server-1.6.3.901-r2 is now stable on x86.
I see the following in the ebuild

RDEPEND=hal? ( sys-apps/hal )
tslib? ( =x11-libs/tslib-1.0 x11-proto/xcalibrateproto )
dev-libs/openssl
=x11-libs/libXfont-1.4.0

I believe this says that libXfont = 1.4.0 must be present.
But eix -e libXfont reports

[I] x11-libs/libXfont
 Available versions:  1.3.1-r1 1.3.4 ~1.4.0 {debug ipv6}
 Installed versions:  1.3.4(09:46:47 10/05/09)(ipv6 -debug)
 Homepage:http://xorg.freedesktop.org/
 Description: X.Org Xfont library

which asserts that no version =1.4.0 is stable.

I have resynced since I first noticed this and it is still the case.
Naturally this prevents my emerge ... world
from completing.

I can certainly add libXfont to /etc/portage/package.keywords, but I
find it strange that a stable package (xorg-server) requires a testing
version of another package (libXfont).

Advice on how to proceed would be appreciated.

thanks,
allan



Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-05 Thread Jesús Guerrero
On Mon, 5 Oct 2009 15:42:22 +0100, Stroller
strol...@stellar.eclipse.co.uk wrote:
 On 5 Oct 2009, at 15:18, Jesús Guerrero wrote:
 
 I actually find this a little surprising. I might have thought that  
 the devs might have separated the decryption and playback components:  
 one could imagine it being legal to play back a region 0 DVD in some  
 territories, but not to install or operate encryption circumvention  
 software.

Yes, I agree, USE flags are a bit fuzzy. Even if legality wasn't a
problem, still it's not accurate to use such a name for an use flag that
adds support for decryption. It's even funnier when you realize that you
don't even need to enable it to play all the dvd's (only encrypted ones).
In such cases, the best thing is to fill an enhancement bug and hope for
the best. I might do that later if I manager to remember it.
-- 
Jesús Guerrero



Re: [gentoo-user] stable xorg-server seems to require testing libXfont

2009-10-05 Thread Fab
On Mon, 05 Oct 2009 11:06:43 -0400
Allan Gottlieb wrote:
 I can certainly add libXfont to /etc/portage/package.keywords, but I
 find it strange that a stable package (xorg-server) requires a testing
 version of another package (libXfont).
 
 Advice on how to proceed would be appreciated.
 


The stabilization process is not over for x86, and you synchronized
your tree in the middle of the process. See the stabilization list in
bug #282290. You should wait a few hours until next sync, and use
package.keywords in the meanwhile for missing stable packages.

[1] http://bugs.gentoo.org/282290



Re: [gentoo-user] stable xorg-server seems to require testing libXfont

2009-10-05 Thread Allan Gottlieb
At Mon, 05 Oct 2009 17:34:07 +0200 Fab net...@gmail.com wrote:

 On Mon, 05 Oct 2009 11:06:43 -0400
 Allan Gottlieb wrote:
 I can certainly add libXfont to /etc/portage/package.keywords, but I
 find it strange that a stable package (xorg-server) requires a testing
 version of another package (libXfont).
 
 Advice on how to proceed would be appreciated.
 


 The stabilization process is not over for x86, and you synchronized
 your tree in the middle of the process. See the stabilization list in
 bug #282290. You should wait a few hours until next sync, and use
 package.keywords in the meanwhile for missing stable packages.

Thank you, that explains it.  I will wait.
allan



Re: [gentoo-user] stable xorg-server seems to require testing libXfont

2009-10-05 Thread Justin
Allan Gottlieb schrieb:
 At Mon, 05 Oct 2009 17:34:07 +0200 Fab net...@gmail.com wrote:
 
 On Mon, 05 Oct 2009 11:06:43 -0400
 Allan Gottlieb wrote:
 I can certainly add libXfont to /etc/portage/package.keywords, but I
 find it strange that a stable package (xorg-server) requires a testing
 version of another package (libXfont).

 Advice on how to proceed would be appreciated.


 The stabilization process is not over for x86, and you synchronized
 your tree in the middle of the process. See the stabilization list in
 bug #282290. You should wait a few hours until next sync, and use
 package.keywords in the meanwhile for missing stable packages.
 
 Thank you, that explains it.  I will wait.
 allan
 

We all should give a big props to Christian Faulhammer, who is commiting
like hell since hours!!



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Problem with KDESU not accepting root password

2009-10-05 Thread Volker Armin Hemmann
On Montag 05 Oktober 2009, Massimiliano Ziccardi wrote:
 Hmmm. No, I wasn't.
 
 Now it works. Thank you very much! Very prompt answer/solution!
 
 Probably it's my ignorance, but, my kdesu is configured to use sudo.
 Why did sudo work while kdesu didn't ?

I don't know. Never used sudo. I do not trust it.



[gentoo-user] Guesstimates of KDE4 going stable?

2009-10-05 Thread James
Hello everyone,


I have some planning to do. I like KDE4, but I will not
upgrade any more systems (from kde 3) nor install any new systems
until KDE4 goes stable. I have 4 already and the issues are
too time consuming for my needs.

Any guesses as to when that will happen (KDE 4 going stable)
with Gentoo ebuilds so I can plan some new 
installations for my friends are greatly appreciated.


tia,
James




Re: [gentoo-user] stable xorg-server seems to require testing libXfont

2009-10-05 Thread Allan Gottlieb
At Mon, 05 Oct 2009 17:46:07 +0200 Justin jus...@j-schmitz.net wrote:

 Allan Gottlieb schrieb:
 At Mon, 05 Oct 2009 17:34:07 +0200 Fab net...@gmail.com wrote:
 
 On Mon, 05 Oct 2009 11:06:43 -0400
 Allan Gottlieb wrote:
 I can certainly add libXfont to /etc/portage/package.keywords, but I
 find it strange that a stable package (xorg-server) requires a testing
 version of another package (libXfont).

 Advice on how to proceed would be appreciated.

 The stabilization process is not over for x86, and you synchronized
 your tree in the middle of the process. See the stabilization list in
 bug #282290. You should wait a few hours until next sync, and use
 package.keywords in the meanwhile for missing stable packages.
 
 Thank you, that explains it.  I will wait.

 We all should give a big props to Christian Faulhammer, who is commiting
 like hell since hours!!

Indeed.  I saw the list in bug #282290; it is impressive.
allan



Re: [gentoo-user] Re: preferred editor

2009-10-05 Thread Daniel da Veiga
2009/10/4 Jesús Guerrero i92gu...@terra.es:
 On Sun, 4 Oct 2009 01:22:47 + (UTC), Grant Edwards
 grant.b.edwa...@gmail.com wrote:
 On 2009-10-03, Stroller strol...@stellar.eclipse.co.uk wrote:

 On 2 Oct 2009, at 17:16, Grant Edwards wrote:
 ...
 I don't like nano much either -- I find it rather clumsy, but
 at least it seems to be safe.  It doesn't trash my file every
 30 seconds when I start typing content while in command mode.
 Honestly -- I've used vi infrequently but regularly (probably
 several times a month) for decades, and my brain just doesn't
 work the way vi does.

 What editor do you prefer, then?

 I'm an emacs guy.  I've been using emacs (or various clones
 such as jove and jed) for 25 years now.

 IIRC when I was at uni (c 2000) one of the TA's suggested Joe
 as an alternative to the traditional Unix editors. I have been
 making a little effort in the last year or two to come to
 grips with vi or vim, and am starting to prefer it, but ISTM
 that the problem with traditional Unix editors (i.e. vi 
 emacs) is that they depend upon learning obscure keyboard
 shortcuts.

 I don't have any problem learning keystrokes.  I do have
 problems with vi's modality.

 That's just one of the things I dislike about vi and all the vi clones out
 there. To me it is like the difference between edit to live and live to
 edit. It's a good editor and I respect people who like and use vi, but I
 refuse to use it unless there's absolutely no other option.


I've been using vi (or vim, where available) for a few years, and I
really like some of the features. What I like most is the double mode
(command and edit). I find it really easy to use and saves me a lot of
time. But I'm pretty sure that's just because I didn't bother learning
any other editor (like emacs), and vi can be found at almost ALL linux
distros I've come across in the last few years...

It's a matter of taste. Some may argue about that (completely
pointless), and that just proves that's useless. You like it, you use
it, advocate it, but never impose it.

-- 
Daniel da Veiga



[gentoo-user] Re: Guesstimates of KDE4 going stable?

2009-10-05 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

James wrote:
 Any guesses as to when that will happen (KDE 4 going stable)
 with Gentoo ebuilds so I can plan some new 
 installations for my friends are greatly appreciated.

The stabilization bug was filed earlier today as bug 287697 [1].  This
is an indication that the KDE team feels that KDE 4 is ready to be
stabilized, and is a request for the various arch teams to proceed with
stabilization.  In order for the stabilization to continue, however,
there are a few other packages that need to be stabilized first.  These
are listed in the bugs listed as blocking bug 287697.

So, to answer your question, Real Soon Now™.  I expect it will be
stabilized on x86 and amd64 fairly quickly, with other arches to follow.

[1] https://bugs.gentoo.org/287697

- --
Jonathan
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrKbAEACgkQOypDUo0oQOqzTgCgtFJvfHUSXQepUwPh35nPQIM5
WmIAn2G3tAJpOg5vKTcU3ET5ahbNzqqG
=gf4l
-END PGP SIGNATURE-



Re: [gentoo-user] Double nautilus windows for each USB flash drive plugged in

2009-10-05 Thread daid kahl
 I simply can't make any sense of them.
 Your mailer also used HTML.
 If you wish to make postings of this kind then I would be grateful if
 you could place me on your ignore list, and not make such replies to my
 messages.

Sorry.  This should be regular text now.

 How do you find the serial, please? I'm guessing from `dmesg`?

Just a re-post on how to find the serial on a usb drive, where the USB
device in question is at node /dev/sdb :

# udevadm info -a -p $(udevadm info -q path -n /dev/sdb) | grep ATTRS{serial}

You might get more than one return on this command.  Us the first
serial, and it is also the one without colons or periods, just numbers
and letters.

Then for the udev rule you just need to include ATTRS{serial}== 00

Regards,
daid



Re: [gentoo-user] Re: preferred editor

2009-10-05 Thread Leslie Turriff
On Sat, Oct 3, 2009 at 5:28 AM, Stroller strol...@stellar.eclipse.co.ukwrote:


 IIRC when I was at uni (c 2000) one of the TA's suggested Joe as an
 alternative to the traditional Unix editors. I have been making a little
 effort in the last year or two to come to grips with vi or vim, and am
 starting to prefer it, but ISTM that the problem with traditional Unix
 editors (i.e. vi  emacs) is that they depend upon learning obscure keyboard
 shortcuts. ISTM the problem with pcio / nano is that advanced users find it
 too simplistic.

 Stroller.

 I encourage anyone who, like me, struggles with those arcane and
nonintuitive keyboard codes to take a look at Blair Thompson's X2
Programmer's Editor http://www.tangbu.com/x2main.shtml, which, while it
does come configured with a plethora of such codes, allows them to be
redefined via a simple configuration file.  It has easily remembered
sequences for the most usual operations (mark line, mark block, move, copy)
and powerful command-mode commands which are not cluttered with the usual
escape sequence requirements.

Give it a try.

Leslie


Re: [gentoo-user] Bootup drops back to console from kdm

2009-10-05 Thread Kyle Bader
Output from rc-update show ?

On 10/4/09, Mick michaelkintz...@gmail.com wrote:
 It must be a year or so now with all different kernels.  On boot up kdm
 fires
 up, but within 5 seconds or so and while the use is busy entering their
 passwd on the kdm screen, it suddenly returns to the console.  Alt+F7 brings
 them back to their kdm, but this behaviour is clearly wrong.  I suspect that
 this is caused by dhcpcd getting an IP address, or vixie cron (the last two
 things shown on the console when the user gets dumped back on it) but I
 can't
 understand why these two services will cause such a problem on this machine,
 when other machines with the same services work fine.

 Any ideas on how to troubleshoot this one?  I can't see anything amiss on
 dmesg, or messages/syslog.
 --
 Regards,
 Mick


-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] Xorg upgrade problem

2009-10-05 Thread David Relson
On Sun, 4 Oct 2009 18:43:07 +0200
Volker Armin Hemmann wrote:

...[snip]...

 (EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version 
 mismatch.
 [dri] radeon kernel module version is 8.55.2 but version 1.17.0 or
 newer is needed.
 [dri] Disabling DRI.
 
 
 sweet. You once upon a time installed the ati-driver package - maybe
 without using portage. And that is still hurting you. Step one:
 remove it. Step two: remove all related orphaned files.

True.  I definitely had the ati-driver package.  It was installed with
portage and removed with portage.


 and a bit down:
 (II) RADEON(0): I2C device VGA-0:ddc2 registered at address 0xA0.
 (II) RADEON(0): I2C device VGA-0:ddc2 removed.
 (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0
 
 (II) RADEON(0): I2C device VGA-0:E-EDID segment register registered
 at address 0x60.
 (II) RADEON(0): I2C device VGA-0:ddc2 registered at address 0xA0.
 Dac detection success
 (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 1
 
 
 you see the difference?

I see it, but don't understand it ...

 (II) RADEON(0): I2C device DVI-0:ddc2 registered at address 0xA0.
 (II) RADEON(0): I2C device DVI-0:ddc2 removed.
 (II) RADEON(0): Output: DVI-0, Detected Monitor Type: 0
 invalid output device for dac detection
 finished output detect: 2
 finished all detect
 
 I) RADEON(0): I2C device DVI-0:E-EDID segment register registered
 at address 0x60.
 (II) RADEON(0): I2C device DVI-0:ddc2 registered at address 0xA0.
 (II) RADEON(0): Output: DVI-0, Detected Monitor Type: 0
 finished output detect: 2
 finished all detect
 
 and more of that 1.6.3.901 and 1.5.3 detect different monitors
 attached it seems.

Interesting that they think there are different monitors.  The only
monitor I've had for the past 5 years is a Viewsonic PF790.  It is
connected via a KVM, but that hasn't changed for 10 years...

 
 And both complain about missing monitor sections.
 
 how about setting up a nice xorg.conf?

Define nice :-  

It is often said that with the new X11 it is no longer necessarey to
have xorg.conf.  Experience indicates that isn't quite true.  My
present xorg.conf is pretty small and has neither video nor monitor
information (see the end of this message).  I can always add the
monitor section from my last working full featured xorg.conf.  As it
happens, I logged out yesterday and logged back in and now have the
higher resolution I wanted.  'Tis all very peculiar.

Regards,

David

 begin /etc/X11/xorg.con 

Section ServerFlags
Option  AllowMouseOpenFail true
EndSection

Section Files
FontPath /usr/share/fonts/util
FontPath /usr/share/fonts/encodings
FontPath /usr/share/fonts/misc
FontPath /usr/share/fonts/corefonts
FontPath /usr/local/share/fonts
FontPath /usr/share/fonts/default
FontPath /usr/share/fonts/Type1
FontPath /usr/share/fonts/100dpi
FontPath /usr/share/fonts/75dpi
EndSection

 end /etc/X11/xorg.con 



[gentoo-user] Any good documentation out there? Anyone use NGINX?

2009-10-05 Thread David Juhl
I am trying to find away to access files securely from my home computer.
The network I am on is really strict on email attachments and no usb
drives are allowed, so I possibly thought of a website that uses ssl and
a password to access the files.  I really don't know where to begin.
Since the files have personal information in them, I need to make sure
no one can ease drop.  I have a Linux machine at home, and the computers
at work run Windows.  There is really no hope in installing additional
software on the computers at work.  Hell I haven't even had time to ask
anyone if accessing my computer via the web would be a problem.  I have
a domain name from dyndns.org. I can only use a CD-R which gets
cumbersome at times... Sometimes I only need to bring in work I did that
is less than 10M, and what a real waste of a CD-R. I rather just go to
the files and do what I need.

Any thoughts are appreciated...


-- 
David L. Juhl




[gentoo-user] Re: Xorg upgrade problem

2009-10-05 Thread walt

On 10/05/2009 05:30 PM, David Relson wrote:


...As it
happens, I logged out yesterday and logged back in and now have the
higher resolution I wanted.  'Tis all very peculiar.


(Doing my part to lower the signal-to-noise ratio ;o)

I've noticed in the past month or three that when I reboot the machine
or even just restart X for some reason, very rarely the the X server
starts with the wrong screen resolution(!).

All I need to do to fix the resolution problem is to log out of the X
session and restart X.

At this point I am firmly convinced that sunspots and/or cosmic rays
are flipping random bits in my machine's memory.  Although there are
no other random flakey events that would suggest hardware failure.

I'm mystified -- but at least the workaround is trivial, and the box
is rock solid until the next time it happens.




Re: [gentoo-user] Is there an Apache configuration guide for gentoo?

2009-10-05 Thread Keith Dart
=== On Mon, 10/05, David Juhl wrote: ===
 I gave up on apache.  I'm positive the permissions are right, and
 coughed it up to not understanding the config files.  I use nginx now.

===

I use lighttpd and don't have any problems with it. Its configuration
is a bit obtuse, however, so i have had to wrap wrapper scripts to
configure it. 



-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



Re: [gentoo-user] Is there an Apache configuration guide for gentoo?

2009-10-05 Thread David Juhl
I found nginx  But the documentation on it is a little hard to
understand.  I tried to follow some examples...  I got it working...
I'll need to play with it some more..


-- 
David L. Juhl




Re: [gentoo-user] Any good documentation out there? Anyone use NGINX?

2009-10-05 Thread Kyle Bader
Apache2, mod_ssl, self signed certificate, htaccess/htpassword via
digest. Done deal :)

On 10/5/09, David Juhl commo_p...@yahoo.com wrote:
 I am trying to find away to access files securely from my home computer.
 The network I am on is really strict on email attachments and no usb
 drives are allowed, so I possibly thought of a website that uses ssl and
 a password to access the files.  I really don't know where to begin.
 Since the files have personal information in them, I need to make sure
 no one can ease drop.  I have a Linux machine at home, and the computers
 at work run Windows.  There is really no hope in installing additional
 software on the computers at work.  Hell I haven't even had time to ask
 anyone if accessing my computer via the web would be a problem.  I have
 a domain name from dyndns.org. I can only use a CD-R which gets
 cumbersome at times... Sometimes I only need to bring in work I did that
 is less than 10M, and what a real waste of a CD-R. I rather just go to
 the files and do what I need.

 Any thoughts are appreciated...


 --
 David L. Juhl




-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] Any good documentation out there? Anyone use NGINX?

2009-10-05 Thread Keith Dart
=== On Mon, 10/05, David Juhl wrote: ===
 Any thoughts are appreciated...
===

Find another job?


-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



Re: [gentoo-user] Double nautilus windows for each USB flash drive plugged in

2009-10-05 Thread Stroller


On 5 Oct 2009, at 23:52, daid kahl wrote:


I simply can't make any sense of them.
Your mailer also used HTML.
If you wish to make postings of this kind then I would be grateful if
you could place me on your ignore list, and not make such replies  
to my

messages.


Sorry.  This should be regular text now.


Not you. It was the top-posting when the thread was already so  
consistently bottom-posted that wound me up. And that wasn't you, but  
another poster. Unfortunately, the HTML made it difficult to correct  
this, which did piss me off further.



How do you find the serial, please? I'm guessing from `dmesg`?


Just a re-post on how to find the serial on a usb drive, where the USB
device in question is at node /dev/sdb :

# udevadm info -a -p $(udevadm info -q path -n /dev/sdb) | grep ATTRS 
{serial}


I'm really sorry. You said this before, and I didn't read it properly.  
Thanks for posting.


Stroller.




Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-05 Thread daid kahl
 I was getting some Japanese-bought DVDs ... to rebuild kaffeine (or
 mplayer, etc)

 Nope. What you have to do is to set up the correct use flags for xine-lib
 (dvd).

 I think the css USE flag may also be required, at least by some packages.


Well, dvd and xine are both in my world file.  I tried adding css, but
there was nothing to rebuild (only about 8 packages USE css).

Maybe the question I should be asking is why libdvdcss wasn't pulled
in when I had the dvd USE flag turned on globally (since forever).

Regards,
daid



Re: [gentoo-user] Portage should rebuild kaffeine after libdvdcss installed?

2009-10-05 Thread daid kahl
2009/10/5 Jesús Guerrero i92gu...@terra.es:
 On Mon, 5 Oct 2009 15:42:22 +0100, Stroller
 strol...@stellar.eclipse.co.uk wrote:
 On 5 Oct 2009, at 15:18, Jesús Guerrero wrote:

 I actually find this a little surprising. I might have thought that
 the devs might have separated the decryption and playback components:
 one could imagine it being legal to play back a region 0 DVD in some
 territories, but not to install or operate encryption circumvention
 software.

 Yes, I agree, USE flags are a bit fuzzy. Even if legality wasn't a
 problem, still it's not accurate to use such a name for an use flag that
 adds support for decryption. It's even funnier when you realize that you
 don't even need to enable it to play all the dvd's (only encrypted ones).
 In such cases, the best thing is to fill an enhancement bug and hope for
 the best. I might do that later if I manager to remember it.

Yeah, I'm agreeing about this notion.  Particularly with the legality
issues, there might be some desire to separate watching unencrypted
DVDs from encryption.

I suppose if the enhancement bug is filed, a suggested name for the
new USE flag is something like dvd-crypto.

Regards,
daid