vicker313 tech blog

May 14, 2010

Setup Firebird Server at Windows

Filed under: Firebird — Tags: , , — vicker313 @ 8:55 am

To setup Firebird Server in a Windows machine:

  1. Download Firebird (either EXE version or ZIP version, but not embedded version).
  2. If you have downloaded EXE version, just run the setup, select Super Server type and skip to setup 4.
  3. If you have downloaded ZIP version, extract it to a appropriate location, go to bin folder and run install_super.bat to install the Firebird Services.
  4. Right now you should able to see Firebird Services at the Services Browser, where you can start or stop the server from there.

Other Post Installation actions that need to be taken:

  1. Open port 3050 for Firebird Server.
  2. The default user and password is sysdba (masterkey). To change it, use command prompt and change directory to FIREBIRD\bin, execute following command:
    gsec -user sysdba -pass masterkey -mo sysdba -pw othpasswd
    user is current user, pass is current password, mo is user that you want to change password while pw is the new password.

May 1, 2010

VNC Cannot Show Normal Desktop

Filed under: Linux — Tags: , — vicker313 @ 7:50 pm

Referring to Setup VNC Server at Linux, users sometimes might not able to see a normal desktop in VNC Viewer even though they already uncomment the 2 lines.

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

It is because /etc/X11/xinit/xinitrc need ROOT privilege to be executed. To overcome the problem, users just need to add the execute privilege for all other users:

chmod 755 /etc/X11/xinit/xinitrc (Red Hat)
or
sudo chmod 755 /etc/X11/xinit/xinitrc (Ubuntu)

Restart the vncserver and users should able to view a normal desktop in the viewer

Create a free website or blog at WordPress.com.