Re: [gentoo-user] Reducing disk usage
On 4/26/07, Grant [EMAIL PROTECTED] wrote: I've found myself with a full hard disk and no obvious choices for reducing usage. Are there any not-so-obvious ways to free up hard disk space? - Grant -- [EMAIL PROTECTED] mailing list I don't know if this is *obvious* or not, but you might check your log directory, /var/log. I found my disk full one day because of a bunch of brute force SSH attempts! ( I was getting pretty close without them, but they pushed it to the brink!) Troy -- Beware of spyware. If you can, use the Firefox browser. - USA Today Download now at http://getfirefox.com Registered Linux User #354814 ( http://counter.li.org/) -- [EMAIL PROTECTED] mailing list
[gentoo-user] Xorg 7.1 and Legacy Nvidia Drivers
I say in the newsletter that the stabilization of Xorg 7.1 was being held up until there where updated drivers for Nvidia that added support for this version. So does this mean that you MUST use the latest Nvidia driver to use Xorg 7.1? I know that I had an issue with the libraries not getting stuck in the right spot using legacy drivers with Xorg 7, but I assume there is some additional issue here am I correct? My problem is that I cannot use any driver after 7664 with my Geforce4 MX460, despite the fact that it is listed as one of the supported boards on the newer driver. Every time I try it, my screen goes blank and the system completely locks up. So I guess I have two questions: Does anyone know how to make 7664 work with Xorg 7.1 (I haven't tried it yet)? Does anyone know of some configuration I might be doing wrong that is preventing the new drivers from working? Thanks, Troy -- Beware of spyware. If you can, use the Firefox browser. - USA Today Download now at http://getfirefox.com Registered Linux User #354814 ( http://counter.li.org/) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Dumb question
On 10/10/06, Anthony E. Caudel [EMAIL PROTECTED] wrote: I have been using Gentoo for more than 2 years now and have always wondered (but never asked - That's the dumb part) how Gentoo manages to update a package that happens to be running at the time. Given that the old version (the one running) is deleted, how does it manage to keep standing if you just cut its legs off? I've never seen this discussed anywhere which probably means everyone else already knows and are probably thinking to themselves, Dumb question. Tony -- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin -- gentoo-user@gentoo.org mailing list Simple and short answer is that at run-time the binary and libraries are loaded into memory and run from there. When you do the update it replaces the binary and/or libraries on disk, but you won't actually be running those updates until you restart the process. There may be other, more dynamic, cases that I am aware of, but that is the general gist of it. Troy -- Beware of spyware. If you can, use the Firefox browser. - USA Today Download now at http://getfirefox.com Registered Linux User #354814 ( http://counter.li.org/) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] vixie-cron and ssmtp
On 9/15/06, David Grant [EMAIL PROTECTED] wrote: Forget it, I gave up on ssmtp as it is the problem. I've now gone to postfix and it is so much easier. Setting up postfix involed 3 simple steps. Setting relayhost in /etc/postfix/main.cf and creating .forward files in root and normal user directories. ssmtp should be tree-cleaned. It's not even maintained upstream and it sucks wind. David On 9/14/06, David Grant [EMAIL PROTECTED] wrote: On 9/14/06, David Grant [EMAIL PROTECTED] wrote: Hmm, it turns out that setting MAILTO=root in my own user's crontab makes it send mail. MAILTO=root is already in /etc/cron/crontab by the way so this is all very strange. I tried setting MAILTO=david and that didn't work. I decided ssmtp might be the problem, so I isolated it and tried this: 1. echo test |mail -s testing ssmtp to external [EMAIL PROTECTED] 2. echo test |mail -s testing ssmtp mail to root root 3. echo test |mail -s testing ssmtp mail to david david 4. echo test |mail -s testing ssmtp mail to sarah sarah 1. The first one worked. So ssmtp can send to external addresses fine. 2. The second one worked. So ssmtp can look at the root= command (which tells it where to send mail to user ids 1000) properly and send to whatever root= is set to. 3. The third one didn't work. So for some reason I can't send mail to a normal user. But maybe something is weird with that user. I used to run a mail server on this machine with that user (postfix/procmail/blah/blah/blah) so maybe some leftover thing was screwing things up. 4. Sending mail to this user didn't work either. The users in 3. and 4. are both in /etc/ssmtp/revaliases. User 3 is in the 'mail' group (does that even matter) and I tried user 4. with and without that user in the revaliases file. It looks like maybe ssmtp isn't seeing my revaliases file? Or maybe I'm not using is properly? david:[EMAIL PROTECTED]:smtp.vc.shawcable.net sarah:[EMAIL PROTECTED] :smtp.vc.shawcable.net -- David Grant http://www.davidgrant.ca -- David Grant http://www.davidgrant.ca I totally agree. I have never even been able to get it to compile cleanly. It was the first failed emerge that I had to troubleshoot when I started using Gentoo. Later, it prompted me to drop to good 'ol CLI install when I was doing the 2006.0 install. Postfix has always been good to me. I am glad to see that someone else is as fed up with it as I am, why is it still around?? Troy -- Beware of spyware. If you can, use the Firefox browser. - USA Today Download now at http://getfirefox.com Registered Linux User #354814 ( http://counter.li.org/) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Practical log reviewing
Logwatch is really designed to be run as a cronjob which sends you an email after it has parsed through your logs. The configuration for logwatch is located in the /etc/log.d/ directory. In that directory you will find many scripts and configuration options for a wide range of different log files. You will want to start with /etc/log.d/conf/logwatch.conf. By default it send the email message with the log analysis to root (you can set it to whatever you like if you have your mailer configured correctly). You should probably get a meaningful analysis with all the defaults, just check your root accounts mail. I have been using logwatch for many months now and have been very happy with it. Hope this helps point you in the right direction. (Also check /etc/cron.daily/logwatch for the default cronjob). Troy BTW the obfuscated perl email address that gentux uses has to be the coolest sig ever! On 8/22/06, Grant [EMAIL PROTECTED] wrote: Does anyone know of a practical way to review all the various logs on the system each day? Does it just come down to a brisk scroll through the previous day's rotated logs? Isn't that why logwatch was created? I emerged logwatch, but even though the man pages reference the command 'logwatch' it is a 'command not found'. I ran 'logwatch.pl' which I spotted from the emerge's output, but there was no ouput from that script at all. - Grant -- gentoo-user@gentoo.org mailing list -- Beware of spyware. If you can, use the Firefox browser. - USA Today Download now at http://getfirefox.com Registered Linux User #354814 ( http://counter.li.org/) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] MS debug equivalent
I used debug.exe just a few semesters ago, but I don't remember it well. If you have an executable that you have already assembled, then check out gdb...(GNU debugger). It is a staple for any linux programmer, in fact, if you go on to higher level programs like c or c++ you can use if for those also. There are also quite a few GUI frontends to make it easier to use. http://www.gnu.org/software/gdb/On 7/1/06, Rodrigo Lazo [EMAIL PROTECTED] wrote:Michael Sullivan [EMAIL PROTECTED] writes: On Sat, 2006-07-01 at 19:12 -0500, Rodrigo Lazo wrote: Hi everybody, sorry for the OT. I've been using debug.exe (a little program for work with asm) at my college to learn about assembler and related concepts. Does anyone know some equivalent for linux? I remember DEBUG.EXE - I used to use it to change the copyright text in COMMAND.COM from Microsoft Corp to MSullivan Tech.I don't know of an equivalent (I assume you want something interactive), but could you use nasm? I want to browse the ram contents and write some really simpleassembly programs. For the later I guess nasm could do the trick, butfor the former I guess I need another tool--Rodrigo Lazo (rlazo) --gentoo-user@gentoo.org mailing list-- "Beware of spyware. If you can, use the Firefox browser." - USA Today Download now at http://getfirefox.comRegistered Linux User #354814 ( http://counter.li.org/)
Re: [gentoo-user] Twin monitor setup (Not strictly Gentoo I know)
I don't typically use the Xorg -configure option (I use vi!), but doesn't it create a temporary xorg.conf file in root's home directory so that you can test it? If it works then I would copy it from /root/xorg.conf (if it is there) to /etc/X11/xorg.conf. Hope it helpsOn 6/22/06, Stewart Taylor [EMAIL PROTECTED] wrote: Hi all.I've just put a twin monitor setup on my system, I have a problem that so far I've not been able to fix. Once I run Xorg -configure and edited/etc/X11/xorg.conf for the mouse and monitor resolutions both video card /monitor setups seem to work fine. I then setup the KDE desktops and again everything seems fine. However when I next boot up, the second desktop , on thenew video card / monitor, looses its settings and defaults to 400 x 300, with noavailable options above this. If I then logout of KDE, shutdown the X server and do the Xorg -configure bit again and then restart X everything is ok again untilthe next time. The first desktop is always ok with no problems.Setup.Gentoo 2006KDE 3.4.3Matrox Millennium G400 AGP (using Matrox kernel modules) Some unknown but pretty good monitorDiamond Viper 550 PCI (using whatever X gives as I found no modules that seemedto be for this card)Tatung monitor.I know this isn't strictly Gentoo but the people on this list are clued up kiddies so I'm hoping someone knows the answer to this one.TIAStewart--gentoo-user@gentoo.org mailing list -- "Beware of spyware. If you can, use the Firefox browser." - USA Today Download now at http://getfirefox.comRegistered Linux User #354814 ( http://counter.li.org/)
Re: [gentoo-user] Reading ~/.xsession file
The only time .xsession is read is if you select the Custom option in KDM. And if that is the case you need to put your WM in there and everything. I think. Also I think that you have to put the Sha-bang entry in there: #!/bin/shAnd set it as executable...it seems like I remember having trouble getting it to work otherwise.On 6/18/06, fei huang [EMAIL PROTECTED] wrote:I use ~/.xprofile , have a try, ;--) -- "Beware of spyware. If you can, use the Firefox browser." - USA Today Download now at http://getfirefox.comRegistered Linux User #354814 ( http://counter.li.org/)
Re: [gentoo-user] Reading ~/.xsession file
Ok, I rushed that email off pretty quickly as I was heading to church. I got to thinking that you might like a little more info. One thing to keep in mind is that you need to exec you WM whenever you use .xsession, and it must be the last thing you do (since you exec anything after it won't get ran). For instance here is my .xsession which I tested with XDM used on KDM for the longest time and now use with qingy: [EMAIL PROTECTED] ~536$ cat .xsession#!/bin/sh#xset m 2 4 # This is my old x mapping which is for Release 6#xmodmap -e pointer = 1 2 3 6 7 4 5# This is the new mapping required for Release 7 xmodmap -e pointer = 1 2 3 8 9 4 5 6 7 10 11# Microsoft, in their infinite wisdom make the F-lock key toggle between Insert/Print Screen. # Remap the print key to the scroll lock button...what does scroll lock do anyway? xmodmap -e keycode 78 = Printxmodmap -e keycode 111 = Scroll_Lock#This get shift-tab working for rxvtxmodmap -e 'keycode 23 = Tab'imwheel -k -b 67 lineakd #Restore the last set backgroundeval `cat $HOME/.fehbg`gkrellm2 xscreensaver -nosplash /usr/local/bin/fbpanel exec /usr/local/bin/openbox Hopefully that might help solve any issues before they come up! On 6/18/06, Troy Curtis Jr [EMAIL PROTECTED] wrote: The only time .xsession is read is if you select the Custom option in KDM. And if that is the case you need to put your WM in there and everything. I think. Also I think that you have to put the Sha-bang entry in there: #!/bin/shAnd set it as executable...it seems like I remember having trouble getting it to work otherwise.On 6/18/06, fei huang [EMAIL PROTECTED] wrote:I use ~/.xprofile , have a try, ;--) -- Beware of spyware. If you can, use the Firefox browser. - USA Today Download now at http://getfirefox.comRegistered Linux User #354814 ( http://counter.li.org/) -- "Beware of spyware. If you can, use the Firefox browser." - USA Today Download now at http://getfirefox.comRegistered Linux User #354814 ( http://counter.li.org/)