Re: strange Xwindows problem Sarge
> First time as i used to run startx it used give error
> about display name "hostname:0". But now after adding
> DNS entry for my new hostname, it just does not give
> any error. Whenever i run startx the screen flashes X
> and mouse cross icon...then dies.
So then you're back to the text console, right? What
output did X produce?
If you run 'X' directly (rather than calling 'startx')
does that at least keep the 'stippled' background on
the screen until you kill it?
But it worked as a non-root user *before* you changed
the hostname? If yes, then there is probably some
file you forgot to change. How about running:
find /etc -type f | xargs grep -l <oldhostname>
Did you change only the host-portion of the hostname or
also the domain-portion?
Possible files to check are:
/etc/host*
/etc/resolv.conf
/etc/network/interfaces
You could also try reverting to the old hostname and
then googling for the full procedure for changing the
hostname :-)
Alexis
Reply to: