Автор Тема: freenx подключение к desktop:0  (Прочитано 3613 раз)

Оффлайн kontrabass

  • Участник
  • *
  • Сообщений: 3
freenx подключение к desktop:0
« : 13.08.2010 15:19:15 »
Прошу помощи в настройке 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_nxshadowacl
allow all - exit 0
 не помогает, и думаю не совсем оно

остается 2 вещи:
1.   http://www.nomachine.com/documents/admin-guide.php

9.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)

Оффлайн yaleks

  • Мастер
  • ***
  • Сообщений: 6 242
Re: freenx подключение к desktop:0
« Ответ #1 : 13.08.2010 17:15:44 »
никак, там это не реализовано

Оффлайн kontrabass

  • Участник
  • *
  • Сообщений: 3
Re: freenx подключение к desktop:0
« Ответ #2 : 13.08.2010 17:44:55 »
никак, там это не реализовано

Подскажите плиз, не реализовано в freenx?
т.к. http://www.nomachine.com/documents/admin-guide.php

9.3 Requiring Authorization to Share the Local Display
The EnableDesktopSharingAuthorization key in the /usr/NX/etc/server.cfg configuration file disables/enables the explicit authorization of the native display owner to accept sharing of the display. This key is enabled by default:
EnableDesktopSharingAuthorization = "1"
The EnableSystemDesktopSharingAuthorization key, on the other hand, enables/disables the NX Server from requiring authorization from the owner of the desktop, when the owner is root or gdm, before sharing the native display. This key is enabled by default:
EnableSystemDesktopSharingAuthorization = "1"
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"

похоже можно подключиться к local dicplay, или я чего-то не понимаю?

Подскажите, если не сложно, другое решение проблемы: обучение, когда несколько человек видят экран преподавателя, (проектор не предлагать)

Оффлайн yaleks

  • Мастер
  • ***
  • Сообщений: 6 242
Re: freenx подключение к desktop:0
« Ответ #3 : 13.08.2010 22:34:42 »
никак, там это не реализовано

Подскажите плиз, не реализовано в freenx?


Подскажите, если не сложно, другое решение проблемы: обучение, когда несколько человек видят экран преподавателя, (проектор не предлагать)

да, не реализовано. Если очень надо, то бесплатную версию на 2 юзера "NX Free Edition" используйте.

Оффлайн kontrabass

  • Участник
  • *
  • Сообщений: 3
Re: freenx подключение к desktop:0
« Ответ #4 : 19.08.2010 16:54:30 »
Спасибо за ответ.

Оффлайн yaleks

  • Мастер
  • ***
  • Сообщений: 6 242
Re: freenx подключение к desktop:0
« Ответ #5 : 19.08.2010 21:21:43 »
Подскажите, если не сложно, другое решение проблемы: обучение, когда несколько человек видят экран преподавателя, (проектор не предлагать)
так italc используйте. Как раз для этого и сделано

Оффлайн ps1h

  • Участник
  • *
  • Сообщений: 418
    • Нихрена не работает!
Re: freenx подключение к desktop:0
« Ответ #6 : 08.01.2011 23:12:16 »
да, не реализовано. Если очень надо, то бесплатную версию на 2 юзера "NX Free Edition" используйте.

а не подскажите, можно только клиент от NX Free Edition  запустить или и сервеер тоже нужно NX Free Edition  ставить?