Tuesday, August 29, 2006

Xorg startx problem

The problem is with starting the X windows on the FC-4 box. When doing "startx" at the command prompt with root user, "startx" is starting successful session of X window. It is failing for all the user other than root with the following error message.

Cannot move old log file ("/var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old"
Please consult the The X.Org Foundation support at
http://wiki.X.Org for help.


The problem is with the permissions on /usr/X11R6/bin/Xorg

Doing this $ chmod u+s /usr/X11R6/bin/Xorg
and confirming /usr/X11R6/bin/Xorg file
owner as root.root will do the trick.

Now... X windows is running great.

cheers,
make world open...

Wednesday, August 02, 2006

Extracting mp3 from audio CD.

Some of the tools on Linux which can help in extracting audio CD's.

cdparanoia:

cdparanoia retrieves audio tracks from CDDA capable CDROM drives. The data can be saved to a file or directed to standard output in WAV, AIFF, AIFF-C or raw format. Most ATAPI, SCSI and several proprietary CDROM drive makes are supported; cdparanoia can determine if the target drive is CDDA capable.
In addition to simple reading, cdparanoia adds extra-robust data verification, synchronization, error handling and scratch reconstruction capability.

$cdparanoia -B -- 1-5
It will extract audios in wav format from track one to five. This is the best tool when one needs to extract CD which is worn out.

Sound Juicer:

Sound Juicer is a gtk based application and comes by default with gnome environment. By default sound juicer is not capable of extracting CD in mp3's format. In sound juicer preferences mp3 radio button is there but it will not work by default.
Sound Juicer uses the gstreamer framework as its backend. To enable extracting to mp3 we need to add mp3 encoding support to gstreamer. This is easily done by installing gstreamer-plugins-mp3 package from rpm.livna.org.

$yum install gstreamer-plugins-mp3

This will take care of all the necessary dependency for gstreamer-plugins-mp3 and install.

cheers... make world open.