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

chris at ccburton.com chris at ccburton.com
Thu Oct 6 07:30:44 UTC 2011


freenx-knx-bounces at kde.org wrote on 27/09/2011 18:11:08:

> Hi,
> 
> I'm trying to get shadow sessions to work. But it always fails with
> "Error: Authorization refused by user: sameuser", where sameuser is
> me. First I create a regular session. Then I create a shadow session.
> I get a prompt in my NX session that I (myself) want to open a shadow
> session. I click yes, and it fails. Clicking the details button the
> log shows the error mentioned (also included below). Clicking "no" to
> refuse the shadow session does the same thing.

If you install the

        linux nxclient from nomachine

on

        your FreeNX server

(and make sure /usr/bin/nxdialog calls it for the "pop up dialog"
instead of using xmessage) then it should work ok . . . .

> I've used the sample
> nxshadowacl file here:
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject:
> FreeNX_-_HowtoShadow
> , chmod 755 the file, I've also used the file
> /usr/share/doc/freenx-0.7.3/nxacl.sample and copied it to

nxacl is for re-writing session parameters, not an acl for
shadow sessions.

> /usr/bin/nxshadowacl and then chmod 755 the file but it still doesn't
> work. I finally tried just making it "exit 0", but that doesn't work.
> One thing I noticed is that the file doesn't actually seem to be run
> at all. For example I put a "echo "nxshadowacl ran $1 $2 about to exit
> 0" > /tmp/nxshadowacl.log" in the file but the /tmp/nxshadowacl.log
> file is never created after I try connecting, so I'm assuming that it
> never actually runs.

If you use the sample nxshadowacl from the web-site as you did
at first (and update it with your user id) then it should work . . . 

[SNIP]

> Thanks,
> Sabuj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20111006/108d7c0a/attachment.html>


More information about the FreeNX-kNX mailing list