Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-10-2004, 04:08 PM   #1
LQ Newbie
Registered: Sep 2004
Posts: 10

Rep: Reputation: 0
Long delay and error message starting remote X session

I have just installed FC2 (fully patched) on one of my machines and I have been trying to set up LTSP.

Everything was working fine (I hadn't got LTSP fully working but everything else was OK) but a strange error has appeared.

Every time I login to X remotely or run a Gnome-Terminal in a remote X session there is a long (several minutes) delay and (in the case of starting a shell in a Gnome-Terminal) the following error appears:

Couldn't open connection to tewit:9200: Connection timed out

Apart from the long delay, everything works fine.

The name of the machine I am logging in from is tewit. This error does not appear if I ssh to the box from tewit.

Port 9200 doesn't mean anything to me and the only references I could find to it are in relation to Lexmark printers and Wireless Application Protocol, neither of which I use.

Since I only installed the OS yesterday, I have been making a lot of changes to it but the only changes I have made very recently relate to LTSP. I have installed tftp and reconfigured syslog to accept remote logging - I cannot see that either of these is relevant.

Can anyone suggest where to look to find the problem?
Old 10-11-2004, 01:06 AM   #2
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Connection delays can be caused by the server attempting a reverse DNS lookup in order to fully ID the source of the incoming connection.

To get around this you could try putting an entry in the server's /etc/hosts file for the machine trying to connect. Here's a link with a discussion of a similar issue:
Old 10-11-2004, 12:28 PM   #3
LQ Newbie
Registered: Sep 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the response, but I am running a nameserver in the domain and I have just tried doing a reverse lookup manually and it works fine. I can get the correct hostname of the remote host if I supply the ip address to the server. I have also tried adding the appropriate entry to the hosts file on the server but it made no difference.

The thing that baffles me the most is the (apparent?) reference to port 9200. It certainly appears that the server is trying to contact the client on that port and, unsurprisingly, getting no response.
Old 10-11-2004, 01:20 PM   #4
LQ Newbie
Registered: Sep 2004
Posts: 10

Original Poster
Rep: Reputation: 0
OK I have now sorted this out.

The problem was the ltsp-sound package that I had installed. This presumably tries to connect to some client program running on an LTSP client host. The version of LTSP I am configuring has that built in but the computer I was running the remote X session on is an XP box running eXceed which doesn't have sound support (so far as I know).

The reason I couldn't find any reference to port 9200 is presumably because the LTSP project just adopted it and it isn't official.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting X session on remote display cracidy Linux - General 3 10-12-2005 03:04 AM
can't start remote X session PAM error felkin Linux - General 6 08-25-2004 08:27 PM
Error message when starting aclarion Fedora 1 08-06-2004 10:36 PM
Error message when starting Gnome IPV6 Linux - Newbie 1 05-11-2004 04:51 PM
Sudden authentication error when starting an x-session insectile Linux - Software 1 03-29-2004 11:51 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration