zhihuizhiming / neatx

Automatically exported from code.google.com/p/neatx
0 stars 0 forks source link

client crashing when trying to use shadow mode #69

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install neatx from ppa:freenx-team in maverick
2. write exit 0 into nxshadowacl
3. In node.conf set:
   "ENABLE_SESSION_SHADOWING_AUTHORIZATION=1"
   "ENABLE_INTERACTIVE_SESSION_SHADOWING=1"
4. Go to another computer and log into your neatx server (tested only with kde)
5. Go to a second computer and try to connect to the server in shadow mode(=> 
with the same user)

What is the expected output? What do you see instead?

Got error message:
"The NX client recieved an error from the server . Please check the details for 
more information."

What version of the product are you using? On what operating system?
neatx_0.3.1+svn59-0~ppa1~lucid1_all
using ubuntu minimal installation with KDE running

Please provide any additional information below.

I don't know python very well, howerver I made a dirty hack to get everything 
working again:
agent.py:

  def __CheckOptsChars(self, opts):
    """Checks to make sure option name/values don't contain illegal characters.

    @type opts: dict
    @param opts: Options

    """

    for name, value in opts.iteritems():
      self.__CheckStrChars(name, "Name of option %r" % name)
      #self.__CheckStrChars(value, "Value of option %r (%r)" % (name, value))

As you can easily see, i just removed a line of code...
Not the best solution, but it's working now.

Original issue reported on code.google.com by kasalke...@gmail.com on 12 Dec 2010 at 3:38

Attachments: