Прошу помощи в настройке freenx
simply linux ставим freenx
#nxsetup --install --setup-nomashine-key --clean
#nxserver --start
Усе начинает работать, могу клиентом подключиться, создается новая сессия все ок.
Но хотелось бы для задач обучения подключаться к существующей сессии Х0
При выборе shadow получаем картинку с доступными сессиями, Х0 - пользователя
локально вошедшего и сессии unix-xdm других соединений- -они помечены shadowed и к ним
можно подрубиться, а к Х0 -не получается
NX> 148 Server capacity: not reached for user: .*
NX> 105 attachsession --link="adsl" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="test" --type="shadow" --client="winnt" --keyboard="pc102/en_US" --id="E9A6DB062957D17F4A9832A50B59F4BC" --display="0"
NX> 596 Could not find shadowed session E9A6DB062957D17F4A9832A50B59F4BC. Session failed.
NX> 596 Sharing:
NX> 105 NX> 280 Exiting on signal: 15
Вопрос как подключиться?
делал
http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_HowtoShadow#An_example_nxshadowaclallow all - exit 0
не помогает, и думаю не совсем оно
остается 2 вещи:
1.
http://www.nomachine.com/documents/admin-guide.php9.1 Enabling Desktop Sharing
The NX user can connect to a native desktop owned by an NX user. The EnableDesktopSharing key must be enabled in the /usr/NX/etc/server.cfg configuration file:
EnableDesktopSharing= “1” ---сделано, но получается только для native desktop owned by an NX user, что и работает.
есть еще некоторые параметры
9.4 Allowing the Sharing of a Local Display Owned by a Non-NX User
The EnableFullDesktopSharing key in the /usr/NX/etc/server.cfg configuration file has to be enabled. This requires running a privileged script as root and will work only if the node is the same machine where NX server is running:
EnableFullDesktopSharing = "1"
9.5 Allowing the Sharing of a Local Display Owned by Root
The EnableAdministratorDesktopSharing key in the /usr/NX/etc/server.cfg configuration file has to be enabled:
EnableAdministratorDesktopSharing = "1"
но прописывание их в node.conf не помогает, (то ли не верно пишу, в ноде параметры_через_подчеркивание, то ли там такие не работают?) :'( пробовал по разному :(
и 2. описание к параметру
#ENABLE_MIRROR_VIA_VNC=1
# This enables the sharing of :0 via VNC feature.
# Session is marked as resumable and type is vnc-local.
# Note: You need to have the rights to access the display
# else it does not work.
#ENABLE_DESKTOP_SHARING=1
беспокоит Note: You need to have the rights to access the display else it does not work.
как проверить/посмотреть/задать rights to access the display (если речь здесь не о nxshadowacl)