Scott Leighton wrote:
On Sunday 10 April 2005 8:06 am, Erik Jakobsen wrote:
Scott Leighton wrote:
Scott !.
Can you get fetchmailconf up running ?.
Erik Jakobsen
Yes, works fine here. The GUI comes right up.
Scott
Ok Scott.
Could you please tell me what you do.
Is what I have: locate fetchmailconf /usr/bin/fetchmailconf /usr/share/man/man1/fetchmailconf.1.gz
Do you run it in a terminal and write kdesu fetchmailconf or using xhost +localhost ?.
X has nothing to do with your problem. The error message you are getting does not mention a problem with X, it specifically tells you that fetchmailconf is dying because it cannot obtain your hostname via gethostbyaddr period.
Ok fine, then this is nothing to think of.
erikja@lajka3:/usr/bin> fetchmailconf Traceback (most recent call last): File "/usr/bin/fetchmailconf", line 2028, in ? hostname = socket.gethostbyaddr(socket.gethostname())[0] socket.gaierror: (-2, 'Name or service not known')
Look at line 2028 of the fetchmailconf python script, you will find...
# Get client host's FQDN hostname = socket.gethostbyaddr(socket.gethostname())[0]
That's where it dies, you never see the gui because the program is dying on you.
I have been there, and how can I avoid it to die ?.
Now, to answer your question, I run it as a normal user in terminal, e.g.,
helphand@helphand:~> fetchmailconf helphand@helphand:~>
And up pops the GUI.
Sounds very easy. But what's the difference between your line 2028 and mine ?
Scott
Erik