Strona 1 z 1

błędy przy konfiguracji i działaniu serwera NX

: 25 maja 2010, 20:44
autor: milw0rm
Witam.
Skonfigurowałem sobie na serwerze vps Debiana 5.0 według poradnika http://debian.linux.pl/threads/18029-In ... pitu/page2 z nowszą wersją NX i spotkałem się przy podłączeniu już do vps z takim błędem:

Kod: Zaznacz cały

Server configuration error. Cannot log in. Plase contact you system administrator.
A to detale błędu:

Kod: Zaznacz cały

NX> 203 NXSSH running with pid: 5364
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 188.116.3.108 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 3.4.0-12 - LFE
NX> 105 Hello NXCLIENT - Version 3.4.0
NX> 134 Accepted protocol: 3.4.0
NX> 105 Set shell_mode: shell
NX> 105 Set auth_mode: password
NX> 105 Login 
NX> 101 User: pacio123
NX> 102 Password: ******
NX> 103 Welcome to: 11428.serwervps.pl user: pacio123
NX> 105 Listsession --user="pacio123" --status="suspended\054running" --geometry="1920x1080x32+render" --type="unix-gnome" 
NX> 127 Available sessions: 

Display Type             Session ID                       Options  Depth Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------

NX> 148 Server capacity: not reached for user: pacio123
NX> 105 Start session with: --link="adsl" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="1" --mediahelper="esd" --session="188.116.3.108" --type="unix-gnome" --geometry="1914x1024" --client="winnt" --keyboard="pc102\057pl" --screeninfo="1914x1024x32+render" 
NX> 595 ERROR: A fatal error occurred in NX Server.
NX> 595 ERROR: The exception id is: ED9BB670. To get detailed information about
NX> 595 ERROR: the error search for the string ED9BB670 in the system log
NX> 595 ERROR: file (usually '/var/log/messages').
NX> 500 ERROR: Last operation failed.
NX> 280 Exiting on signal: 15
Dodane:
Witam.
NX i wszystko zainstalowałem na VPS-ie z Debianem 5.0 i teraz mam taki problem, próbuję się połączyć z moim serwerem przez klienta Windows i wyświetla mi się taki błąd:

Kod: Zaznacz cały

NX> 203 NXSSH running with pid: 6504
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 188.116.3.108 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.
Ja wcale nie łączę się przez użytkownika nx tylko przez milw0rm i wpisuję hasło i właśnie taki błąd. Na serwerze wszystko działa (ssh). Proszę o pomoc, czym to może być spowodowane.

Dodane:
Działałem według poradnika: http://debian.linux.pl/threads/8744-Pul ... lowa%C4%87

Doszedłem do tego i mam następny błąd:

Kod: Zaznacz cały

NX> 203 NXSSH running with pid: 7604
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 188.116.3.108 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 3.4.0-12 - LFE
NX> 105 Hello NXCLIENT - Version 3.4.0
NX> 134 Accepted protocol: 3.4.0
NX> 105 Set shell_mode: shell
NX> 105 Set auth_mode: password
NX> 105 Login 
NX> 101 User: pacio
NX> 102 Password: ******
NX> 103 Welcome to: 11428.serwervps.pl user: pacio
NX> 105 Listsession --user="pacio" --status="suspended\054running" --geometry="1440x900x32+render" --type="unix-gnome" 
NX> 127 Available sessions: 

Display Type             Session ID                       Options  Depth Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------

NX> 148 Server capacity: not reached for user: pacio
NX> 105 Start session with: --link="adsl" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="188.116.3.108" --type="unix-gnome" --geometry="1434x844" --client="winnt" --keyboard="pc102\057pl" --screeninfo="1434x844x32+render" 
NX> 595 ERROR: A fatal error occurred in NX Server.
NX> 595 ERROR: The exception id is: 56F0884C. To get detailed information about
NX> 595 ERROR: the error search for the string 56F0884C in the system log
NX> 595 ERROR: file (usually '/var/log/messages').
NX> 500 ERROR: Last operation failed.
NX> 280 Exiting on signal: 15
Nie rozumiem dwóch pod punktów przy konfiguracji nx serwera
4. W pliku etc/ssh/sshd.config dodajesz użytkownika nx do listy użytkowników ssh np.:

Kod: Zaznacz cały

AllowUsers nx 
5. W /etc/ profile dodaj ścieżkę dostępu /usr/NX/bin/ (i od razu łatwiej)
6. Zmień hasło dla użytkownika nx nxserver nxserver --paswd nx
jak ja to mam dodać, w konsoli nie ma takich poleceń? Proszę o wyjaśnienie.

: 28 maja 2010, 13:30
autor: Yuji
Ach.
4. Plik to /etc/ssh/sshd_config (sudo vim /etc/ssh/sshd_config i dopisujesz)
5. Plik /etc/profile, ścieżka po angielski to path. (wyeksportować zmienną PATH) (też sudo vim /etc/profile)
6. passwd (sudo passwd nx)

Radzę zmienić temat na bardziej treściwy bo "Debian proszę o pomoc" mówi nam "duuuuużo", czyli tyle co nic.

: 28 maja 2010, 13:43
autor: milw0rm
Dziękuję. Słuchaj, teraz jest taki problem, wyświetla mi taki błąd:

Kod: Zaznacz cały

NX> 203 NXSSH running with pid: 1632
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 188.116.3.108 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 3.4.0-12 - LFE
NX> 105 Hello NXCLIENT - Version 3.4.0
NX> 134 Accepted protocol: 3.4.0
NX> 105 Set shell_mode: shell
NX> 105 Set auth_mode: password
NX> 105 Login 
NX> 101 User: pacio
NX> 102 Password: ******
NX> 103 Welcome to: 11428.serwervps.pl user: pacio
NX> 105 Listsession --user="pacio" --status="suspended\054running" --geometry="1440x900x32+render" --type="unix-gnome" 
NX> 127 Available sessions: 

Display Type             Session ID                       Options  Depth Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------

NX> 148 Server capacity: not reached for user: pacio
NX> 105 Start session with: --link="adsl" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="188.116.3.108" --type="unix-gnome" --geometry="1434x844" --client="winnt" --keyboard="pc102\057pl" --screeninfo="1434x844x32+render" 
NX> 595 ERROR: A fatal error occurred in NX Server.
NX> 595 ERROR: The exception id is: 04FD1937. To get detailed information about
NX> 595 ERROR: the error search for the string 04FD1937 in the system log
NX> 595 ERROR: file (usually '/var/log/messages').
NX> 500 ERROR: Last operation failed.
NX> 280 Exiting on signal: 15

: 28 maja 2010, 13:51
autor: fnmirk
milw0rm, przestań robić bałagan na forum przez zakładanie kilku wątków na ten sam temat.

Instalacja VNC, VPS

: 28 maja 2010, 14:22
autor: milw0rm
Witam.
Posiadam serwer VPS z http://www.hitme.pl i teraz mam program NX WINDOWS i jestem tam opcja połączenie VNC teraz próbuję zainstalować VNC prze ssh i prosiłbym o małą pomoc intrukcję lub coś.
Z góry dziękuję.

: 28 maja 2010, 14:44
autor: Yuji
Przeczytałeś komunikat jaki wypluł?
Zajrzyj do pliku który proponuje, czyli:

Kod: Zaznacz cały

/var/log/messages
Do końca nie wiem co to w ogóle jest MX, miewam, że jakiś serwer zdalnego dostępu czy coś takiego. Ale takie małe spostrzerzenia

Kod: Zaznacz cały

Server capacity: not reached for user: pacio ... - nie ma uprawnień?
A fatal error occurred in NX Server. ... To get detailed information about the error search for the string 04FD1937 in the system log file (usually '/var/log/messages')...
Zajrzyj w logi jak możesz, może coś tam znajdziesz.
Coś mi się zdaje, że winą może być nie do końca skonfigurowany serwer, uprawnienia dla usera, źle łączenie się z serwerem, ...

Do zdalnego dostępu jest taka aplikacja jak rdesktop (z linuxa), ale nie wiem czy ma coś wspólnego z tym problemem.