How to disable clipboard synchronization of freeNX

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.

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment: