Re: [gentoo-user] glibc update

2009-03-20 Thread Alan McKinnon
On Friday 20 March 2009 03:52:10 Jorge Morais wrote:
 This was a doubt of mine. One of the reasons I prefer to use a stable
 kernel is that I don't know if, when using a newer (and ~x86) kernel,
 I should also use the corresponding linux-headers version. So you say
 I can be 99.999% sure that, should I update my kernel (say, to 2.6.28)
 and meet problems, those will be intrinsic to this kernel version
 (and possibly to incompatibilities with things like out-of-tree
 kernel modules), but never because the kernel headers are outdated?

Yes

 IOW, the only real problem of using outdated kernel headers is not
 fully taking advantage of new features?

Yes

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: glibc update

2009-03-20 Thread Nikos Chantziaras

Alan McKinnon wrote:

IOW, the only real problem of using outdated kernel headers is not
fully taking advantage of new features?


Yes


I did encounter strange bugs (programs not starting) until I updated the 
kernel headers, so instead of yes I'd say no.





[gentoo-user] Konqueror crash on Red Hat site

2009-03-20 Thread Nikos Chantziaras

Trying to navigate this:

http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Cluster_Logical_Volume_Manager/index.html

crashes konqueror-4.2.1-r1.

Can anyone confirm?  Please click a few links in the table of contents.




Re: [gentoo-user] Konqueror crash on Red Hat site

2009-03-20 Thread Alan McKinnon
On Friday 20 March 2009 10:54:13 Nikos Chantziaras wrote:
 Trying to navigate this:

 http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Cluster_Lo
gical_Volume_Manager/index.html

 crashes konqueror-4.2.1-r1.

 Can anyone confirm?  Please click a few links in the table of contents.

Confirmed.

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] udev rule question and SonyEricsson K810

2009-03-20 Thread KH
Hi,

I do have a SonyEricsson K810. Connecting the phone by USB to my Gentoo
PC I am able to mount the internal phone-disk as well as the m2 Memory Sick.

# mount /dev/sdf1 /mnt/floppy/
# mount /dev/sdg1 /mnt/usb/
df -h

/dev/sdf1  68M  7,7M   60M  12% /mnt/floppy
/dev/sdg1 950M  512K  950M   1% /mnt/usb

This is dmesg:

usb 1-3.3: new full speed USB device using ehci_hcd and address 4
usb 1-3.3: configuration #3 chosen from 1 choice
usb 1-3.3: New USB device found, idVendor=0fce, idProduct=d0a1
usb 1-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-3.3: Product: Sony Ericsson K810
usb 1-3.3: Manufacturer: Sony Ericsson
usb 1-3.3: SerialNumber: 3531530220722190
usb 1-3.3: USB disconnect, address 4
usb 1-3.3: new full speed USB device using ehci_hcd and address 5
usb 1-3.3: configuration #2 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
usb 1-3.3: New USB device found, idVendor=0fce, idProduct=e0a1
usb 1-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-3.3: Product: Memory Stick
usb 1-3.3: Manufacturer: Sony Ericsson
usb 1-3.3: SerialNumber: 3531530220722190
scsi 6:0:0:0: Direct-Access Sony Eri Memory Stick  PQ: 0 ANSI: 0
sd 6:0:0:0: [sdf] 168000 512-byte hardware sectors (86 MB)
sd 6:0:0:0: [sdf] Test WP failed, assume Write Enabled
sd 6:0:0:0: [sdf] Assuming drive cache: write through
scsi 7:0:0:0: Direct-Access Sony Eri Memory Stick  PQ: 0 ANSI: 0
sd 7:0:0:0: [sdg] Attached SCSI removable disk
sd 7:0:0:0: Attached scsi generic sg6 type 0
sd 6:0:0:0: [sdf] 168000 512-byte hardware sectors (86 MB)
usb-storage: device scan complete
sd 6:0:0:0: [sdf] Test WP failed, assume Write Enabled
sd 6:0:0:0: [sdf] Assuming drive cache: write through
 sdf: sdf1
sd 6:0:0:0: [sdf] Attached SCSI removable disk
sd 6:0:0:0: Attached scsi generic sg7 type 0
usb-storage: device scan complete

Now I want to have a udev rule. Those are the udev rules already
existing in /etc/udev/rules.d/10-udev.rules:


BUS==usb, KERNEL==sd?1, ATTRS{serial}==5B760D88CCFF,
ATTRS{idProduct}==1d00, NAME=lanze
BUS==usb, KERNEL==sd?1, ATTRS{serial}==3547160198371480,
ATTRS{idProduct}==e039, NAME=sek800i
BUS==usb, KERNEL==sd?, ATTRS{serial}==000A2700111242C0,
ATTRS{idProduct}==1301, NAME=ipod
BUS==usb, KERNEL==sd?, ATTRS{serial}==070B00011452C90,
ATTRS{idProduct}==b113, NAME=stachel
BUS==usb, KERNEL==sd?1, ATTRS{serial}==B40DB05H,
ATTRS{idProduct}==7100, NAME=silber

sek800i is my old mobile which is still be used, but without memory stick.

This is the new udev rule:

BUS==usb, KERNEL==sd?1, ATTRS{serial}==3531530220722190,
ATTRS{idProduct}==d0a1, NAME=sek810
BUS==usb, KERNEL==sd?1, ATTRS{serial}==3531530220722190,
ATTRS{idProduct}==e0a1, NAME=sek810m2

This is fstab:

/dev/sek810 /mnt/k810   auto   
noauto,user 0 0
/dev/sek810m2/mnt/m2sek810  autonoauto,user 0 0

Connecting the phone to my box using the udev rules the memory stick
wont work:

# mount /mnt/k810/
mount: Gerätedatei /dev/sek810 existiert nicht  (does not exist)
# mount /mnt/m2sek810/  df -h
/dev/sek810m2  68M  7,7M   60M  12% /mnt/m2sek810

The internal disk is working but dmesg goes wild and I get a lot of the
following:

attempt to access beyond end of device
sdg: rw=0, want=1945599, limit=1945231
attempt to access beyond end of device
sdg: rw=0, want=1945600, limit=1945231
attempt to access beyond end of device
sdg: rw=0, want=1945594, limit=1945231
attempt to access beyond end of device
sdg: rw=0, want=1945595, limit=1945231
attempt to access beyond end of device


Where is my udev rule wrong?

Thanks for help.

kh



Re: [gentoo-user] Usernames in ssh attacks

2009-03-20 Thread Eric Martin
Paul Hartman wrote:
 On Thu, Mar 19, 2009 at 10:36 AM, Johan Blåbäck
 johan.bluecr...@gmail.com wrote:
 I've always had usernames when it comes to sshd's log entries in
 auth.log, like the following:

 time hostname sshd[5926]: error: PAM: Authentication failure for
 username from ip-adress
 
 Well, I don't use PAM, just key-based authentication only, so I always
 see only the IP getting rejected since it doesn't even give them a
 place to try a user/password :) It's just weird that it is refusing a
 connection from u...@domain rather than simply the IP. I guess they
 could be trying to ssh u...@myhost.net or something.  The one with
 [U2FsdGVkX19g32YZVKMsQkl+mouWITILOicY4Iq9OQo=] as the username is
 interesting. I wonder what that's all about.
 

I too use only PubKey but they need to send a username so ssh knows
where to look for the public key.  Your two options boil down to

1) install fail2ban (I installed it on all of my external ssh boxes and
I love it)
2) change the ssh port to something other than 22 (Security by Obscurity
 but it frees up your logs so you can see real problems).

The two may me mutually exclusive as I'm not sure if you can tweak
fail2ban's ssh rules to monitor another port.

I just chock it up as log spam unless I see definite bad patterns.  But
again, with public key access only and banning root from logging in via
ssh I don't think anybody is getting far unless there is a flaw in ssh.

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-20 Thread Paul Hartman
On Thu, Mar 19, 2009 at 6:29 PM, Joseph syscon...@gmail.com wrote:
 On 03/19/09 17:48, Paul Hartman wrote:

 Here is my understanding of how the NX bits all fit together:

 Think of it as a 2-step connection. The first step is connecting from
 the remote nxclient to the nxserver. For this step, it uses the SSH
 key that you can put into nxclient. That only authenticates you as
 being able to connect to the NX server, it doesn't get you into any
 user files or desktops. By keeping the default NX key, anyone with NX
 client can connect to your box and get to this point.

 I think my ssh-keys might not be correct between the nxclient.
 I've installed on one Linux box:
 net-misc/nxclient
 and the server is running: nxserver-freeedition

 maybe the key from nxclient:
 /usr/NX/share/keys/server.id_dsa.key
 is not the correct one, this key is a private key.
 and to my understanding in order to log-in into the server I need to copy
 nxclinet's public key to the serer; but I can not fine one.

Hi,

You need to copy the server's default key to the client. Copy
/usr/NX/share/keys/default.id_dsa.key (NOT server.id_dsa.key) from the
server into the nxclient (Configure - Keys - Import or paste it in).



Re: [gentoo-user] Usernames in ssh attacks

2009-03-20 Thread Paul Hartman
On Fri, Mar 20, 2009 at 7:25 AM, Eric Martin freak4u...@gmail.com wrote:
 Paul Hartman wrote:
 On Thu, Mar 19, 2009 at 10:36 AM, Johan Blåbäck
 johan.bluecr...@gmail.com wrote:
 I've always had usernames when it comes to sshd's log entries in
 auth.log, like the following:

 time hostname sshd[5926]: error: PAM: Authentication failure for
 username from ip-adress

 Well, I don't use PAM, just key-based authentication only, so I always
 see only the IP getting rejected since it doesn't even give them a
 place to try a user/password :) It's just weird that it is refusing a
 connection from u...@domain rather than simply the IP. I guess they
 could be trying to ssh u...@myhost.net or something.  The one with
 [U2FsdGVkX19g32YZVKMsQkl+mouWITILOicY4Iq9OQo=] as the username is
 interesting. I wonder what that's all about.


 I too use only PubKey but they need to send a username so ssh knows
 where to look for the public key.  Your two options boil down to

 1) install fail2ban (I installed it on all of my external ssh boxes and
 I love it)
 2) change the ssh port to something other than 22 (Security by Obscurity
  but it frees up your logs so you can see real problems).

 The two may me mutually exclusive as I'm not sure if you can tweak
 fail2ban's ssh rules to monitor another port.

 I just chock it up as log spam unless I see definite bad patterns.  But
 again, with public key access only and banning root from logging in via
 ssh I don't think anybody is getting far unless there is a flaw in ssh.

Oh, I am not concerned about the attacks. I just thought it was weird
that I saw u...@domain when I normally see only IP or only domain.
They are already refused connection as the log shows :)

Thanks,
Paul



[gentoo-user] start X at startup without a login manager

2009-03-20 Thread fei huang
I don't have any xdm, gdm stuff but would like to start my windows
manager directly at startup, cause I'm the only one that use it.

here is my solution:
I use runlevel 3 as default, and add a line of code in
/etc/conf.d/local.start:

su - myname -c startx

this works just fine except my scim panel would not shown as before, but if
I login in normally with my user name, and type startx manually,
everything works perfect. I'm wondering what is the difference with those
two steps that cause the problem,
ps shows the scim processes  are just running normally, for reference, I
pasted my xinitrc here:

export XMODIFIERS='@im=SCIM'
export GTK_IM_MODULE=scim
scim -d

xrdb -merge ~/.Xresources
urxvtd -q -f -o

conky -q 

exec awesome


any ideas?

thanks

fei


Re: [gentoo-user] Usernames in ssh attacks

2009-03-20 Thread Eric Martin
Paul Hartman wrote:
 On Fri, Mar 20, 2009 at 7:25 AM, Eric Martin freak4u...@gmail.com wrote:
 Paul Hartman wrote:
 On Thu, Mar 19, 2009 at 10:36 AM, Johan Blåbäck
 johan.bluecr...@gmail.com wrote:
 I've always had usernames when it comes to sshd's log entries in
 auth.log, like the following:

 time hostname sshd[5926]: error: PAM: Authentication failure for
 username from ip-adress
 Well, I don't use PAM, just key-based authentication only, so I always
 see only the IP getting rejected since it doesn't even give them a
 place to try a user/password :) It's just weird that it is refusing a
 connection from u...@domain rather than simply the IP. I guess they
 could be trying to ssh u...@myhost.net or something.  The one with
 [U2FsdGVkX19g32YZVKMsQkl+mouWITILOicY4Iq9OQo=] as the username is
 interesting. I wonder what that's all about.

 I too use only PubKey but they need to send a username so ssh knows
 where to look for the public key.  Your two options boil down to

 1) install fail2ban (I installed it on all of my external ssh boxes and
 I love it)
 2) change the ssh port to something other than 22 (Security by Obscurity
  but it frees up your logs so you can see real problems).

 The two may me mutually exclusive as I'm not sure if you can tweak
 fail2ban's ssh rules to monitor another port.

 I just chock it up as log spam unless I see definite bad patterns.  But
 again, with public key access only and banning root from logging in via
 ssh I don't think anybody is getting far unless there is a flaw in ssh.
 
 Oh, I am not concerned about the attacks. I just thought it was weird
 that I saw u...@domain when I normally see only IP or only domain.
 They are already refused connection as the log shows :)
 
 Thanks,
 Paul
 

yeah, after I read your message I realized that I didn't quite answer
your question.  Somebody mentioned they probably configured the dns PTR
record incorrectly which is my guess.

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] tuxonice resumes twice ... SOLVED

2009-03-20 Thread Stefan G. Weichinger
Florian Philipp schrieb:

 Could be acpid or something in your desktop environment (Gnome, Kde,
 ...) picking up the power button event. Check your logs and /etc/acpid
 for suspicious entries and your settings.

Hm, solved it, had hibernate-ram in my default.sh ... this lead to the
system doing exactly this after resuming (detecting the button event).

Don't know why it did work before, though. Anyway, happy for now ;)

Thanks, Stefan





Re: [gentoo-user] Konqueror crash on Red Hat site

2009-03-20 Thread Roy Wright

Alan McKinnon wrote:

On Friday 20 March 2009 10:54:13 Nikos Chantziaras wrote:

Trying to navigate this:

http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Cluster_Lo
gical_Volume_Manager/index.html

crashes konqueror-4.2.1-r1.

Can anyone confirm?  Please click a few links in the table of contents.


Confirmed.



Did NOT crash for me on ~x86.

Installed versions:  4.2.1-r1(4.2)!t(05:43:21 AM 03/17/2009)(auth 
bookmarks kdeprefix -debug -thumbnail)





[gentoo-user] Re: start X at startup without a login manager

2009-03-20 Thread Nikos Chantziaras

fei huang wrote:
I don't have any xdm, gdm stuff but would like to start my windows 
manager directly at startup, cause I'm the only one that use it.


Install it anyway and use the autologin feature.  I know that KDM 
supports it, and probably GDM too.





Re: [gentoo-user] Konqueror crash on Red Hat site

2009-03-20 Thread Roy Wright

Roy Wright wrote:

Alan McKinnon wrote:

On Friday 20 March 2009 10:54:13 Nikos Chantziaras wrote:

Trying to navigate this:

http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Cluster_Lo 


gical_Volume_Manager/index.html

crashes konqueror-4.2.1-r1.

Can anyone confirm?  Please click a few links in the table of contents.


Confirmed.



Did NOT crash for me on ~x86.

Installed versions:  4.2.1-r1(4.2)!t(05:43:21 AM 03/17/2009)(auth 
bookmarks kdeprefix -debug -thumbnail)






Argh!  Spoke too soon.  Konqueror proceed to crash when I closed it 
immediately after viewing the page...


HTH





Re: [gentoo-user] nxserver-freenx - user nx not allowed because account is locked

2009-03-20 Thread Joseph

On 03/20/09 10:07, Paul Hartman wrote:

Hi,

You need to copy the server's default key to the client. Copy
/usr/NX/share/keys/default.id_dsa.key (NOT server.id_dsa.key) from the
server into the nxclient (Configure - Keys - Import or paste it in).


Thank you.
Yes, I had that part correct.
The problem in my case is the nx user password needs to be set to unlock the 
account.

Now, I'm fighting to connect to Windows XP :-/ running in VirtualBox

--
Joseph



Re: [gentoo-user] Konqueror crash on Red Hat site

2009-03-20 Thread Paul Hartman
On Fri, Mar 20, 2009 at 3:54 AM, Nikos Chantziaras rea...@arcor.de wrote:
 Trying to navigate this:

 http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Cluster_Logical_Volume_Manager/index.html

 crashes konqueror-4.2.1-r1.

 Can anyone confirm?  Please click a few links in the table of contents.

The MS Windows version of Konqueror 4.2.1 also crashed for me on that
page. So I would say it's a KDE bug and not a Gentoo problem.



Re: [gentoo-user] start X at startup without a login manager

2009-03-20 Thread Florian Philipp
fei huang schrieb:
 I don't have any xdm, gdm stuff but would like to start my windows
 manager directly at startup, cause I'm the only one that use it.
 
 You know that this is a possible security thread? Anyone who has access
to your computer can simply press Ctrl+Alt+F1 and enter the console
session you used to start x-server.
Locking your X-session won't help against that.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] start X at startup without a login manager

2009-03-20 Thread Joshua D Doll
Florian Philipp wrote:
 fei huang schrieb:
   
 I don't have any xdm, gdm stuff but would like to start my windows
 manager directly at startup, cause I'm the only one that use it.

 
  You know that this is a possible security thread? Anyone who has access
 to your computer can simply press Ctrl+Alt+F1 and enter the console
 session you used to start x-server.
 Locking your X-session won't help against that.

   
You can disable vt switching with:

Option DontVTSwitch boolean  in the server section of the xorg.conf

--Joshua Doll



Re: [gentoo-user] start X at startup without a login manager

2009-03-20 Thread James Ausmus
On Fri, Mar 20, 2009 at 11:09 AM, Florian Philipp 
li...@f_philipp.fastmail.net wrote:

 fei huang schrieb:
  I don't have any xdm, gdm stuff but would like to start my windows
  manager directly at startup, cause I'm the only one that use it.
 
  You know that this is a possible security thread? Anyone who has access
 to your computer can simply press Ctrl+Alt+F1 and enter the console
 session you used to start x-server.
 Locking your X-session won't help against that.


I don't think so - with the local.start method that he's talking about, the
Virtual Console isn't logged in - X is started in the initscripts, not from
a logged in console...

Fei - try checking the value of the HOME and other environment variable
with the local.start method - I think that, since the initscripts are not
running in an interactive login prompt, some necessary env vars are not
being populated correctly. Maybe if you changed your su command to su
myuser -c source /etc/profile  startx ?

HTH-

-James


Re: [gentoo-user] Konqueror crash on Red Hat site

2009-03-20 Thread Philip Webb
090320 Nikos Chantziaras wrote:
 Trying to navigate this:
  
 http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Cluster_Logical_Volume_Manager/index.html
 crashes konqueror-4.2.1-r1.
 Can anyone confirm?  Please click a few links in the table of contents.

I did that with Konqueror 3.5.10  it's ok, so it's a KDE 4 bug.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] Turn off Evolution auto-expunge

2009-03-20 Thread Michael Sullivan
For the past few days Evolution has been auto-expunging my deleted
emails.  How do I make it stop?  I don't close Evolution or anything;
it's while I'm still reading my email.

camille ~ # emerge -pv evolution

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

Calculating dependencies... done!
[ebuild   R   ] mail-client/evolution-2.24.5  USE=crypt dbus debug hal
ldap nntp ssl -kerberos -krb4 -mono -networkmanager -pda -profile 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB







Re: [gentoo-user] start X at startup without a login manager

2009-03-20 Thread Sebastian Günther
* Florian Philipp (li...@f_philipp.fastmail.net) [20.03.09 19:09]:
 fei huang schrieb:
  I don't have any xdm, gdm stuff but would like to start my windows
  manager directly at startup, cause I'm the only one that use it.
  
  You know that this is a possible security thread? Anyone who has access
 to your computer can simply press Ctrl+Alt+F1 and enter the console
 session you used to start x-server.
 Locking your X-session won't help against that.
 
You did read, that he wants to start it via the local service, and from 
the commandline?

Propably not, since then your advice is pointless.

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgprHiZIEt9He.pgp
Description: PGP signature


Re: [gentoo-user] Re: start X at startup without a login manager

2009-03-20 Thread Sebastian Günther
* Nikos Chantziaras (rea...@arcor.de) [20.03.09 17:18]:
 fei huang wrote:
  I don't have any xdm, gdm stuff but would like to start my windows 
  manager directly at startup, cause I'm the only one that use it.
 
 Install it anyway and use the autologin feature.  I know that KDM 
 supports it, and probably GDM too.
 

Well in that case, slim should be the better choice: no dependencies on 
one of the two a little bloated DEs, and also has the autologin feature.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgpMRiLQDTOsj.pgp
Description: PGP signature


Re: [gentoo-user] start X at startup without a login manager

2009-03-20 Thread Sebastian Günther
* fei huang (daniel.huang...@gmail.com) [20.03.09 16:12]:

 su - myname -c startx
 
 any ideas?

RTFM:

-, -l, --login
   Provide an environment similar to what the user would expect had the 
user
   logged in directly.

! When - is used, it must be specified as the last su option. 

   The other forms (-l and --login) do not have this restriction.

 
 thanks
 
 fei

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgp96oxnjcG16.pgp
Description: PGP signature


Re: [gentoo-user] start X at startup without a login manager

2009-03-20 Thread Paul Hartman
On Fri, Mar 20, 2009 at 10:09 AM, fei huang daniel.huang...@gmail.com wrote:
 I don't have any xdm, gdm stuff but would like to start my windows
 manager directly at startup, cause I'm the only one that use it.

I agree with Sebastian, you should try slim

http://en.gentoo-wiki.com/wiki/SLiM



[gentoo-user] Monitoring temperatures

2009-03-20 Thread Grant
I have another dead power supply and/or another dead motherboard in my
Gentoo router.  I've tried to make that system as silent as possible
and I wonder if I'm paying the price.  How do you guys monitor system
temperatures?  Is lm_sensors the way to go?  How do you keep an eye on
the temperatures of multiple local and remote systems?

- Grant



Re: [gentoo-user] Monitoring temperatures

2009-03-20 Thread Paul Hartman
On Fri, Mar 20, 2009 at 4:14 PM, Grant emailgr...@gmail.com wrote:
 I have another dead power supply and/or another dead motherboard in my
 Gentoo router.  I've tried to make that system as silent as possible
 and I wonder if I'm paying the price.  How do you guys monitor system
 temperatures?  Is lm_sensors the way to go?  How do you keep an eye on
 the temperatures of multiple local and remote systems?

As long as lm_sensors supports your sensor chipset you should have
plenty of options. Check the list of applications on
http://www.lm-sensors.org/wiki/UsefulLinks

I don't do any remote monitoring but I suppose you could use also use
lm_sensors + grep to do your own alert script. The basic 'sensors'
output on my machine looks like this:

abituguru3-isa-00e0
Adapter: ISA adapter
CPU Core:   +1.44 V  (min  +0.00 V, max  +1.65 V)
DDR2:   +2.10 V  (min  +1.70 V, max  +2.50 V)
DDR2 VTT:   +1.05 V  (min  +0.85 V, max  +1.25 V)
CPU VTT:+2.42 V  (min  +1.90 V, max  +2.90 V)
NB 1.2V:+1.47 V  (min  +1.15 V, max  +1.75 V)
SB 1.5V:+1.59 V  (min  +1.25 V, max  +1.85 V)
HyperTransport: +1.27 V  (min  +1.00 V, max  +1.50 V)
ATX +12V (24-Pin): +12.42 V  (min  +9.60 V, max +14.40 V)
ATX +12V (4-pin):  +12.54 V  (min  +9.60 V, max +14.40 V)
ATX +5V:+5.04 V  (min  +3.99 V, max  +6.00 V)
ATX +3.3V:  +3.38 V  (min  +2.64 V, max  +3.94 V)
ATX 5VSB:   +5.22 V  (min  +3.99 V, max  +6.00 V)
CPU:  +25°C  (high =   +75°C, crit =   +85°C)
System:   +35°C  (high =   +55°C, crit =   +65°C)
PWM Phase1:   +56°C  (high =  +125°C, crit =  +135°C)
PWM Phase2:   +56°C  (high =  +125°C, crit =  +135°C)
PWM Phase3:   +56°C  (high =  +125°C, crit =  +135°C)
PWM Phase4:   +54°C  (high =  +125°C, crit =  +135°C)
PWM Phase5:   +52°C  (high =  +125°C, crit =  +135°C)
CPU FAN:   2760 RPM  (min  300 RPM)
SYS FAN:   1500 RPM  (min  300 RPM)
AUX1 FAN:  1380 RPM  (min  300 RPM)
AUX2 FAN: 0 RPM  (min  300 RPM)
AUX3 FAN: 0 RPM  (min  300 RPM)



Re: [gentoo-user] Monitoring temperatures

2009-03-20 Thread Peter Humphrey
On Friday 20 March 2009 21:14:26 Grant wrote:

 I have another dead power supply and/or another dead motherboard in my
 Gentoo router.  I've tried to make that system as silent as possible
 and I wonder if I'm paying the price.  How do you guys monitor system
 temperatures?  Is lm_sensors the way to go?  How do you keep an eye on
 the temperatures of multiple local and remote systems?

I use gkrellm. Very nice.

-- 
Rgds
Peter



Re: [gentoo-user] Monitoring temperatures

2009-03-20 Thread Dale
Peter Humphrey wrote:
 On Friday 20 March 2009 21:14:26 Grant wrote:

   
 I have another dead power supply and/or another dead motherboard in my
 Gentoo router.  I've tried to make that system as silent as possible
 and I wonder if I'm paying the price.  How do you guys monitor system
 temperatures?  Is lm_sensors the way to go?  How do you keep an eye on
 the temperatures of multiple local and remote systems?
 

 I use gkrellm. Very nice.

   


Doesn't gkrellm do remote monitoring too?  If so, it has a alert feature
or used to anyway.  You could use that if it still exists to alert you
to high temps.

My personal favorite tho, smart fans.  My CPU has a sensor under it and
varies the CPU fan with temp.  I have done the same with my case fans
and it works pretty well.  One spinning at a good rate is best tho just
to keep air flow at all times.

Dale

:-)  :-) 



Re: [gentoo-user] Re: start X at startup without a login manager

2009-03-20 Thread Tom
Or use qingy :)

It uses directfb, but its very lean, and you can set it to autologin I
think...which would probably not even use dircetfb, as qingy also has a
'text-fallback-mode'.

Try it, you'll like it ;-)

Tom



Re: [gentoo-user] Re: start X at startup without a login manager

2009-03-20 Thread fei huang
thank you all for the help!
the problem is finally solved.

thanks James!  I realized that the bash is not a login shell when invoked
that way, and my locale variable in .bash_profile did not take effect. the
command line now becomes:

*su -l myname -c '-l' 'startx' *

and worked!

thanks  Sebastian Günther,  this is really a important comment in the man
page that I missed totally, I changed to -l instead to avoid the trick


and many nice login manager recommended here, I'll try them out later,
compiling QT or GNOME components is a heavy work for my poor celeron
processor.



thanks again..

fei