Sunday, December 21, 2008

Graphic root login interface

For security reasons, graphic root login interface is sometimes disabled. To enable it, one can login in a regular user account and gain root priviledge by su, then comment out the line in /etc/pam.d/gdm which reads

auth required user != root quiet


Friday, December 19, 2008

Updating linux kernel with nvidia driver

It could happen that the x-windows fails when the linux kernel is updated. For fedora 10, the cursor stay on the black screen to the left upper corner after update. In this case

try to get into root console:

# crtl+alt F5/F6/F7

Then mount a usb key to reinstall nvidia driver for linux:

# mkdir /media/sdf1 (could be sdb1, depending on the partitions)
# mount /dev/sdf1 /media/sdf1
# sh NVIDIA*.run


SSH copy between linux systems

It is quite convenient to copy files between two computers with ssh service.

Copying file to host computer:
$> scp SourceFile user@host:directory/TargetFile

Copying file from host computer:

$> scp user@host:directory/SourceFile TargetFile

Usually ssh service is open for linux system, otherwise,
one could go to System -> Administration -> Firewall and
set ssh as a Trusted service.

The other thing is that the computer behind a home
router may not have a public IP address. In this case
we can set port forwarding through the router, or
if there is only one computer in the home network needs
the public IP address, one could enable DMZplus
on the router.


Thursday, December 18, 2008

Make .iso files in Linux

It is very convenient to creat .iso files in linux OS. Also it is very easy to burn iso files to CD/DVDs.

One only needs to group all data intended for a single iso file in to a DIRECTORY and then issue the following command in the terminal:

$: mkisofs -V LABEL -r DIRECTORY | gzip > XXXXX.iso

Where DIRECTORY and XXXXX should be replaced accordingly.


Saturday, December 13, 2008

Latex in Inscape

Inscape is an excellent software that can produce high quality figures. To insert mathematical Formula, we can go

Effects->Render->Latex Formula