Friday, May 23, 2008

How To: Enable Compiz effects on Fedora Core 6 with an nVidia Card

I installed Fedora Core 6 in my system on Last week - ok yeah I know I need to get a better life. But, hey I was just mesmerized by reading the new features in Core 6 - named Zod that I had to try. Well, Zod is NO god!! After 3 reinstallations and reading through millions of articles on What the hell is the problem with Fedora Core 6, I finally managed to get everything up and working!!
Some basic instructions to the newbie planning to install Fedora Core 6.
Solving the i686 architecture with the i586 kernel and kernel-devel problem:
If you are planning to install FC6 on an i686 architecture - make note of this!! Anaconda screws up BIG TIME, and installs the i586 kernel and kernel-devel on ur i686 machine. Normally this is not a problem, however, CPU Frequency controller daemon will not work and it’ll be a pain in various parts of the anatomy if your driver / program requires a kernel-module to be installed along with it. The worst part - your architecture is still maintained as i686!! Just that anaconda installs the i586 kernel!!

  1. 1. Install yumex$ su -
    $ yum -y install yumex
  2. 2. Once the installation is over, get into yumex
  3. [Applications->System Tools-> Yum Extender]
  4. 3. Go to the Install View once it’s done updating everything
  5. 4. Install kernel-xen and kernel-devel-xen packages for the i686 architecture
  6. 5. Once installation is done, reboot into the xen kernel
  7. [which itself is not really worth having owing to tons of problems].
  8. 6. Go to yumex again and remove kernel and kernel-devel packages currently for the i586 architecture
  9. 7. Once it is done, Go to the Install View and add kernel and kernel-devel packages, but now for the i686 architecture
  10. 8. Once it is done, reboot into the non-xen kernel and remove kernel-xen and kernel- devel-xen packages
  11. 9. Boom you are done and you can get to installing the packages for nvidia/ati drivers, ntfs support etc.
I read there is a simpler way - aka the more adventurous way of getting ur kernel to the i686 architecture. It’s provided here!! Me, not being so adventurous, especially on breaking Linux 3 times after installation, I stuck to the safer bet :-D!
Solving the Desktop Effects cannot be enabled problem for nVidia cards
Another crazy thing I noticed - after reading so much about Compiz being installed by default with Fedora Core 6 and GNome 2.16 is that - try as I may - it never got enabled!! Aaarrgghhh!! Well, so I went to the Compiz requirements site - and checked that for it to work with nVidia cards, it required driver 1.0-9625 or higher..

Known Working

ATI: Radeon 7000 through X850 (r100 through r400 generations)
Intel: i830 through i945
nVidia: all cards supported by the driver 1.0-9625 or higher
And the latest stable driver in the Livna repo for Fedora Core 6 is 1.0-8776. Umm - what DO you do?
  1. 1. Enable livna-testing repo.
  2. 2. Go to the update view in Yum Extender
  3. 3. Select kmod-nvidia and the xorg-x11-drv packages which are 1.0-9626. Update your drivers people!! and Boom!! After a reboot - thou shall be able to enable Desktop Effects. Enjoy rotating the cube and all sortsa window wobbly effects.
Note: The Window Wobbly effects could get to you after some time, if you move around your Windows a lot :-D!!
Note to self: Need to post more links and screenshots of the same. Shall get to that in a day or two!

Doodle for Google winner

I told you about a contest where kids in grades Kindergarten to 12 were invited to create a logo for the Google home page. The theme for the contest was "What if...?" and the winning entry was promised the honor of seeing his or her design grace the Google home page on May 22. Well, today is the day and if you visit, you will see Grace Moon's lovely drawing entitled "Up in the Clouds."

Moon is a 6th grader at Canyon Middle School in Castro Valley, California. Her vision of "What if...?" is a beautiful world in the sky. Of her design, she writes: "This new world is clean and fresh, and people are social and enlightened. Every person here is treated as family no matter who they are. The bright sun heats this ideal place with warmth, love, and brightens everyone's day." It's a lovely drawing and an beautiful sentiment.

Grace Moon may have won the top spot, but I am sure the judges had a difficult time choosing from all these wonderful entries. Congratulations to Grace and all the kids who answered the question "What if...?" with their own unique visions.

How to beat spyware and viruses?

Here's my perennial "How to Beat Spyware".
Here's what to do if you suspect an infection on your Windows PC. (Please note these steps apply to both Windows XP and Vista.)

1) Are you sure it's spyware or a virus?

Windows pop-ups and alerts can often seem invasive enough to be viruses, especially with Vista. Try searching the web for the exact text you see on the screen to make sure you aren't dealing with an aggressive Windows message. (Many of these can be turned off, so try whatever instructions you find.) On the other hand, some viruses masquerade as Windows alerts, so tread lightly.
2) Boot in safe mode. If you have a virus, first step is to try booting in safe mode. You can get to safe mode (a simplified version of Windows that disables a lot of extra junk, possibly including some spyware apps) by restarting your PC and tapping F8 during boot. Soon you'll get a menu of options. Select "Safe Mode" (it's at the top of the menu) and wait for the machine to fully boot. The system will look funny (with a black background and larger icons, probably), but don't worry about it. This is only temporary. (Also note that many spyware applications can disable safe mode, so if you find this doesn't work, just boot normally.)
3) Run your antivirus application. This is of course assuming you have an antivirus application. You're in safe mode now, so run a full scan of your PC at maximum security levels (include the option to scan within compressed files, for example). This will probably take an hour or more, so be patient. Fix any problems the virus scan turns up. Then reboot into safe mode again using the procedure in step 2.
4) Run one or two anti-spyware applications. I used to recommend running multiple anti-spyware apps, but virtually all antivirus apps now do a pretty good job at getting rid of spyware too, so you don't need an army of additional applications just for spyware. Also, I now recommend starting with AdAware (which is free) and moving on to Spyware Doctor (free as part of the Google Pack) if you feel you need additional help. (Please note that recent versions of Spyware Doctor and Norton Antivirus have some trouble with each other.) You can try other apps too, but the once-recommended SpyBot Search & Destroy is no longer very effective, sadly. (Neither is Microsoft's own Windows Defender.) Of course, fix anything and everything these apps find.
5) Reboot normally. (Not in safe mode.) Now take stock. Still got spyware? It's time to move along to my more advanced techniques for removing the nasties.
6) Run HijackThis. HijackThis is a free software tool that scans your computer to find malware that other apps might miss. Scroll down to "Official downloads" to download the tool. Next, simply open the ZIP file you downloaded, extract the application, and run the tool (you don't need to install it). Click the "Do a system scan and save a logfile" button. You'll receive a large text file as well as a dialog box which gives you a list of active software processes, which you can then choose to delete. Unfortunately, this list includes both helpful and unhelpful software, so don't just start deleting items. Continue in step 7 to figure out how to fix your spyware infection.
7) Post your log file online. Visit this page, which offers a list of forums staffed by volunteers who can help you interpret your HijackThis log. The SWI Forums are especially busy, but most of the forums on the list are equally apt. Go to SWI and visit the "Malware Removal" forum which has over 50,000 topics listed: Those are all people like you who are seeking help getting rid of spyware. Register for an account, read the FAQ, then visit that Malware Removal forum, and post a new topic. Paste the content of the text file you created in step 5 into this topic and (politely) ask for help. You will get a response from a volunteer helper, typically within 3 days. You'll be given specific advice on what entries to remove with the HijackThis tool, and you might be pointed to additional software to run to help remove common spyware infections. Follow all the instructions and keep working with the forum helpers until either you or they give up. (And no, don't send your log file to me or post it here. I am not nearly the spyware removal expert that these guys are.)
7a) Alternately: Paste your log file into an automated tool. Don't have three days? Try simply pasting your HijackThis log file into this form. It does a pretty good job at auto-analyzing what's wrong with your machine, with no waiting. As well, if that doesn't work, you can search for the items you find in the HijackThis log by name to see what they are and how to remove them, if they're spyware. This can be quite time consuming, though.
8) Try System Restore. If that doesn't work, you might try running Windows System Restore to roll back your OS to a time before the infection happened. This isn't foolproof: You might not have System Restore turned on, or the spyware might have shut System Restore off, as well. But it's worth a shot. With either XP or Vista, System Restore can be found under Start > All Programs > Accessories > System Tools > System Restore.
9) Give up and wipe your hard drive. At this point, you've exhausted all the options I know of. You might try again at steps 6/7 to make sure you've done everything you can to salvage the PC. Forum helpers will often work with you for weeks to help fight a spyware infection, but there are tens of thousands of possible variants out there, with new ones cropping up every day. It's just not possible to clean them all, every time. Sometimes the only thing you can do is call it quits, reformat your hard drive, and reinstall your OS. Again, make sure you have your backups ready and verified. Once you're up and running, reinstall your antivirus and anti-spyware applications, and stay vigilant against infection. Good luck.