Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Polskie forum (Polish) Polish OTW
  • Search

nxserver - brak możliwości zestawienia sesji

Rozmowy nie związane ściśle z Gentoo

Moderator: SlashBeast

Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
Author
Message
ViPE3R
n00b
n00b
Posts: 0
Joined: Wed Sep 07, 2011 9:09 am

nxserver - brak możliwości zestawienia sesji

  • Quote

Post by ViPE3R » Wed Sep 07, 2011 9:54 am

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: Select all

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: Select all

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: Select all

/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ść.
Top
Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Polish OTW”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic