LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-04-2004, 12:14 AM   #1
slavix
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
.xsession-errors: Could not open network socket


Hi,
I am running Debian sid. Once kde starts the xsession-errors includes these lines

startkde: Starting up...
...
Session management error: Could not open network socket
...


What could be the reason for this?

thanks in advance
slava

Last edited by slavix; 04-04-2004 at 12:16 AM.
 
Old 04-19-2004, 03:25 AM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Probably your hostname is not valid.
You can change it by modifying /etc/hostname and running /etc/init.d/hostname.sh again.
command
Code:
ping `hostname`
should work. If there is no valid nameserver available you can put a line like
Code:
127.0.0.1 yourhostname localhost
to /etc/hosts.
 
Old 08-10-2004, 04:50 AM   #3
mrmailer
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
That does not fix it for me. It does it with gnome/kde apps. If I restart X, it goes away for a while.

Any other ideas? I put 127.0.0.1 home localhost in /etc/hosts can ping `hostname`, but the problem persists.
 
Old 08-10-2004, 05:33 AM   #4
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Hmm.. the time correlation is interesting. Are you using dhcp to get your network settings from somewhere? It might be that it occasionally resets your hostname to something impractical. To check this, see if hostname command gives different values before and after the system stops working.
 
Old 08-10-2004, 01:04 PM   #5
mrmailer
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
I am using DHCP on both machines. I don't think it is a hostname thing, because terminal continues to say user@host before and after.
 
Old 08-10-2004, 02:45 PM   #6
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
I wouldn't count on what the prompt says, but more on the hostname command, ifconfig and syslog.
 
Old 08-10-2004, 04:56 PM   #7
mrmailer
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
hostname says "home" before and after

I logged into X, ran gedit and other gnome apps several times, and everything went fine.

eventually, the error started again.

cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 home localhost.localdomain localhost
(other hosts below)



cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=home
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Host lookup failure with Sendmail MattiasLofgren Slackware 4 05-14-2009 03:00 PM
Telnet : Temporary failure in name resolution : Host name lookup failure koodoo Linux - Newbie 10 02-11-2008 07:59 PM
Host name lookup failure mauroblanc Linux - Networking 2 06-16-2005 02:09 PM
DHCP: Host name lookup failure kaloyer *BSD 2 07-08-2004 11:01 AM
sendmail: host name lookup failure GabeF Linux - Networking 3 12-04-2002 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:24 AM.

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