Sponsored Content
Operating Systems Linux SuSE NoMachine NX window closes after establishing connection Post 302357173 by blackicecube on Tuesday 29th of September 2009 01:45:53 AM
Old 09-29-2009
Question NoMachine NX window closes after establishing connection

Hi, I am trying to use nomachine nx server and client. But somehow it doen't work. What happens is the following:

1.- Client starts up
2.- Client authenticates with Server
3.- The NoMachine window appears for 2-4 seconds
4.- The NoMachine window exists

Somehow a "closeEvent" is sent. Here's what I see in the log file:

Code:
[Thu Sep 24 11:20:37 2009]: Starting nxcomp with options: 'NX> 299 Switch connection to: NX mode: unencrypted options: nx/nx,options=/home/foo/.nx/S-adnws029-1022-7EEF1367361DB2A7F4D9F76B06F4B434/options:1022'.
[Thu Sep 24 11:20:38 2009]: NXFileMonitor::readData
[Thu Sep 24 11:20:38 2009]: NXFileMonitor: opened file: [/home/foo/.nx/S-adnws029-1022-7EEF1367361DB2A7F4D9F76B06F4B434/session]
[Thu Sep 24 11:20:38 2009]: LoginDialog::ShowConnectionStatus code=[246] str=[Initializing X protocol compression] error=[0]
[Thu Sep 24 11:20:38 2009]: ProgressDialog::printNxStatus: [Initializing X protocol compression]
[Thu Sep 24 11:20:38 2009]: LoginDialog::ShowConnectionStatus code=[247] str=[Established the display connection] error=[0]
[Thu Sep 24 11:20:38 2009]: ProgressDialog::printNxStatus: [Established the display connection]
[Thu Sep 24 11:20:38 2009]: NXFileMonitor::readData
[Thu Sep 24 11:20:38 2009]: NXFileMonitor::readData
[Thu Sep 24 11:20:38 2009]: NXFileMonitor::readData
[Thu Sep 24 11:20:38 2009]: LoginDialog: slotAgentTimer
[Thu Sep 24 11:20:38 2009]: NXFileMonitor::readData
[Thu Sep 24 11:20:38 2009]: NXFileMonitor::readData
[Thu Sep 24 11:20:38 2009]: NXFileMonitor::readData
[Thu Sep 24 11:20:38 2009]: NXFileMonitor::readData
[Thu Sep 24 11:20:38 2009]: QClipboard: Unknown SelectionClear event received.
[Thu Sep 24 11:20:38 2009]: LoginDialog: slotAgentTimer
[Thu Sep 24 11:20:38 2009]: LoginDialog: Agent found closing windows...
[Thu Sep 24 11:20:38 2009]: LoginDialog: setting automatic reconnection to true.
[Thu Sep 24 11:20:38 2009]: Settings::flush
[Thu Sep 24 11:20:38 2009]: Settings::flush
[Thu Sep 24 11:20:38 2009]: LoginDialog: closeEvent received!
[Thu Sep 24 11:20:38 2009]: NXFileMonitor::readData
[Thu Sep 24 11:20:38 2009]: NXFileMonitor::readData
[Thu Sep 24 11:20:38 2009]: LoginDialog::destructor called begin
[Thu Sep 24 11:20:38 2009]: LoginDialog: stopAllTimers
[Thu Sep 24 11:20:38 2009]: LoginDialog: stopProgressTimer
[Thu Sep 24 11:20:38 2009]: Utility::getPreferencesFile: 'nxclient' -> '/home/foo/.nx/config/nxclient.cfg'
[Thu Sep 24 11:20:38 2009]: Settings::flush
[Thu Sep 24 11:20:38 2009]: Called destructor for protocol class
[Thu Sep 24 11:20:38 2009]: LoginDialog::destructor called end

Anyone with a helpful idea?

Thanks, Peter
 

10 More Discussions You Might Find Interesting

1. Programming

multiuser chat server closes when one client closes. code included

I have been trying to write a very basic chat program but at the moment I am having problems getting it to be multiuser as it closes all connections when one client shutsdown. I have also been having problems trying to get the program to display a list of usernames to the clients. I have tried... (0 Replies)
Discussion started by: dooker
0 Replies

2. UNIX for Dummies Questions & Answers

Establishing connections

Hello there, just a quick question.....Can someone please explain the concept that enables you to establish a connection using the same userId Thanx (1 Reply)
Discussion started by: BigTool4u2
1 Replies

3. Shell Programming and Scripting

Problem establishing Connection on the LAN

Hi everybody i need your help on this I have LAN which run Sun microsystem with solaris 7 OS on each of the servers. The LAN was working fine before an interruption of power supply which makes servers to operating as standalone servers. i.e none of the servers have access to one another. How do i... (2 Replies)
Discussion started by: sbmada
2 Replies

4. UNIX for Advanced & Expert Users

SSH closes connection when using arrow keys

Hi, I'm having a problem with my ssh link to various Sun servers running Solaris 9 and 10 from an Windows XP box running Cygwin/X. I am using ssh to connect to a number of different Sun servers. My problem is that when editing a remote shell command line with the arrow direction keys the... (0 Replies)
Discussion started by: stv_t
0 Replies

5. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

6. Ubuntu

establishing connection with e-kermit running on LINUX from my operating system

we designed a primitive operating system for learning basics fundamentals and we created process switching, interrupt/polled IO for device drivers like UART and printers. We accomplish this by using our own tools called SPEDE (for downloading compiled elf image from host ubuntu system that have... (0 Replies)
Discussion started by: bicepjai
0 Replies

7. Solaris

sftp connection closes if idle for around 10minutes

does sftp connection closes by default if it stays idle for a prolonged time ? i have checked sshd_config files , there is no time out value set. but still the connection closes after certain period of time. Please help. verbose mode output : sftp> debug1: channel 0: free:... (10 Replies)
Discussion started by: chidori
10 Replies

8. Shell Programming and Scripting

Establishing remote connection to a Xserver from a UNIX Box

Hello Guys , I have been working on a script where we are looking to connect a remote Xserver from a Unix box. Once a connection is made , i need to run several commands on remote machine to check various stuffs. As per my knowledge on unix (which is like a drop in ocean) , i found SSH as a... (7 Replies)
Discussion started by: himanshu sood
7 Replies

9. UNIX for Beginners Questions & Answers

Sftp connection not establishing from Linux to DataPower

Hi Everyone, I am trying to send files from Linux to DataPower server using public key based authentication but it's not working as expected and every-time password expecting for sftp transfer. Can someone please help on this? Steps I fallowed: Created keys pair at source server... (4 Replies)
Discussion started by: renukeswar
4 Replies

10. Shell Programming and Scripting

Telnet connection closes before i execute GET command

I tried the below steps for telnet command from a remote server: 1. telnet myservice.com 443 2. GET / HTTP/1.0 3. Press enter key twice Please see the output below: bash-3.2$ hostname remoteserver1 bash-3.2$ telnet myservice.com 443 Trying 191.172.172.133... Connected to... (7 Replies)
Discussion started by: mohtashims
7 Replies
Server::Relay(3pm)					User Contributed Perl Documentation					Server::Relay(3pm)

NAME
Net::SMTP::Server::Relay - A simple relay module for Net::SMTP::Server. SYNOPSIS
use Carp; use Net::SMTP::Server; use Net::SMTP::Server::Client; use Net::SMTP::Server::Relay; $server = new Net::SMTP::Server('localhost', 25) || croak("Unable to handle client connection: $! "); while($conn = $server->accept()) { # We can perform all sorts of checks here for spammers, ACLs, # and other useful stuff to check on a connection. # Handle the client's connection and spawn off a new parser. # This can/should be a fork() or a new thread, # but for simplicity... my $client = new Net::SMTP::Server::Client($conn) || croak("Unable to handle client connection: $! "); # Process the client. This command will block until # the connecting client completes the SMTP transaction. $client->process || next; # In this simple server, we're just relaying everything # to a server. If a real server were implemented, you # could save email to a file, or perform various other # actions on it here. my $relay = new Net::SMTP::Server::Relay($client->{FROM}, $client->{TO}, $client->{MSG}); } DESCRIPTION
The Net::SMTP::Server::Relay module implements simple SMTP relaying for use with the Net::SMTP::Server module. All this module does is to take a given message and iterate through the list of recipients, doing DNS lookups for the associated MX record and delivering the messages. This module makes extensive use of the plethora of other modules already implemented for Perl (specifically the DNS and Net::SMTP modules in this case), and should give but a glimpse of the potential for extending the Net::SMTP::Server's functionality to provide a full-featured SMTP server, native to Perl. The above example illustrates the use of the Net::SMTP::Server::Relay modules -- you simply have to instantiate the module, passing along the sender, recipients, and message. More formally: $relay = new Net::SMTP::Server::Relay($from, @to, $msg); Where $from is the sender, @to is an array containing the list of recipients, and $msg is the message to relay. AUTHOR AND COPYRIGHT Net::SMTP::Server / SMTP::Server is Copyright(C) 1999, MacGyver (aka Habeeb J. Dihu) <macgyver@tos.net>. ALL RIGHTS RESERVED. You may distribute this package under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file. SEE ALSO
Net::SMTP::Server::Server, Net::SMTP::Server::Client perl v5.10.1 1999-12-28 Server::Relay(3pm)
All times are GMT -4. The time now is 09:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy