Re: [gentoo-user] xypic wants ruby?

2010-04-26 Thread Jorge Almeida
On Mon, Apr 26, 2010 at 12:32 AM, Willie Wong ww...@math.princeton.edu wrote:
 On Sun, Apr 25, 2010 at 10:27:52PM +0100, Jorge Almeida wrote:

 provides xy-pic.  Why in Hell am I obliged to install ruby?

 Probably because it installs a heck lot more than just xypic? The full
 list gives

  asyfig autoarea bardiag cachepic combinedgraphics circuitikz curve
 curve2e curves dcpic diagmac2 doc-pictex dottex dot2texi dratex eepic
 epspdf epspdfconversion fig4latex gnuplottex here hvfloat miniplot
 pb-diagram petri-nets pgf-soroban pgfopts pgfplots picinpar pict2e
 pictex pictex2 pinlabel pmgraph randbild schemabloc swimgraf texdraw
 tikz-inet tikz-qtree tikz-timing tkz-doc tkz-linknodes tkz-tab
 tufte-latex xypic collection-pictures

 Ruby is a RDEPEND; if you are interested you certainly can try
 Googling to find out which in the above list is the offender. One
 that I recognize which requires a ruby runtime is the converter epspdf.

OK. I understand. Latex is a world of is own...

Thanks.

Jorge



Re: [gentoo-user] WLAN speed either 800KB or 3MB

2010-04-26 Thread Stroller


On 25 Apr 2010, at 10:07, Adam wrote:


Downloads over my 802.1g WLAN seem to always be at either of these two
speeds. Billon ADSL+WLAN router one end, Intel 5100 on the laptop. Any
ideas on how i stop it falling back to the slower speed?


Move the laptop closer to the access point.

Stroller.




[gentoo-user] gnome login panel how to disable restart and shutdown buttons

2010-04-26 Thread covici
Using gdm when I am at the login screen there  are two buttons --
restart and shutdown and if you push one by accident it does the action
without asking for any kind of password or any authentication at all --
how do I fix this, seems like a big security hole to me.

Thanks.

-- 
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] msfonts

2010-04-26 Thread fajfusio

Hello
I'm looking for the following fonts.Could you give me some indications of what packages contain the followingfonts.Thank you.

/usr/share/doc/msfonts/usr/share/doc/msfonts/hebrew.png/usr/share/doc/msfonts/index.html/usr/share/doc/msfonts/kdeconf.png/usr/share/doc/msfonts/konqconf.png/usr/share/doc/msfonts/mozconf.png/usr/share/doc/msfonts/msfonts-demo.kwd/usr/share/doc/msfonts/msfonts-demo.png/usr/share/doc/msfonts/msfonts-style-demo.kwd/usr/share/doc/msfonts/msfonts-style-demo.png/usr/share/doc/msfonts/orient.png/usr/share/doc/msfonts/thumb-hebrew.png/usr/share/doc/msfonts/thumb-msfonts-demo.png/usr/share/doc/msfonts/thumb-msfonts-style-demo.png/usr/share/doc/msfonts/thumb-orient.png/usr/share/fonts/msfonts/usr/share/fonts/msfonts/andalemo.ttf/usr/share/fonts/msfonts/arial.ttf/usr/share/fonts/msfonts/arialbd.ttf/usr/share/fonts/msfonts/arialbi.ttf/usr/share/fonts/msfonts/ariali.ttf/usr/share/fonts/msfonts/ariblk.ttf/usr/share/fonts/msfonts/comic.ttf/usr/share/fonts/msfonts/comicbd.ttf/usr/share/fonts/msfonts/cour.ttf/usr/share/fonts/msfonts/courbd.ttf/usr/share/fonts/msfonts/courbi.ttf/usr/share/fonts/msfonts/couri.ttf/usr/share/fonts/msfonts/georgia.ttf/usr/share/fonts/msfonts/georgiab.ttf/usr/share/fonts/msfonts/georgiai.ttf/usr/share/fonts/msfonts/georgiaz.ttf/usr/share/fonts/msfonts/impact.ttf/usr/share/fonts/msfonts/l_10646.ttf/usr/share/fonts/msfonts/lucon.ttf/usr/share/fonts/msfonts/micross.ttf/usr/share/fonts/msfonts/symbol.ttf/usr/share/fonts/msfonts/tahoma.ttf/usr/share/fonts/msfonts/tahomabd.ttf/usr/share/fonts/msfonts/times.ttf/usr/share/fonts/msfonts/timesbd.ttf/usr/share/fonts/msfonts/timesbi.ttf/usr/share/fonts/msfonts/timesi.ttf/usr/share/fonts/msfonts/trebuc.ttf/usr/share/fonts/msfonts/trebucbd.ttf/usr/share/fonts/msfonts/trebucbi.ttf/usr/share/fonts/msfonts/trebucit.ttf/usr/share/fonts/msfonts/verdana.ttf/usr/share/fonts/msfonts/verdanab.ttf/usr/share/fonts/msfonts/verdanai.ttf/usr/share/fonts/msfonts/verdanaz.ttf/usr/share/fonts/msfonts/webdings.ttf/usr/share/fonts/msfonts/wingding.ttf/usr/share/fonts/msfonts-style/usr/share/fonts/msfonts-style/ahronbd.ttf/usr/share/fonts/msfonts-style/gil_.ttf/usr/share/fonts/msfonts-style/gilb.ttf/usr/share/fonts/msfonts-style/gilbi___.ttf/usr/share/fonts/msfonts-style/gilc.ttf/usr/share/fonts/msfonts-style/gilcb___.ttf/usr/share/fonts/msfonts-style/gili.ttf/usr/share/fonts/msfonts-style/gilu.ttf/usr/share/fonts/msfonts-style/matha___.ttf/usr/share/fonts/msfonts-style/mathb___.ttf/usr/share/fonts/msfonts-style/mathc___.ttf/usr/share/fonts/msfonts-style/mtsorts_.ttf/usr/share/fonts/msfonts-style/nrkis.ttf/usr/share/fonts/msfonts-style/pala.ttf/usr/share/fonts/msfonts-style/palab.ttf/usr/share/fonts/msfonts-style/palabi.ttf/usr/share/fonts/msfonts-style/palai.ttf/usr/share/fonts/msfonts-style/upclb.ttf/usr/share/fonts/msfonts-style/upclbi.ttf/usr/share/fonts/msfonts-style/upcli.ttf/usr/share/fonts/msfonts-style/upcll.ttf





Re: [gentoo-user] msfonts

2010-04-26 Thread Kacper Kopczyński
Dnia 2010-04-26, o godz. 11:20:12
fajfu...@wp.pl napisał(a):

 Hello
 
 
 I'm looking for the following fonts.
 Could you give me some indications of what packages contain the
 following fonts.
 
 Thank you.
 
  
 
 /usr/share/doc/msfonts
 /usr/share/doc/msfonts/hebrew.png
 /usr/share/doc/msfonts/index.html
 /usr/share/doc/msfonts/kdeconf.png
 /usr/share/doc/msfonts/konqconf.png
 /usr/share/doc/msfonts/mozconf.png
 /usr/share/doc/msfonts/msfonts-demo.kwd
 /usr/share/doc/msfonts/msfonts-demo.png
 /usr/share/doc/msfonts/msfonts-style-demo.kwd
 /usr/share/doc/msfonts/msfonts-style-demo.png
 /usr/share/doc/msfonts/orient.png
 /usr/share/doc/msfonts/thumb-hebrew.png
 /usr/share/doc/msfonts/thumb-msfonts-demo.png
 /usr/share/doc/msfonts/thumb-msfonts-style-demo.png
 /usr/share/doc/msfonts/thumb-orient.png
 /usr/share/fonts/msfonts
 /usr/share/fonts/msfonts/andalemo.ttf
 /usr/share/fonts/msfonts/arial.ttf
 /usr/share/fonts/msfonts/arialbd.ttf
 /usr/share/fonts/msfonts/arialbi.ttf
 /usr/share/fonts/msfonts/ariali.ttf
 /usr/share/fonts/msfonts/ariblk.ttf
 /usr/share/fonts/msfonts/comic.ttf
 /usr/share/fonts/msfonts/comicbd.ttf
 /usr/share/fonts/msfonts/cour.ttf
 /usr/share/fonts/msfonts/courbd.ttf
 /usr/share/fonts/msfonts/courbi.ttf
 /usr/share/fonts/msfonts/couri.ttf
 /usr/share/fonts/msfonts/georgia.ttf
 /usr/share/fonts/msfonts/georgiab.ttf
 /usr/share/fonts/msfonts/georgiai.ttf
 /usr/share/fonts/msfonts/georgiaz.ttf
 /usr/share/fonts/msfonts/impact.ttf
 /usr/share/fonts/msfonts/l_10646.ttf
 /usr/share/fonts/msfonts/lucon.ttf
 /usr/share/fonts/msfonts/micross.ttf
 /usr/share/fonts/msfonts/symbol.ttf
 /usr/share/fonts/msfonts/tahoma.ttf
 /usr/share/fonts/msfonts/tahomabd.ttf
 /usr/share/fonts/msfonts/times.ttf
 /usr/share/fonts/msfonts/timesbd.ttf
 /usr/share/fonts/msfonts/timesbi.ttf
 /usr/share/fonts/msfonts/timesi.ttf
 /usr/share/fonts/msfonts/trebuc.ttf
 /usr/share/fonts/msfonts/trebucbd.ttf
 /usr/share/fonts/msfonts/trebucbi.ttf
 /usr/share/fonts/msfonts/trebucit.ttf
 /usr/share/fonts/msfonts/verdana.ttf
 /usr/share/fonts/msfonts/verdanab.ttf
 /usr/share/fonts/msfonts/verdanai.ttf
 /usr/share/fonts/msfonts/verdanaz.ttf
 /usr/share/fonts/msfonts/webdings.ttf
 /usr/share/fonts/msfonts/wingding.ttf
 /usr/share/fonts/msfonts-style
 /usr/share/fonts/msfonts-style/ahronbd.ttf
 /usr/share/fonts/msfonts-style/gil_.ttf
 /usr/share/fonts/msfonts-style/gilb.ttf
 /usr/share/fonts/msfonts-style/gilbi___.ttf
 /usr/share/fonts/msfonts-style/gilc.ttf
 /usr/share/fonts/msfonts-style/gilcb___.ttf
 /usr/share/fonts/msfonts-style/gili.ttf
 /usr/share/fonts/msfonts-style/gilu.ttf
 /usr/share/fonts/msfonts-style/matha___.ttf
 /usr/share/fonts/msfonts-style/mathb___.ttf
 /usr/share/fonts/msfonts-style/mathc___.ttf
 /usr/share/fonts/msfonts-style/mtsorts_.ttf
 /usr/share/fonts/msfonts-style/nrkis.ttf
 /usr/share/fonts/msfonts-style/pala.ttf
 /usr/share/fonts/msfonts-style/palab.ttf
 /usr/share/fonts/msfonts-style/palabi.ttf
 /usr/share/fonts/msfonts-style/palai.ttf
 /usr/share/fonts/msfonts-style/upclb.ttf
 /usr/share/fonts/msfonts-style/upclbi.ttf
 /usr/share/fonts/msfonts-style/upcli.ttf
 /usr/share/fonts/msfonts-style/upcll.ttf
 

emerge gentoolkit
equery b /usr/share/fonts/msfonts/georgia.ttf

IMO

-- 
Kacper Kopczyński



Re: [gentoo-user] msfonts

2010-04-26 Thread Dale

fajfu...@wp.pl wrote:


Hello


I'm looking for the following fonts.
Could you give me some indications of what packages contain the following
fonts.

Thank you.

SNIP




I found a couple of those in media-fonts/corefonts.  You may want to 
install that and see what is missing afterwards.


Also, this site may be able to tell you what package some of the missing 
ones belongs to as well.


http://www.portagefilelist.de/index.php/Special:PFLQuery2

Hope that helps.

Dale

:-)  :-)



Re: [gentoo-user] msfonts

2010-04-26 Thread Dale

Kacper Kopczyński wrote:

Dnia 2010-04-26, o godz. 11:20:12
fajfu...@wp.pl napisał(a):

   

Hello


I'm looking for the following fonts.
Could you give me some indications of what packages contain the
following fonts.

Thank you.


  SNIP

 

emerge gentoolkit
equery b /usr/share/fonts/msfonts/georgia.ttf

IMO

   


But if he doesn't have them installed, that command won't help him.  
That only works if the package is installed otherwise you have to ask 
someone who has it installed to check it.  Since he is looking for them, 
I would assume he doesn't have them installed.  I'm not sure how the 
corefonts package got missed tho.  I thought that was a system package.


Dale

:-)  :-)



Re: [gentoo-user] Random failures: lvremove

2010-04-26 Thread Roman Naumann
Just wanted to let you know, that the error no longer occurs since I updated 
to lvm2-2.02.63-r1.

Regards,
Roman Naumann

On Sunday 18 April 2010 12:38:45 Roman Naumann wrote:
 Hi,
 
 I'm using LVM, having / and /home as logical volumes and a backup script
 creating a logical snapshot volume of each in the process.
 
 Since I use gentoo (comming from arch), my backup script fails rather often
 with the error message 'Can't remove open logical volume volume'. The
 script worked fine on arch before. The partition setup did not change.
 
 Sometimes it works fine, sometimes it just fails.
 As a workaround, I let the script just lvremove the snapshot three times
 with 5 seconds sleeping between the tries and the overall success rate for
 the script improved...
 The chance is about 40% lvremove succeeds at a given time and doesn't seem
 to in- or decrease when calling lvremove successively with a five second
 delay, though if it fails once, it tends to fail again more often if
 called within the next two or three seconds.
 
 Here is an example of the command failing once more after the backup script
 aborted. The second time it works. I did NOTHING but the commands listed
 below in these 30 seconds or so: (note: dmsetup says open: 0 in the
 first place!)
 
 kira namor # dmsetup info -c vg-snap_root
 Name Maj Min Stat Open Targ Event  UUID
 vg-snap_root 253   5 L--w01  0 LVM-
 ayg5GD1dYyrkkan1pLa8WszI7UrQpy9YE2ynOTtHoSNckKdehm3XMIgkw7p8z69X
 kira namor # lvremove /dev/vg/snap_root
   Can't remove open logical volume snap_root
 kira namor # lsof /dev/vg/snap_root
 kira namor # fuser -a /dev/vg/snap_root
 /dev/vg/snap_root:
 kira namor # lvremove /dev/vg/snap_root
 Do you really want to remove active logical volume snap_root? [y/n]: y
   Logical volume snap_root successfully removed
 
 What I tried so far was:
 - calling: lvchange -an $SNAP_PARTITION #fails iff lvremove fails
 - updating to lvm2-2.02.56-r3 and updating the initramfs #fixes nothing
 
 I have no idea what causes this random behavior.
 Help much appreciated.
 
 Regards,
 Roman Naumann



Re: [gentoo-user] gnome login panel how to disable restart and shutdown buttons

2010-04-26 Thread Peter Humphrey
On Monday 26 April 2010 10:06:53 cov...@ccs.covici.com wrote:

 Using gdm when I am at the login screen there  are two buttons --
 restart and shutdown and if you push one by accident it does the
 action without asking for any kind of password or any authentication
 at all -- how do I fix this

Use the keyboard instead. You already have your hands on it to type your 
password, no?

 seems like a big security hole to me.

To me it seems like rational behaviour. You tell it to shut down - it 
shuts down. Or do you want Gnome to be like Windows and challenge every 
action you give it?

-- 
Rgds
Peter.



[gentoo-user] Constraining X display resolutions

2010-04-26 Thread Peter Humphrey
Hello list,

My monitor is 1600 x 1200 but I like to run it at 1400 x 1050 (anno 
domini etc.). So far, though, KDE 4 doesn't remember the resolution at 
shutdown so it restarts at 1600 x 1200. I have to go through the 
rigmarole of setting it again every time I log in. I have raised a bug 
report but I don't suppose it's very high on anyone's list.

Meanwhile, is there an entry I can make in xorg.conf, or elsewhere, to 
force KDE to display just the single resolution, 1400 x 1050?

-- 
Rgds
Peter.



Re: [gentoo-user] gnome login panel how to disable restart and shutdown buttons

2010-04-26 Thread covici
Peter Humphrey pe...@humphrey.ukfsn.org wrote:

 On Monday 26 April 2010 10:06:53 cov...@ccs.covici.com wrote:
 
  Using gdm when I am at the login screen there  are two buttons --
  restart and shutdown and if you push one by accident it does the
  action without asking for any kind of password or any authentication
  at all -- how do I fix this
 
 Use the keyboard instead. You already have your hands on it to type your 
 password, no?
 
  seems like a big security hole to me.
 
 To me it seems like rational behaviour. You tell it to shut down - it 
 shuts down. Or do you want Gnome to be like Windows and challenge every 
 action you give it?
 

I don't want a non-root user to be able to shut the computer down -- I
did it my mistake and its strange to have it there anyway -- least it
should do is ask for the root password.

-- 
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



Re: [gentoo-user] gnome login panel how to disable restart and shutdown buttons

2010-04-26 Thread Mark Knecht
On Mon, Apr 26, 2010 at 5:28 AM,  cov...@ccs.covici.com wrote:
 Peter Humphrey pe...@humphrey.ukfsn.org wrote:

 On Monday 26 April 2010 10:06:53 cov...@ccs.covici.com wrote:

  Using gdm when I am at the login screen there  are two buttons --
  restart and shutdown and if you push one by accident it does the
  action without asking for any kind of password or any authentication
  at all -- how do I fix this

 Use the keyboard instead. You already have your hands on it to type your
 password, no?

  seems like a big security hole to me.

 To me it seems like rational behaviour. You tell it to shut down - it
 shuts down. Or do you want Gnome to be like Windows and challenge every
 action you give it?


 I don't want a non-root user to be able to shut the computer down -- I
 did it my mistake and its strange to have it there anyway -- least it
 should do is ask for the root password.


It's a very reasonable request he's making. I have a machine that's a
MythTV backend server. It sits quietly in our living room doing it's
job, but it only does that roughly 4 hours per day so for 20 hours it
wastes electricity. To make more use of the hardware my wife and son
use it at times to browse the web. They are used to shutting off other
computers and they sometimes make mistakes and shut this machine off
so we lose recordings. If the buttons didn't exist then they wouldn't
make that mistake.

If the buttons required them to type a non-root password used to allow
a user to shut the machine down then they'd remember that this machine
is different and not make that mistake.

I personally think covici's request is very reasonable.

- Mark



Re: [gentoo-user] gnome login panel how to disable restart and shutdown buttons

2010-04-26 Thread Peter Humphrey
On Monday 26 April 2010 13:28:50 cov...@ccs.covici.com wrote:

 I don't want a non-root user to be able to shut the computer down --
 I did it my mistake and its strange to have it there anyway -- least
 it should do is ask for the root password.

Ah, I see. Well, that's more-or-less how SuSE used to work; I don't know 
what it's like nowadays.

-- 
Rgds
Peter.



[gentoo-user] Re: elogviewer and something odd with equery

2010-04-26 Thread walt

On 04/25/2010 09:25 PM, Dale wrote:

Hi folks,

I have had elogv and elogviewer installed for a while. I only use it on 
occasion but when I tried to use it the other day I get this little error 
message:

r...@smoker / # elogviewer
No protocol specified
/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could 
not open display


Do you have the DISPLAY variable set properly in root's environment?




Re: [gentoo-user] gnome login panel how to disable restart and shutdown buttons

2010-04-26 Thread Jonathan
On Mon, 26 Apr 2010 05:06:53 -0400
cov...@ccs.covici.com wrote:

 Using gdm when I am at the login screen there  are two buttons --
 restart and shutdown and if you push one by accident it does the action
 without asking for any kind of password or any authentication at all --
 how do I fix this, seems like a big security hole to me.
 
 Thanks.

Build gnome with the policykit flag set. Then you need to give permission to 
the user to shutdown or restart.
I do not know about GDM.

Have you looked in gconf-editor for a setting?



[gentoo-user] Cheese crashes with output concerning libgnomebreakpad.so

2010-04-26 Thread ubiquitous1980
Here is the stdout from running cheese at the cli:

Gtk-Message: Failed to load module gnomebreakpad: libgnomebreakpad.so:
cannot open shared object file: No such file or directory
cheese: xcb_io.c:176: process_responses: Assertion `!(req 
current_request  !(((long) (req-sequence) - (long) (current_request))
= 0))' failed.
Aborted

redep-rebuild fails to find any breakages
revdep-rebuild --library libgnomebreakpad.so fails to find anything useful.




[gentoo-user] gphoto2 won't work

2010-04-26 Thread Michael Sullivan
I am trying to offload pictures from our digital camera (Kodeak
EasyShare CX7300) using the command gphoto2 -P [1].  This command has
worked for years to offload pictures from the camera.  Now, this command
gives me the output:

*** Error ***  
PTP Invalid Transaction ID

*** Error ***  
An error occurred in the io-library ('Unspecified error'): No error
description available
*** Error (-1: 'Unspecified error') ***   

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list gphoto-de...@lists.sourceforge.net, please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -P [1]

Please make sure there is sufficient quoting around the arguments.


I ran the above suggested command and got the my-logfile.txt file, but I
can't make sense of it.  It's a little too long to paste here.  Has
anyone else had this problem?  What additional steps should I go through
to find the solution to this problem.  I found a whole bunch of hits on
Google, but they didn't make much sense, and the ones that did didn't
help.  Here's some additional info:
mich...@camille ~ $ sudo emerge -pv gphoto2 libgphoto2
Password: 

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

Calculating dependencies... done!
[ebuild   R   ] media-libs/libgphoto2-2.4.8  USE=doc examples exif hal
nls -bonjour CAMERAS=-adc65 -agfa_cl20 -aox -barbie -canon -casio_qv
-clicksmart310 -digigr8 -digita -dimagev -dimera3500 -directory
-enigma13 -fuji -gsmart300 -hp215 -iclick -jamcam -jd11 -jl2005a
-kodak_dc120 -kodak_dc210 -kodak_dc240 -kodak_dc3200 -kodak_ez200
-konica -konica_qm150 -largan -lg_gsm -mars -mustek -panasonic_coolshot
-panasonic_dc1000 -panasonic_dc1580 -panasonic_l859 -pccam300 -pccam600
-polaroid_pdc320 -polaroid_pdc640 -polaroid_pdc700 -ptp2 -ricoh
-ricoh_g3 -samsung -sierra -sipix_blink -sipix_blink2 -sipix_web2 -smal
-sonix -sony_dscf1 -sony_dscf55 -soundvision -spca50x -sq905 -stv0674
-stv0680 -sx330z -template -topfield -toshiba_pdrm11 0 kB
[ebuild   R   ] media-gfx/gphoto2-2.4.8  USE=exif ncurses nls readline
-aalib 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB


Please help!







Re: [gentoo-user] Re: elogviewer and something odd with equery

2010-04-26 Thread Dale

walt wrote:

On 04/25/2010 09:25 PM, Dale wrote:

Hi folks,

I have had elogv and elogviewer installed for a while. I only use it 
on occasion but when I tried to use it the other day I get this 
little error message:


r...@smoker / # elogviewer
No protocol specified
/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py:57: 
GtkWarning: could not open display


Do you have the DISPLAY variable set properly in root's environment?





Apparently something got changed with a update.  I tried to run hp-setup 
a bit ago and it failed too.  It gave this error:


No protocol specified
hp-setup: cannot connect to X server :0.0

I'm running this in a Konsole, part of KDE, so just where would I set 
this up?  I don't usually have to mess with it and it just works.  I'm 
on KDE 4.4.2.  Maybe this is a feature of KDE4 until it gets 
fixed.   ;-)


Thanks.

Dale

:-)  :-)



Re: [gentoo-user] msfonts

2010-04-26 Thread Paul Hartman
2010/4/26  fajfu...@wp.pl:
 Hello

 I'm looking for the following fonts.
 Could you give me some indications of what packages contain the following
 fonts.

Some from corefonts, others are probably copyrighted by microsoft.
Google for msfonts and msfonts-style and you can get RPM full of these
fonts but it's your decision whether or not to use them.



Re: [gentoo-user] gnome login panel how to disable restart and shutdown buttons

2010-04-26 Thread covici
Jonathan winelauncher.jonat...@googlemail.com wrote:

 On Mon, 26 Apr 2010 05:06:53 -0400
 cov...@ccs.covici.com wrote:
 
  Using gdm when I am at the login screen there  are two buttons --
  restart and shutdown and if you push one by accident it does the action
  without asking for any kind of password or any authentication at all --
  how do I fix this, seems like a big security hole to me.
  
  Thanks.
 
 Build gnome with the policykit flag set. Then you need to give permission to 
 the user to shutdown or restart.
 I do not know about GDM.
 
 Have you looked in gconf-editor for a setting?

I did not look in gconf editor, and gdm at least, is compiled with the
policykit use flag, so I am not sure where to go with this.  Where would
I look in gconf?

-- 
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] Re: elogviewer and something odd with equery

2010-04-26 Thread walt

On 04/26/2010 10:59 AM, Dale wrote:

walt wrote:

On 04/25/2010 09:25 PM, Dale wrote:

Hi folks,

I have had elogv and elogviewer installed for a while. I only use it on 
occasion but when I tried to use it the other day I get this little error 
message:

r...@smoker / # elogviewer
No protocol specified
/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could 
not open display


Do you have the DISPLAY variable set properly in root's environment?





Apparently something got changed with a update. I tried to run hp-setup a bit 
ago and it failed too. It gave this error:

No protocol specified
hp-setup: cannot connect to X server :0.0


Wait, this is more complicated than I thought.  The error above clearly mentions
display :0.0, which should be correct unless you're running multiple X sessions.
When I 'unset DISPLAY' I get 'DISPLAY is not set'.

Do you have any files like /root/.xauthXX?




[gentoo-user] Re: Cheese crashes with output concerning libgnomebreakpad.so

2010-04-26 Thread walt

On 04/26/2010 09:26 AM, ubiquitous1980 wrote:

Here is the stdout from running cheese at the cli:

Gtk-Message: Failed to load module gnomebreakpad: libgnomebreakpad.so:
cannot open shared object file: No such file or directory


That file is from gnome-extra/bug-buddy.  Do you have that package?




Re: [gentoo-user] Re: elogviewer and something odd with equery

2010-04-26 Thread Dale

walt wrote:

On 04/26/2010 10:59 AM, Dale wrote:

walt wrote:

On 04/25/2010 09:25 PM, Dale wrote:

Hi folks,

I have had elogv and elogviewer installed for a while. I only use 
it on occasion but when I tried to use it the other day I get this 
little error message:


r...@smoker / # elogviewer
No protocol specified
/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py:57: 
GtkWarning: could not open display


Do you have the DISPLAY variable set properly in root's environment?





Apparently something got changed with a update. I tried to run 
hp-setup a bit ago and it failed too. It gave this error:


No protocol specified
hp-setup: cannot connect to X server :0.0


Wait, this is more complicated than I thought.  The error above 
clearly mentions
display :0.0, which should be correct unless you're running multiple X 
sessions.

When I 'unset DISPLAY' I get 'DISPLAY is not set'.

Do you have any files like /root/.xauthXX?




I think I can safely say yes to that question.  I do have a couple.  ;-)

r...@smoker ~ # ls /root/.xauth*
-rw--- 1 root root 51 Dec 14 14:10 /root/.xauth48naIs
-rw--- 1 root root 51 Dec 14 17:31 /root/.xauth9yEErh
-rw--- 1 root root 51 Oct  2  2009 /root/.xauthAfQHY0
-rw--- 1 root root 51 Oct  6  2009 /root/.xauthEltCUe
-rw--- 1 root root 51 Apr 26 14:06 /root/.xauthFBdWPY
-rw--- 1 root root 51 Oct  6  2009 /root/.xauthJJISAe
-rw--- 1 root root 51 Oct  3  2009 /root/.xauthMjZyQi
-rw--- 1 root root 51 Sep 29  2009 /root/.xauthOApO1i
-rw--- 1 root root 51 Sep 25  2009 /root/.xauthSshOXz
-rw--- 1 root root 51 Sep 28  2009 /root/.xauthbFAjxt
-rw--- 1 root root 51 Oct  4  2009 /root/.xauthdKOWE3
-rw--- 1 root root 51 Oct  9  2009 /root/.xauthfCNLCo
-rw--- 1 root root 51 Oct 15  2009 /root/.xauthhhDOTW
-rw--- 1 root root 51 Oct 15  2009 /root/.xauthjRxXE8
-rw--- 1 root root 51 Dec 13 13:09 /root/.xauthm5cv93
-rw--- 1 root root 51 Sep 23  2009 /root/.xauthnARKQ1
-rw--- 1 root root 51 Oct  2  2009 /root/.xauthnaLVUB
r...@smoker ~ #


Do I need to log out of KDE, delete those then login again?  What 
generates those and is something wrong that makes it create those?


Thanks.

Dale

:-)  :-)



Re: [gentoo-user] gnome login panel how to disable restart and shutdown buttons

2010-04-26 Thread David W Noon
On Mon, 26 Apr 2010 21:40:02 +0200, cov...@ccs.covici.com wrote about
Re: [gentoo-user] gnome login panel how to disable restart and shutdown
buttons:

I did not look in gconf editor, and gdm at least, is compiled with the
policykit use flag, so I am not sure where to go with this.  Where
would I look in gconf?

Take a look at /usr/share/gdm/defaults.conf.

# Specify which actions are displayed in the greeter.  Valid values are
# HALT,
# REBOOT, SUSPEND, and CUSTOM_CMD separated by semicolons.
SystemCommandsInMenu=HALT;REBOOT;SUSPEND;CUSTOM_CMD

# Specify which actions are supported by QUERY_LOGOUT_ACTION,
# SET_LOGOUT_ACTION
# and SET_SAFE_LOGOUT_ACTION.  Valid values are HALT,
# REBOOT, SUSPEND, and
# CUSTOM_CMD separated by semicolons.
AllowLogoutActions=HALT;REBOOT;SUSPEND;CUSTOM_CMD

You wll, of course, need to recycle xdm when you are done.
-- 
Regards,

Dave  [RLU #314465]
==
dwn...@ntlworld.com (David W Noon)
==


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: elogviewer and something odd with equery

2010-04-26 Thread Alan McKinnon
On Monday 26 April 2010 19:59:26 Dale wrote:
 walt wrote:
  On 04/25/2010 09:25 PM, Dale wrote:
  Hi folks,
  
  I have had elogv and elogviewer installed for a while. I only use it
  on occasion but when I tried to use it the other day I get this
  little error message:
  
  r...@smoker / # elogviewer
  No protocol specified
  /usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py:57:
  GtkWarning: could not open display
  
  Do you have the DISPLAY variable set properly in root's environment?
 
 Apparently something got changed with a update.  I tried to run hp-setup
 a bit ago and it failed too.  It gave this error:
 
 No protocol specified
 hp-setup: cannot connect to X server :0.0
 
 I'm running this in a Konsole, part of KDE, so just where would I set
 this up?  I don't usually have to mess with it and it just works.  I'm
 on KDE 4.4.2.  Maybe this is a feature of KDE4 until it gets
 fixed.   ;-)

The X server is running at Dale and you are trying to connect to it as root.

It (correctly) disapproves of this and is telling you so, while still 
remaining polite.


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: elogviewer and something odd with equery

2010-04-26 Thread walt

On 04/26/2010 01:53 PM, Dale wrote:

walt wrote:



Do you have any files like /root/.xauthXX?




I think I can safely say yes to that question. I do have a couple. ;-)

r...@smoker ~ # ls /root/.xauth*
-rw--- 1 root root 51 Dec 14 14:10 /root/.xauth48naIs
-rw--- 1 root root 51 Dec 14 17:31 /root/.xauth9yEErh
-rw--- 1 root root 51 Oct 2 2009 /root/.xauthAfQHY0
-rw--- 1 root root 51 Oct 6 2009 /root/.xauthEltCUe
-rw--- 1 root root 51 Apr 26 14:06 /root/.xauthFBdWPY
-rw--- 1 root root 51 Oct 6 2009 /root/.xauthJJISAe
-rw--- 1 root root 51 Oct 3 2009 /root/.xauthMjZyQi
-rw--- 1 root root 51 Sep 29 2009 /root/.xauthOApO1i
-rw--- 1 root root 51 Sep 25 2009 /root/.xauthSshOXz
-rw--- 1 root root 51 Sep 28 2009 /root/.xauthbFAjxt
-rw--- 1 root root 51 Oct 4 2009 /root/.xauthdKOWE3
-rw--- 1 root root 51 Oct 9 2009 /root/.xauthfCNLCo
-rw--- 1 root root 51 Oct 15 2009 /root/.xauthhhDOTW
-rw--- 1 root root 51 Oct 15 2009 /root/.xauthjRxXE8
-rw--- 1 root root 51 Dec 13 13:09 /root/.xauthm5cv93
-rw--- 1 root root 51 Sep 23 2009 /root/.xauthnARKQ1
-rw--- 1 root root 51 Oct 2 2009 /root/.xauthnaLVUB
r...@smoker ~ #


Do I need to log out of KDE, delete those then login again? What generates 
those and is something wrong that makes it create those?


I deleted all of them and generated a new one just by doing su from an xterm.
Does that work for you?





Re: [gentoo-user] Re: elogviewer and something odd with equery

2010-04-26 Thread Dale

walt wrote:

On 04/26/2010 01:53 PM, Dale wrote:

walt wrote:



Do you have any files like /root/.xauthXX?




I think I can safely say yes to that question. I do have a couple. ;-)

r...@smoker ~ # ls /root/.xauth*
-rw--- 1 root root 51 Dec 14 14:10 /root/.xauth48naIs
-rw--- 1 root root 51 Dec 14 17:31 /root/.xauth9yEErh
-rw--- 1 root root 51 Oct 2 2009 /root/.xauthAfQHY0
-rw--- 1 root root 51 Oct 6 2009 /root/.xauthEltCUe
-rw--- 1 root root 51 Apr 26 14:06 /root/.xauthFBdWPY
-rw--- 1 root root 51 Oct 6 2009 /root/.xauthJJISAe
-rw--- 1 root root 51 Oct 3 2009 /root/.xauthMjZyQi
-rw--- 1 root root 51 Sep 29 2009 /root/.xauthOApO1i
-rw--- 1 root root 51 Sep 25 2009 /root/.xauthSshOXz
-rw--- 1 root root 51 Sep 28 2009 /root/.xauthbFAjxt
-rw--- 1 root root 51 Oct 4 2009 /root/.xauthdKOWE3
-rw--- 1 root root 51 Oct 9 2009 /root/.xauthfCNLCo
-rw--- 1 root root 51 Oct 15 2009 /root/.xauthhhDOTW
-rw--- 1 root root 51 Oct 15 2009 /root/.xauthjRxXE8
-rw--- 1 root root 51 Dec 13 13:09 /root/.xauthm5cv93
-rw--- 1 root root 51 Sep 23 2009 /root/.xauthnARKQ1
-rw--- 1 root root 51 Oct 2 2009 /root/.xauthnaLVUB
r...@smoker ~ #


Do I need to log out of KDE, delete those then login again? What 
generates those and is something wrong that makes it create those?


I deleted all of them and generated a new one just by doing su from an 
xterm.

Does that work for you?



Well, I deleted them all, logged out of KDE and back in.  I still get 
the same thing as before with hp-setup.


Again, I am using Konsole for this.  This may be a KDE thing.  I know it 
worked fine in KDE3 but then again, a LOT of things worked fine in KDE3.


Dale

:-)  :-)



Re: [gentoo-user] Re: elogviewer and something odd with equery

2010-04-26 Thread Alex Schuster
Dale writes:

 Again, I am using Konsole for this.  This may be a KDE thing.  I know
 it worked fine in KDE3 but then again, a LOT of things worked fine in
 KDE3.

It's probably not a KDE thing. I'm also using konsole in KDE4, and after 
becoming root (via su or su -) I have no Problems starting X applications.

I'm no expert at X authorization stuff. But I know that in the past I also 
had trouble when becoming root. Why it works for me and not for you - I 
don't know.

Workarounds you might try:
- Emerge sux, and use sux instead of su. Worked for me in the past.
- ssh -Y r...@localhost

Wonko



Re: [gentoo-user] Re: elogviewer and something odd with equery

2010-04-26 Thread Neil Bothwick
On Mon, 26 Apr 2010 16:46:57 -0500, Dale wrote:

 Well, I deleted them all, logged out of KDE and back in.  I still get 
 the same thing as before with hp-setup.
 
 Again, I am using Konsole for this.  This may be a KDE thing.  I know
 it worked fine in KDE3 but then again, a LOT of things worked fine in
 KDE3.

Are you using su, sudo or sux?


-- 
Neil Bothwick

I'm writing a book. I've got the page numbers done.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: elogviewer and something odd with equery

2010-04-26 Thread Dale

Alex Schuster wrote:

Dale writes:

   

Again, I am using Konsole for this.  This may be a KDE thing.  I know
it worked fine in KDE3 but then again, a LOT of things worked fine in
KDE3.
 

It's probably not a KDE thing. I'm also using konsole in KDE4, and after
becoming root (via su or su -) I have no Problems starting X applications.

I'm no expert at X authorization stuff. But I know that in the past I also
had trouble when becoming root. Why it works for me and not for you - I
don't know.

Workarounds you might try:
- Emerge sux, and use sux instead of su. Worked for me in the past.
- ssh -Y r...@localhost

Wonko


   


I don't use su.  When I open the Konsole, it asks for a password.  It 
just uses the konsole command but it is told to run as root.  This is 
pretty much how it did in KDE3 tho.  When I open it, it pops up a window 
and asks for the root password.  Then it opens Konsole.  This is done 
from the little K menu thingy.


That make sense?

Dale

:-)  :-)



[gentoo-user] Re: elogviewer and something odd with equery

2010-04-26 Thread walt

On 04/26/2010 03:11 PM, Dale wrote:

Alex Schuster wrote:

Dale writes:


Again, I am using Konsole for this. This may be a KDE thing. I know
it worked fine in KDE3 but then again, a LOT of things worked fine in
KDE3.

It's probably not a KDE thing. I'm also using konsole in KDE4, and after
becoming root (via su or su -) I have no Problems starting X applications.

I'm no expert at X authorization stuff. But I know that in the past I also
had trouble when becoming root. Why it works for me and not for you - I
don't know.

Workarounds you might try:
- Emerge sux, and use sux instead of su. Worked for me in the past.
- ssh -Y r...@localhost

Wonko




I don't use su. When I open the Konsole, it asks for a password.


Does that mean you are not using the standard konsole, rather a special
icon intended to open a root terminal?  Must be, otherwise it wouldn't
ask for the root password.

Try opening a standard user konsole and just use su instead.  (Or even,
heaven forbid, an xterm instead of konsole.)  That should detect a KDE
problem if it exists.




Re: [gentoo-user] Re: elogviewer and something odd with equery

2010-04-26 Thread Dale

Neil Bothwick wrote:

On Mon, 26 Apr 2010 16:46:57 -0500, Dale wrote:

   

Well, I deleted them all, logged out of KDE and back in.  I still get
the same thing as before with hp-setup.

Again, I am using Konsole for this.  This may be a KDE thing.  I know
it worked fine in KDE3 but then again, a LOT of things worked fine in
KDE3.
 

Are you using su, sudo or sux?

   


I am using none of the above.  I say I because the menu system for KDE 
may be using one of those.  The KDE menu thingy has a entry that says 
Konsole.  I edited the settings for it to run as root.  When I click on 
the entry for it to run, a window pops up and asks for the root 
password.  When I enter it, konsole opens as root.


Now that I think about it, it used to open a Konsole window,ask for the 
password and go to a root prompt.  That was in KDE3.  No pop up window 
in KDE3.  KDE4 has a little pop up window THEN the Konsole opens up as root.


That is different so maybe I need to set something different for it to 
start up and be able to connect to the GUI.  I unmerged KDE3 so I can't 
go look and see how it was set up.


Dale

:-)  :-)



Re: [gentoo-user] Re: elogviewer and something odd with equery

2010-04-26 Thread Dale

walt wrote:

On 04/26/2010 03:11 PM, Dale wrote:

Alex Schuster wrote:

Dale writes:


Again, I am using Konsole for this. This may be a KDE thing. I know
it worked fine in KDE3 but then again, a LOT of things worked fine in
KDE3.
It's probably not a KDE thing. I'm also using konsole in KDE4, and 
after
becoming root (via su or su -) I have no Problems starting X 
applications.


I'm no expert at X authorization stuff. But I know that in the past 
I also

had trouble when becoming root. Why it works for me and not for you - I
don't know.

Workarounds you might try:
- Emerge sux, and use sux instead of su. Worked for me in the past.
- ssh -Y r...@localhost

Wonko




I don't use su. When I open the Konsole, it asks for a password.


Does that mean you are not using the standard konsole, rather a special
icon intended to open a root terminal?  Must be, otherwise it wouldn't
ask for the root password.

Try opening a standard user konsole and just use su instead.  (Or even,
heaven forbid, an xterm instead of konsole.)  That should detect a KDE
problem if it exists.



The way I did was this.  The entry you have but I edited it to run as 
root when it is clicked on.  I have a couple things that are set that 
way.  Kbackup is set that way.  It can't access some files I want to 
backup if it is set to run as a user.  You can edit this by clicking the 
advanced tab in the menu editor.  I also have konqueror set as my file 
manager and it is set to run as root.  It is running on another desktop 
right now.  It works fine.  I can run Kbackup, as root, and it connects 
just fine.  I just tried it to make sure.  Since I can go to my /root 
directory, I know it is running as root.


Weird things always happen to me.  Why can't something weird like 
winning the lottery happen to me?  lol


Dale

:-)  :-)



Re: [gentoo-user] Constraining X display resolutions

2010-04-26 Thread Frank Steinmetzger
Am Montag, 26. April 2010 schrieb Peter Humphrey:
 Hello list,
 
 My monitor is 1600 x 1200 but I like to run it at 1400 x 1050 (anno
 domini etc.). So far, though, KDE 4 doesn't remember the resolution at
 shutdown so it restarts at 1600 x 1200. I have to go through the
 rigmarole of setting it again every time I log in. I have raised a bug
 report but I don't suppose it's very high on anyone's list.
 
 Meanwhile, is there an entry I can make in xorg.conf, or elsewhere, to
 force KDE to display just the single resolution, 1400 x 1050?

You haven't told us what kind of monitor that is, but it sounds like it's a 
flatscreen. In that case you should definitely run it on its native 
resolution, or else your display will be blurry and strain your eyes far more.
However, Linux GUIs are very good at geometric upscaling, so I suggest 
increasing font and icon sizes.
-- 
Gruß | Greetings | Qapla'
What do you call a dead bee? - A was.


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Constraining X display resolutions

2010-04-26 Thread Indexer

On 27/04/2010, at 8:48 AM, Frank Steinmetzger wrote:

 Am Montag, 26. April 2010 schrieb Peter Humphrey:
 Hello list,
 
 My monitor is 1600 x 1200 but I like to run it at 1400 x 1050 (anno
 domini etc.). So far, though, KDE 4 doesn't remember the resolution at
 shutdown so it restarts at 1600 x 1200. I have to go through the
 rigmarole of setting it again every time I log in. I have raised a bug
 report but I don't suppose it's very high on anyone's list.
 
 Meanwhile, is there an entry I can make in xorg.conf, or elsewhere, to
 force KDE to display just the single resolution, 1400 x 1050?
 
 You haven't told us what kind of monitor that is, but it sounds like it's a 
 flatscreen. In that case you should definitely run it on its native 
 resolution, or else your display will be blurry and strain your eyes far more.
 However, Linux GUIs are very good at geometric upscaling, so I suggest 
 increasing font and icon sizes.
 -- 
 Gruß | Greetings | Qapla'
 What do you call a dead bee? - A was.

The best way to achieve this would be to set your resolution manually in 
xorg.conf, rather than using the KDE4 tool.

William


Re: [gentoo-user] gnome login panel how to disable restart and shutdown buttons

2010-04-26 Thread covici
David W Noon dwn...@ntlworld.com wrote:

 On Mon, 26 Apr 2010 21:40:02 +0200, cov...@ccs.covici.com wrote about
 Re: [gentoo-user] gnome login panel how to disable restart and shutdown
 buttons:
 
 I did not look in gconf editor, and gdm at least, is compiled with the
 policykit use flag, so I am not sure where to go with this.  Where
 would I look in gconf?
 
 Take a look at /usr/share/gdm/defaults.conf.
 
 # Specify which actions are displayed in the greeter.  Valid values are
 # HALT,
 # REBOOT, SUSPEND, and CUSTOM_CMD separated by semicolons.
 SystemCommandsInMenu=HALT;REBOOT;SUSPEND;CUSTOM_CMD
 
 # Specify which actions are supported by QUERY_LOGOUT_ACTION,
 # SET_LOGOUT_ACTION
 # and SET_SAFE_LOGOUT_ACTION.  Valid values are HALT,
 # REBOOT, SUSPEND, and
 # CUSTOM_CMD separated by semicolons.
 AllowLogoutActions=HALT;REBOOT;SUSPEND;CUSTOM_CMD
 
 You wll, of course, need to recycle xdm when you are done.
 -- 
 Regards,
They seem to have abolished the defaults.conf in 2.28.2, however I found
a gconf key /apps/gdm/simple-greeter/disable_restart_buttons and if I
use gconftool-2 --set /apps/gdm/simple-greeter/disable_restart_buttons
true 
as the gdm user, this fixed the problem.'

Thanks to all for your responses.

-- 
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



Re: [gentoo-user] ATT DSL + Westell modem/router = Gentoo woes

2010-04-26 Thread Grant
  I recently switched from cable to DSL on a Gentoo router and I'm
  having trouble keeping a stable connection.  Periodically I need to
  run '/etc/init.d/net.eth0 restart' before it will connect to the
  Westell modem (which is also a router although ATT won't admit it).
  The weird thing is that rebooting the system doesn't reacquire the
  connection.  I have to actually issue '/etc/init.d/net.eth0 restart'.
  Does anyone know why rebooting doesn't reacquire the connection and
  restarting the interface does?
 
  - Grant
 
  I just use the modem to login and then enable ip  pass thru to my router
  which is a linksys running DD-WRT;
  http://www.dslreports.com/faq/7073
 
  This set-up has worked well for a few years without me having to do
  anything.

 Could I get you to tell me a couple of your settings?  You're doing
 something right if you haven't had to touch your's after setting it
 up.

 I'm trying to figure out the right connection type (or something like
 that) for which the options are something like Smart KeepAlive, Always
 Reconnect, and Connect On Demand.

 The other one is the IP lease timeout.  It defaults to 10 minutes and
 I just set it to 99 days, but I don't want it to expire even after 99
 days.  I have a static IP but I think this is the timeout between the
 modem/router and the Gentoo router.

 I am not familiar with the modem in question, but if you are using your own
 router the modem should be set up in fully bridged mode and the PPPoE
 authentication will be managed by your Gentoo router.

 Your Gentoo router will also use dhcpcd (or similar) to obtain an IP address
 from your ISP after it authenticates on their RADIUS server.

 In a nut-shell:  You want to set up your modem to not do NAT, or dhcp, or
 authentication at all, but transparently encapsulate your PPP into ATM packets
 and send them off to your local DSLAM.  All the communication with your ISP
 will be managed by the router and your router will have the static IP address
 given to you by your ISP.  The modem will only have a LAN address which you
 will need to set up manually on it, using its control panel.

 PS.  I think that the modem connection type you refer to above should be Smart
 KeepAlive - although as I said I'm not familiar with the particular hardware.

 HTH.
 --
 Regards,
 Mick

Thanks Mick.  The Westell does have an option to take PPPoE off of the
device and I'd like to set that up soon.

- Grant



Re: [gentoo-user] ATT DSL + Westell modem/router = Gentoo woes

2010-04-26 Thread Grant
  I recently switched from cable to DSL on a Gentoo router and I'm
  having trouble keeping a stable connection.  Periodically I need to
  run '/etc/init.d/net.eth0 restart' before it will connect to the
  Westell modem (which is also a router although ATT won't admit it).
  The weird thing is that rebooting the system doesn't reacquire the
  connection.  I have to actually issue '/etc/init.d/net.eth0 restart'.
  Does anyone know why rebooting doesn't reacquire the connection and
  restarting the interface does?
 
  - Grant
 
  I just use the modem to login and then enable ip  pass thru to my router
  which is a linksys running DD-WRT;
  http://www.dslreports.com/faq/7073
 
  This set-up has worked well for a few years without me having to do
  anything.

 Could I get you to tell me a couple of your settings?  You're doing
 something right if you haven't had to touch your's after setting it
 up.

 I'm trying to figure out the right connection type (or something like
 that) for which the options are something like Smart KeepAlive, Always
 Reconnect, and Connect On Demand.
 I use Always On

Are you sure that's what it's called?  I don't have that option.

 The other one is the IP lease timeout.  It defaults to 10 minutes and
 I just set it to 99 days, but I don't want it to expire even after 99
 days.  I have a static IP but I think this is the timeout between the
 modem/router and the Gentoo router.
 I have DHCP lease time once per day

And you don't have to restart your network interface once per day?  I
seem to need to restart the nic as often as that timeout setting.  Any
idea why that would happen?

- Grant



Re: [gentoo-user] Updates = slow firefox

2010-04-26 Thread Grant
  Strangely, now my laptop's brightness adjustment doesn't work via the
  keyboard shortcuts.  Any ideas on that?
 
  - Grant
 
  Please share the beast model :P (or maybe ive missed it).
  in kernel config You have multiple option for backlight eg. for thinkpad
  there is extra one in thinkpad specific acpi maybe You have something
  similar for Yours stuff.

 It's a Dell Vostro 1320.  The keyboard shortcuts to change brightness
 were working great until I enabled DRM in the kernel.  Can you tell me
 where in the kernel those options can be found, or part of the
 variable name that defines them?

 Try running xev and punching brightness keys, if you would see
 effects (some text in terminal) then its OK :P You should change the
 Acpi configs (etc/acpi/) or Gnome/KDE/Xfce/... bindings.

I do see text in xev when pressing the brightness keys.

 (if You dont know it already)
 For acpi config You'll need event id try running acpi_listen.
 eg. /etc/acpi/events/sleep:
 event=ibm/hotkey HKEY 0080 1004
 action=/etc/acpi/actions/sleep.sh

 and into actions you put scripts, try using xbacklight.

You think I should use xbacklight or similar even though it was
working on its own before?

- Grant


 If You wouldn't have any reaction in xev and acpi_listen i check the
 option in kernel.



[gentoo-user] {OT} hardening SSL without rejecting users

2010-04-26 Thread Grant
I've been advised to harden my SSL in the following ways:

1. disable SSL 2.0
2. disable use of SSL ciphers which offer either weak or no encryption
3. disable anonymous SSL ciphers

Will some website users not be able to use https if I do this?

- Grant



Re: [gentoo-user] msfonts

2010-04-26 Thread Stroller


On 26 Apr 2010, at 20:10, Paul Hartman wrote:


2010/4/26  fajfu...@wp.pl:

Hello

I'm looking for the following fonts.
Could you give me some indications of what packages contain the  
following

fonts.


Some from corefonts, others are probably copyrighted by microsoft.


Corefonts themselves are copyrighted by Microsoft. Microsoft simply  
chose to release them at no charge.


Stroller.