<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.10.3">
</HEAD>
<BODY>
Seg, 2006-08-07 às 23:10 +0800, Stephen Liu escreveu:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi José,</FONT>

<FONT COLOR="#000000">> Do at the command line:</FONT>
<FONT COLOR="#000000">> $ sudo dpkg-reconfigure locales (to set the locales ok)</FONT>

<FONT COLOR="#000000">$ sudo dpkg-reconfigure locales</FONT>
<FONT COLOR="#000000">....</FONT>
<FONT COLOR="#000000">.....</FONT>
<FONT COLOR="#000000">.....</FONT>
<FONT COLOR="#000000">[ 130.5233248]<6> bite:events 0[5] exited with preempt-count 1</FONT>

<FONT COLOR="#000000">PC hung here.</FONT>


<FONT COLOR="#000000">Force-reset PC.</FONT>

<FONT COLOR="#000000">$ sudo init 3</FONT>
<FONT COLOR="#000000">$ sudo dpkg-reconfigure locales</FONT>
<FONT COLOR="#000000">....</FONT>
<FONT COLOR="#000000">.....</FONT>
<FONT COLOR="#000000">.....</FONT>
<FONT COLOR="#000000">universal time is now Mon Augu 7  01:31:45 UTC</FONT>
<FONT COLOR="#000000">Run 'tzconfig' if you wish to change it</FONT>

<FONT COLOR="#000000">$ sudo rm /tmp/.X0-lock</FONT>
<FONT COLOR="#000000">$ sudo startx</FONT>

<FONT COLOR="#000000">A bright screen started with mouse pointer on it which can be moved</FONT>
<FONT COLOR="#000000">around.</FONT>
<FONT COLOR="#000000">(I suppose it was KDE desktop but I haven't installed it)</FONT>
</PRE>
</BLOCKQUOTE>
It's the GDM showing up the login window, but not more)
<BLOCKQUOTE TYPE=CITE>
<PRE>


<FONT COLOR="#000000">Ctrl+Alt+F4</FONT>
<FONT COLOR="#000000">$ sudo shutdown -r now</FONT>

<FONT COLOR="#000000">Rebooted PC.</FONT>

<FONT COLOR="#000000">PC started as normal but X-window still could not be started with a</FONT>
<FONT COLOR="#000000">black screen hanging.</FONT>

<FONT COLOR="#000000">$ sudo init 3</FONT>
<FONT COLOR="#000000">$ sudo cat $HOME/.xsession-error</FONT>
<FONT COLOR="#000000">....</FONT>
<FONT COLOR="#000000">....</FONT>
<FONT COLOR="#000000">locale not supported by Xlib</FONT>
<FONT COLOR="#000000">cannot set local modifier.</FONT>

<FONT COLOR="#000000">Still the same warning.</FONT>
</PRE>
</BLOCKQUOTE>
What are the locales that you want to configure?<BR>
Give the contents of the file .xsession-error<BR>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
--<BR>
Sincerely<BR>
José Oleiro aka Matafome (#computers at irc.ptnet.org <A HREF="http://blogmatafome.blogspot.com">Blog do Matafome</A> )<BR>
Running Ubuntu 6.06 Dapper with XGL on Fujitsu-Siemens Model Amilo M 1420
</TD>
</TR>
</TABLE>
</BODY>
</HTML>