Find the answer to your Linux question:
Results 1 to 3 of 3
Hi folks, Ubuntu-6.06-amd64 After running "sudo apt-get upgrade" X windows/Gnome desktop fails to start. On login screen typing User_name and password it prompts a black screen, hanging there for prolonged ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,763

    X window fails to start


    Hi folks,

    Ubuntu-6.06-amd64

    After running "sudo apt-get upgrade" X windows/Gnome desktop fails to start. On login screen typing User_name and password it prompts a black screen, hanging there for prolonged time.

    $ sudo nano $HOME/.xsession-errors
    Code:
    ......
    ......
    x-window-manager:4843:Gdk-Warning ** Locale not supported by Xlib
    x-window-manager:4843:Gdk-Warning ** cannot set locale modifier
    Ran;

    $ sudo dpkg-reconfigure locales
    Code:
    ....
    .....
    .....
    universal time is now Mon Augu 7  01:31:45 UTC
    Run 'tzconfig' if you wish to change it
    $ sudo rm /tmp/.X0-lock
    $ sudo startx

    A bright screen started with mouse pointer on it which can be moved around.
    (I suppose it was KDE desktop but I haven't installed it)


    Ctrl+Alt+F4
    $ sudo shutdown -r now

    Rebooted PC.

    PC started as normal but X-window still could not be started with a black screen hanging.

    $ sudo cat $HOME/.xsession-error
    Code:
    ......
    ......
    x-window-manager:4843:Gdk-Warning ** Locale not supported by Xlib
    x-window-manager:4843:Gdk-Warning ** cannot set locale modifier
    Still the same warning.

    Pls advise how to fix this problem. TIA

    B.R.
    satimis

  2. #2
    Just Joined!
    Join Date
    Aug 2006
    Posts
    3
    Try typing the command locale at the prompt to see what your current settings are. You can temporarily set your environment to LANG=en_US.UTF-8 or something similar depending on your choice of language. The problem you are having sounds familiar to me but I would have to dig around in my notes. Don't forget to post the results.

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,763

    Solved

    Hi dehonw,

    Tks for your advice.

    I fixed the problem by removing the CMOS battery and let the PC standing about 10 minutes. Replugged the battery. Started PC booting BIOS default. That is all.

    B.R.
    satimis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •