Linux

VNC server under Suse 9

I tried to use vncserver on Suse 9, but to my surprise upon starting up with "vncserver" and then connecting with the "vncviewer" command I only saw the grey screen and an X terminal. I tried to execute xclock and gaim and they start up nicely. However I would also like to bee able to start up KDE. So I looked into the xstartup file (in the .vnc directory in your home folder) from my old Red Hat 9 install and compared it to the one from my Suse 9 install:

RPM management

Example: The quanta package

rpm -q quanta Check whether and which version of quanta is installed

rpm -ql quanta List all files (and their installation location) that are provided by the quanta package

rpm -ivh quanta Install quanta

rpm -e quanta Erase (deinstall) quanta

rpm -aq | grep quanta If you don't know exactly what you are looking for you can list all packages and grep them with a substring.

rpm -q -f filename Search for rpm packages that provide filename

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'

Pages