rx -> shadow. Не фунциклирует )

Модераторы: dimbor, Модераторы разделов

whoim
Сообщения: 91
ОС: CentOS 5.4 X64

rx -> shadow. Не фунциклирует )

Сообщение whoim »

Вкратце: nx 3.4 от етерсофт, клиент 3.3.0.6 оттуда же, дистрибутив сервера CentOS 5.4, клиент пока тот жы. Под одинаковыми юзерами залетаю. Под разными - нет.
Ессно читал. http://forum.asplinux.ru/read.php?3,232287

Код: Выделить всё

# General shadowing / mirroring notes:
#
# By default shadowing is only allowed for the same user.
#
# If nxserver finds nxshadowacl binary, it asks it, for which users
# the permission is granted.
#
# nxshadowacl <user>
#
# Exit code:
#
# 0 -> Save cookie in session file for other users
# 1 -> Do not save cookie
#
# Check if user is allowed to be shadowed by admin user.
#
# nxshadowacl <user> <admin>
#
# Exit code:
#

# 0 -> Yes, allow shadowing and add to list
# 1 -> No, don't allow shadowing
#
#
# When using NX 3.0 shadowing, this enables asking the user whether
# he authorizes another user to shadow his session
#
# 0: No authorization request will be presented,
#    and the session will be shadowed as if the user had approved.
# 1: (default) Ask for authorization
#
ENABLE_SESSION_SHADOWING_AUTHORIZATION="0"

# Allow session shadowing in interactive mode:
#
# 1: The shadowing user can interact with the shadowed session.
#
# 0: The shadowed session is view-only. No interaction with the
#    shadowed session is possible.
#
ENABLE_INTERACTIVE_SESSION_SHADOWING="1"


/etc/nxserver/nxshadowacl rwx rx rx

Код: Выделить всё

#!/bin/sh

if [ $# = 1 ];
then
    exit 0;
fi

# $2 is the shadower
# $1 is the shadowed

[ "$2" = "root" -o "$2" = "who" -o "$2" = "master1c" ] && exit 0

# Deny all sessions to be shadowed by anyone besides the same user.
exit 1

# Allow all sessions to be shadowed by anyone.
#exit 0


что нашел в логах сессии того, кто подключается (на стороне сервера)

Код: Выделить всё

[root@server-a F-C-server-a-1071-873BD8CE6552C0FAEC05509509A3FFCD]# cat session

NXAGENT - Version 3.4.0

Copyright (C) 2001, 2010 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '22582'.
Session: Starting session at 'Fri Jun 11 15:35:16 2010'.
Info: Proxy running in server mode with pid '22582'.
Info: Waiting for connection from '127.0.0.1' on port '5071'.
Info: Accepted connection from '127.0.0.1'.
Info: Connection with remote proxy completed.
Info: Using LAN link parameters 1536/24/1/0.
Info: Using agent parameters 5000/0/50/0/0.
Info: Using pack method 'adaptive-9' with session 'shadow'.
Info: Using product 'LFE/None/LFEN/None'.
Info: Not using NX delta compression.
Info: Not using ZLIB data compression.
Info: Not using ZLIB stream compression.
Info: Not using a persistent cache.
Info: Listening to X11 connections on display ':1071'.
Info: Established X client connection.
Info: Using shared memory parameters 1/1/1/2048K.
Info: Using alpha channel in render extension.
Info: Not using local device configuration changes.
InitOutput: Set ru_RU.UTF-8 locale
keyboard file created
SessionPath not defined
Xlib: connection to ":1036.0" refused by server
Xlib: No protocol specified

NXCreatePoller: WARNING! Failed to initialize poller.
NXShadowCreate: WARNING! NXCreatePoller failed.
Error: Aborting session with 'Failed to connect to display ':1036''.
Session: Aborting session at 'Fri Jun 11 15:35:17 2010'.
Session: Session aborted at 'Fri Jun 11 15:35:17 2010'.
Warning: Signals were not blocked in process with pid '22582'.
Info: Waiting the cleanup timeout to complete.


помогите?
Спасибо сказали:
whoim
Сообщения: 91
ОС: CentOS 5.4 X64

Re: rx -> shadow. Не фунциклирует )

Сообщение whoim »

пришел с перекура, решил проверить. Работает. *PARDON*
Спасибо сказали:
Аватара пользователя
warlomak
Сообщения: 384
ОС: Ubuntu 10.04

Re: rx -> shadow. Не фунциклирует )

Сообщение warlomak »

whoim писал(а):
11.06.2010 16:36
пришел с перекура, решил проверить. Работает. *PARDON*

Че курил ? :crazy:
Спасибо сказали: