FreeNX закрывается сессия

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

Аватара пользователя
vak_200566
Сообщения: 88

FreeNX закрывается сессия

Сообщение vak_200566 »

Установил freenx-server (rx@etersoft), клиент от nomachine. После подключения к удалённому рабочему столу идёт процесс запуска стола... и только всё готово - происходит закрытие сессии с сообщением "The connection with the remote server was shut down. Please check the state of your network connection." В логах посмотрел - вроде явно причины не видно. Используются две рабочие станции AltLinuxDestop4.1и AltLinuxDestop4.0

лог такой закрывшейся сессии:

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

NXAGENT - Version 3.3.0

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

Info: Agent running with pid '25258'.
Session: Starting session at 'Mon Feb  1 18:29:34 2010'.
Info: Proxy running in server mode with pid '25258'.
Info: Waiting for connection from '127.0.0.1' on port '6015'.
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 'kde'.
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 ':2015'.
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 C locale
keyboard file created
SessionPath not defined
Session: Session started at 'Mon Feb  1 18:29:35 2010'.
Info: Screen [0] resized to geometry [1024x714] fullscreen [0].
startkde: Starting up...
kbuildsycoca running...
kio (KIOConnection): ERROR: Could not write data
GCJ PLUGIN: thread 0x8083308: NP_GetValue
GCJ PLUGIN: thread 0x8083308: NP_GetValue: returning plugin name.
GCJ PLUGIN: thread 0x8083308: NP_GetValue return
GCJ PLUGIN: thread 0x8083308: NP_GetValue
GCJ PLUGIN: thread 0x8083308: NP_GetValue: returning plugin description.
GCJ PLUGIN: thread 0x8083308: NP_GetValue return
GCJ PLUGIN: thread 0x8083308: NP_GetMIMEDescription
GCJ PLUGIN: thread 0x8083308: NP_GetMIMEDescription return
kbuildsycoca running...
Reusing existing ksycoca
kio (KService*): WARNING: Invalid Service : basket_config_notes.desktop
kio (KService*): WARNING: Invalid Service : basket_config_features.desktop
Xlib:  extension "MIT-SCREEN-SAVER" missing on display ":2015.0".
kio (KService*): WARNING: The desktop entry file .hidden/dirfilterplugin.desktop has Type=Service but is located under "apps" instead of "services"
kio (KService*): WARNING: Invalid Service : .hidden/dirfilterplugin.desktop
Failed to get lock on /tmp/.ktorrent_500.lock : Resource temporarily unavailable
ktorrent is already running!
ERROR: KUniqueApplication: Registering failed!
ERROR: Communication problem with ktorrent, it probably crashed.
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
klauncher: Exiting on signal 1
kicker: sighandler called
*** kdesktop got signal 1 (Exiting)
QApplication::postEvent: Unexpected null receiver
ksmserver: Fatal IO error: client killed
ICE default IO error handler doing an exit(), pid = 25447, errno = 4
kdeinit: sending SIGTERM to children.
kdeinit: Exit.
kicker: sighandler called
klauncher: Fatal IO error: client killed
DCOP aborting (delayed) call from 'kded' to 'klauncher'
kicker: Fatal IO error: client killed
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
DCOPClient::attachInternal. Attach failed Could not open network socket
DCOPClient::attachInternal. Attach failed Could not open network socket
ERROR: Couldn't attach to DCOP server!
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
X11GlobalComm: Can't connect to the XServer - Initial references won't work.
bad md5 secret-cookie obtained from Arts::X11GlobalComm - replacing it
startkde: Running shutdown scripts...
xprop:  unable to open display ':2015'
usage:  xprop [-options ...] [[format [dformat]] atom] ...

where options include:
    -grammar                       print out full grammar for command line
    -display host:dpy              the X server to contact
    -id id                         resource id of window to examine
    -name name                     name of window to examine
    -font name                     name of font to examine
    -remove propname               remove a property
    -set propname value            set a property to a given value
    -root                          examine the root window
    -len n                         display at most n bytes of any property
    -notype                        do not display the type field
    -fs filename                   where to look for formats for properties
    -frame                         don't ignore window manager frames
    -f propname format [dformat]   formats to use for property of given name
    -spy                           examine window properties forever

startkde: Done.
kdeinit: sending SIGTERM to children.
kdeinit: Exit.


Подскажите плиз что ещё можно поправить-посмотреть?
Спасибо сказали:
bsavelev
Сообщения: 231
ОС: Debian

Re: FreeNX закрывается сессия

Сообщение bsavelev »

попробуйте mv ~/.kde/share/config/ksmserverrc ~/.kde/share/config/ksmserverrc_backup

если не поможет попробуйте с чистым (свежесозданным) пользователем.
Спасибо сказали:
Аватара пользователя
vak_200566
Сообщения: 88

Re: FreeNX закрывается сессия

Сообщение vak_200566 »

bsavelev писал(а):
01.02.2010 15:22
попробуйте mv ~/.kde/share/config/ksmserverrc ~/.kde/share/config/ksmserverrc_backup


Спасибо, это вроде помогло - сессия держится.
Спасибо сказали:
Аватара пользователя
vak_200566
Сообщения: 88

Re: FreeNX закрывается сессия

Сообщение vak_200566 »

Да действительно, так и получается. Сначала поправили файлик ~/.kde/share/config/ksmserverrc , - удалённый рабочий стол начал открываться. Но при попытке запустить не рабочий стол, а приложение (например kcalc) - не происходило ничего. Ни ошибок, ни вообще какой либо реакции. Просто приложение не открывалось. Всё заработало, как и предполагалось (bsavelev), после создания "свежего пользователя". Видимо создаются какие то "хвосты" либо в каталоге пользователя, либо в данных freenx сервера. А есть ли другой способ лечения этой проблемы без создания "свежего" пользователя?
Спасибо сказали: