HOWTO: Vncserver on Fedora

Found here :

# yum install vncserver
# vncserver
(enter password)
# vncserver -kill :1

Remove “#” from the following lines (uncomment)

exec /etc/X11/xinit/xinitrc

Edit ~/.vnc/xstartup
For KDE, replace “twm &” with “startkde &”
For Gnome, replace “twm &” with “exec gnome-session &”

And to make it startup on boot:
#chkconfig –level 345 vncserver on

HOWTO: Type Spanish Special Characters in Linux (Updated)

Found this page explaining howto setup X11/Xorg in linux so you can type spanish special characters using alt-key secuences, for Fedora 6 the only difference is to copy the file to /usr/share/X11/xkb/symbols

Update: This approach seems to be not working for Fedora 6, will post a working solution when I find one.

Kernel 2.6.20 Released

Linux Kernel 2.6.20 has been released, according to the announcement this new Kernel ”makes linux join to the virtualization trends. This release adds two virtualization implementations: A full-virtualization implementation that uses Intel/AMD hardware virtualization capabilities called KVM and a paravirtualization implementation that can be used by different hypervisors (Rusty’s lguest; Xen and Vmware in the future, etc),. But this release also adds initial Sony Playstation 3 support, a fault injection debugging feature, UDP-lite support, better per-process IO accounting, relative atime, support for using swap files for suspend users, relocatable x86 kernel support for kdump users, small microoptimizations in x86 (sleazy FPU, regparm, support for the Processor Data Area, optimizations for the Core 2 platform), a generic HID layer, DEEPNAP power savings for PPC970, lockless radix-tree readside, shared pagetables for hugetbl, ARM support for the AT91 and iop13xx processors, full NAT for nf_conntrack and many other things

For more information and commentaries check this slashdot post

TIP: Fixing Yum Search Error in Fedora 6

You are using Fedora Core 6, try to “yum search” a package and get a bunch of python errors like the following:

# yum search graden
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
File "/usr/share/yum-cli/", line 94, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/", line 356, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/", line 336, in doCommand
File "/usr/share/yum-cli/", line 895, in search
for (po, matched_value) in matching:
File "/usr/lib/python2.4/site-packages/yum/", line 1136, in searchGenerator
value = po.returnSimple(field)
File "/usr/lib/python2.4/site-packages/yum/", line 68, in returnSimple
self.simple[varname] = r[0]
TypeError: unsubscriptable object

(Possible) Cause: Corrupt yum cache
Solution: Delete cache with rm -rf /var/cache/yum/*

At least it worked for me ;-)

TIP: Permissions When Mounting NTFS Partitions in Linux

Found here

Replace your custom line in /etc/fstab for this one:
/dev/hda5 /mnt/windisk ntfs umask=0222 0 0

And when you’re mounting it manually, use this command:
sudo mount /dev/hda5 /mnt/windisk -t ntfs -o umask=0222

That will fix things.
More info. on

HOWTO: Vmware Server in Kernel 2.6.19 will not compile if you update your kernel to the 2.6.19 series, according to this post is because kernel developers changed CHECKSUM_HW to CHECKSUM_PARTIAL. One approach is to edit/patch userif.c and bridge.c in vmnet source. Here is another approach requiring to edit patch just one file:

- Open /usr/src/kernels/2.6.19-1.2895.fc6-i686/include/linux/skbuff.h (change to your kernel headers’ path)
- Look for the line #define CHECKSUM_PARTIAL X
- Add a new line below with the following:

#define CHECKSUM_HW X   ( <== X is the same value in the line above)

- Remember to (touch /usr/src/kernels/2.6.19-1.2895.fc6-i686/include/linux/config.h)

Hopefully, the next release of vmware server will take care of these issues.

A Cost Analysis of Windows Vista Content Protection

I came across this Document by Peter Gutmann. It explains why Windows Vista’s Content Protection will represent a big cost in upgraded hardware to all who choose the new OS. From the page:

“Windows Vista includes an extensive reworking of core OS elements in order to provide content protection for so-called “premium content”, typically HD data from Blu-Ray and HD-DVD sources. Providing this protection incurs considerable costs in terms of system performance, system stability, technical support overhead, and hardware and software cost. These issues affect not only users of Vista but the entire PC industry, since the effects of the protection measures extend to cover all hardware and software that will ever come into contact with Vista, even if it’s not used directly with Vista (for example hardware in a Macintosh computer or on a Linux server).”

TIP: Disable CD Autoplay in Windows 2000

(Found here after some googling)

open regedit then go to:


you should see a key called “Autorun”
right click on it and select modify,
change the value data from 1 to 0,