Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nxserver - brak możliwości zestawienia sesji
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW
View previous topic :: View next topic  
Author Message
ViPE3R
n00b
n00b


Joined: 07 Sep 2011
Posts: 0

PostPosted: Wed Sep 07, 2011 9:54 am    Post subject: nxserver - brak możliwości zestawienia sesji Reply with quote

Witam.
Od jakiegoś czasu posiadam gentoo zainstalowane pod virtualboxem. Służy głównie do celów edukacyjnych. Do tej pory łączyłem się zdalnie z innego komputera przez ssh a wczoraj postanowiłem użyć NX. Skompilowałem nxserver-freeedition, dopisałem nxsensor oraz nxserver do rc-update. Zmieniłem wartości kilku zmiennych w /usr/NX/etc/server.cfg tak aby mieć statystyki i możliwość logowania z root'a. Zrestartowałem maszynę virtualną i zaczęły się problemy.

Na początku nie miałem dostępu do zestawienia sesji z root'a ale po kolejnych zmianach w server.cfg przy próbie połączenia otrzymałem komunikat:

Code:
NX> 536 ERROR: Reached the maximum number of allowed users on this server.


http://www.nomachine.com/fr/view.php?id=FR10C01087 - z tego artykułu teoretycznie wynika, ze to kwestia licencji no ale ja próbuję zestawić tylko jedną sesję.

Przy próbie połączenia się z poziomu usera dostaję natomiast taki log:

Code:
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) NX> 596 ERROR: NXNODE Ver. 3.5.0-4  (Error id e670DFE)
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) NX> 596 ERROR: create session: run commands
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) NX> 596 ERROR: execution of last command failed
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) NX> 596 last command: /usr/bin/xauth -v -f /home/user/.nx/C-gentoo-vb-1009-0C87BA1C505ADA8B81D74F0349C253A3/authority source /home/user/.nx/C-gentoo-vb-1009-0C87BA1C505ADA8B81D74F0349C253A3/scripts/authority
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) NX> 596 exit value: 1
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) NX> 596 stdout: Using authority file /home/user/.nx/C-gentoo-vb-1009-0C87BA1C505ADA8B81D74F0349C253A3/authority
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) NX> 596 Writing authority file /home/user/.nx/C-gentoo-vb-1009-0C87BA1C505ADA8B81D74F0349C253A3/authority
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) NX> 596 stderr: /usr/bin/xauth:  file /home/user/.nx/C-gentoo-vb-1009-0C87BA1C505ADA8B81D74F0349C253A3/authority does not exist
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) NX> 596 /usr/bin/xauth: /home/user/.nx/C-gentoo-vb-1009-0C87BA1C505ADA8B81D74F0349C253A3/scripts/authority:3:  bad display name "gentoo-vb:1009" in "add" command
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) NX> 596 init: stdin arguments: user=user,userip=10%2e0%2e2%2e2,uniqueid=0C87BA1C505ADA8B81D74F0349C253A3,display=1009,node_number=0,server_name=gentoo%2dvb,license=%28None%29,subscriptionid=None,productid=LFE,reconnect=1,balance_host=10%2e0%2e2%2e15,encryption_mode=3,connection=local,images=64M,cache=16M,client=winnt,media=0,backingstore=1,encryption=1,strict=0,clipboard=both,shpix=1,rootless=0,composite=1,session=gento%2dvb,shmem=1,type=unix%2dkde,virtualdesktop=1,screeninfo=1366x768x32%2brender%2bfullscreen,keyboard=pc102%2fpl,fullscreen=1,geometry=1360x700,link=adsl
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) NXNodeExec::exec('startsession', 'user=user&userip=10%2e0%2e2%2e2&uniqueid=0C87BA1C505ADA8B81D74...', 'localhost', 22) called at handlers/nxserver.pl line 3580
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) NXShell::handler_session_start('--link="adsl" --backingstore="1" --encryption="1" --cache="16M" ...') called at NXShell.pm line 373
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) NXShell::handle_command('startsession', '--link="adsl" --backingstore="1" --encryption="1" --cache="16M" ...') called at NXShell.pm line 145
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) NXShell::run() called at nxserver.pl line 4495
Sep  7 10:26:44 gentoo-vb NXSERVER-3.5.0-5[32206]: ERROR: (exception id F3978459) eval {...} called at nxserver.pl line 4454


Wykonałem jeszcze następujące czynności:

1. Z root'a wygenerowałem klucz
Code:
/usr/NX/scripts/setup/nxserver --keygen


2. Skopiowałem default.id_dsa.key na komputer z którego się łączę i zaimportowałem do klienta NX

3. Dodałem konto, którego używam do NX do grup: nx oraz nxuser w /etc/group.

Jestem laikiem jeśli chodzi o gentoo więc proszę o wyrozumiałość.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum