jeltsch's blog

VNC server (aka KDE Desktop Sharing) under Suse 9

Suse 9 has an inbuilt VNC server called KDE Desktop sharing (under the System -> Remote Access menu). It can be configured in the Control Center -> Internet & Network. Unlike when you start up VNC via the command line ("vncserver") this tool doesn't start a new X desktop, but connects to your already existing X desktop. It is possible to run in addition to the inbuilt KDE Desktop Sharing a normal vncserver that starts its own X sessions.

MySQL install

After installing the Suse 9 rpm, execute the following commands:

sudo /usr/bin/mysql_install_db
(Creating default databases & permissions. Apparently the same can be done by "sudo rcmysql start")

sudo /usr/bin/mysqld_safe --user=mysql &
(Start the server for the first time)
REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! This is done with:

/usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h hostname password 'new-password'

Editing (resizing, format converting, compressing) images in the command line with ImageMagick (mogrify, convert)

Resize all tif images in the current directory:

mogrify -resize 25% 25% *.tif

Resize all jpeg images in the current directory to a width of 614 pixels and keep the image ratio constant:

mogrify -resize 614 *.jpg

As above, but resize the hight to 614 pixels:

mogrify -resize x614 *.jpg

Convert all bmp imgaes in the current directory into tiff images:

mogrify -format tiff *.bmp

Compress all tiff images in the current directory with ZIP compression:

Pages