I tried to change my hostname from the file /etc/hosts but the hostname remained the same.Now I found this /etc/sysconfig/network file which had my hostname.I changed the hostname and now my hostname is changed. Is this the correct procedure to change the hostname ?
Now when I run startx I seem to get following message: hostname lookup failure I can't read all the messages as the x server now displays the gray screen. I can work normally with the net and mail.
How can I redirect the messeges of x server? I tried using startx >> ~/temp but nothing is written to the temp file.
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
On Monday 23 July 2001 08:14 am, Pankaj Jangid wrote:
Try startx >& ~/temp
It worked :-)
I get following errors from the xserver:
hostname: Host name lookup failure
QSocketNotifier: Multiple socket notifiers for same socket 6 and type read Can't get own host name. Your system is severely misconfigured ( It must b kiddin right? I mean I can play mp3's,surf the net....)
Is it because I changed hostname only in /etc/sysconfig/network ?
Please help .These errors give me a creepy feeling.
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
On Mon, 23 Jul 2001, Nikhil Joshi wrote:
On Monday 23 July 2001 08:14 am, Pankaj Jangid wrote:
Try startx >& ~/temp
It worked :-)
I get following errors from the xserver:
hostname: Host name lookup failure
QSocketNotifier: Multiple socket notifiers for same socket 6 and type read Can't get own host name. Your system is severely misconfigured
my startx doesn't give any line containing word hostnamelookup.
pankaj
Sometime on Jul 23, Nikhil Joshi assembled some asciibets to say:
On Monday 23 July 2001 08:14 am, Pankaj Jangid wrote:
Try startx >& ~/temp
The preferred way (man bash) is startx &> ~/temp The above is also supported and correct, but not preferred.
Is it because I changed hostname only in /etc/sysconfig/network ?
You're supposed to use the hostname command to change your hostname:
% hostname newhostname
You may also want to check in /etc/hosts
Philip
On Tuesday 24 July 2001 12:36 am, Philip S Tellis wrote:
You may also want to check in /etc/hosts
I added my new hostsname in /etc/hosts and now I don't get the error Thanks :-)
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
On Mon, 23 Jul 2001, Nikhil Joshi wrote:
How can I redirect the messeges of x server? I tried using startx >> ~/temp but nothing is written to the temp file.
X errors are usually redirected to .xsession-errors. If you want to redirect your stdout as well as stderr, then do this:
startx &>.xsession-errors &
Philip