[FreeNX-kNX] shadowing fails, Error: Authorization refused by user: sameuser.

Sabuj Pattanayek sabujp at gmail.com
Thu Oct 6 16:48:28 UTC 2011


> On the CentOS wiki page:
>
> http://wiki.centos.org/HowTos/FreeNX
>
> There is a note (in section 1) that starts with, "Sometimes, there are
> issues that require the No Machine Client to also be installed on your
> NX server..."
>
> Do you think your issue with shadowning should be added to that note?

My issue was specifically with shadowing. I've never needed to install
the nomachine client on the server running freenx/nx rpms for standard
sessions. If you want to copy the details of how to setup shadowing to
the centos wiki page and add a note about needing to install the
nxclient, then it would be nice to have a mirror along with the
berlios page. So in a nutshell to setup shadowing on a centos5 server:

1) yum -y install nx freenx
2) install the nxclient (latest 3.x) RPM from nomachine
3) cp /etc/nxserver/node.conf.sample /etc/nxserver/node.conf
4) edit node.conf and set :

ENABLE_SESSION_SHADOWING_AUTHORIZATION=1

ENABLE_INTERACTIVE_SESSION_SHADOWING=1

^^ set this to 0 if you want shadowers to be able to view only

5) create /usr/bin/nxshadowacl and inside it put:

#!/bin/bash

exit 0

6) chmod 755 /usr/bin/nxshadowacl
7) nxserver --restart (don't even know if this is necessary)

Then the person setting up the original session should connect as
usual and the person going to be doing the shadowing should use the
Shadow session type rather than Unix in configure. If an nxserver has
multiple nx sessions running, the person with the original session
should run "export | grep -i display" to determine the display # of
the session to give to the shadower.

Some nice features to give the session owner would be:

1) Bring up a list of shadowers connected to the session (can multiple
shadowers connect? haven't tried this yet) along with what sort of
access they have (view only, completely blocked/blacked out screen but
still connected, fully interactive)
2) Allow the session owner to disconnect shadowers.



More information about the FreeNX-kNX mailing list