26 Sep, 2007
if you are getting “Call to undefined function pg_connect()” error firstly, you must install php5-pgsql in order to pg_connect function can be accessible from PHP. But you are still getting the same error, after installing php5-pgsql then you can solve the problem by adding
extension=pgsql.so
to the end of your php.ini file and restarting Apache.
21 Sep, 2007
Nomachine’s Nxserver provides a configuration parameter about clipboard synchronization of client and server. If you use freeNx after Nomachine’s NXserver you can see that not all of configuration parameters has been implemented. One of these configuration parameters is one that is about clipboard.
If you want to disable clipboard synchronization of freeNx. All you have to do is editing /usr/lib/nx/nxnode (if you cannot find nxnode under this path you can easily ‘locate nxnode’)
Open nxnode file, and find this lines below:
cat << EOF > $USER_FAKE_HOME/.nx/C-$sess_id/options
${kbtype:+kbtype=$kbtype,}…………….${fullscreen:+,fullscreen=1}:$display
EOF
You can add clipboard option to the end of second line which ends with ‘:$display’. So if you want to disable clipboard you can add clipboard=none to the end of the line that ends with ‘:$display’. Which means:
${kbtype:+kbtype=$kbtype,}…………….${fullscreen:+,fullscreen=1},clipboard=none:$display
Enjoy freeNx.
Thanks to Fabian Franz for explained this hack in freeNx mail list.