LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu 9.04 boots to blackscreen with mouse pointer (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-9-04-boots-to-blackscreen-with-mouse-pointer-732770/)

mpabele 06-13-2009 07:59 PM

Ubuntu 9.04 boots to blackscreen with mouse pointer
 
I'm having trouble getting Ubuntu 9 to boot. Everything looks fine until the Ubuntu logo and progress line blank out, I think to go the GUI. All I get is a black screen with the mouse pointer in the middle. The keyboard and mouse are dead at that point. The only out is to power off and try again. I finally got fully booted this afternoon and everything seems to work fine, but I know if I shut down the problem sequence will start all over again. Can you help me diagnose what the problem is? I know nothing about linux, but I'm sure I can follow instructions to input command line commands.

Dell Optiplex with 1.7 ghz P-4
256 MB memory
20 GB drive, dual boot with Win XP and Ubuntu 9.04
Nvidia GeForce2 MX 100/200 Display adapter

Win XP works fine, albeit very slow, with no problems.

jamescondron 06-13-2009 08:04 PM

Take a look in your logs in /var/log. You may be able to troubleshoot from there. A good starting place would be:

Code:

tail -50 /var/log/Xorg.log.0|less
tail /var/log/messages.1


ankscorek 06-13-2009 08:20 PM

how about posting the log along with ur xserver file

mpabele 06-13-2009 09:03 PM

I'm sorry, I don't understand what you are telling me to do. Are you suggesting that I should break the boot process and enter those lines of code on the command line? Please forgive my ignorance-I'm completely new to this. Also, since I finally got the computer to the desktop, is there a way to check for errors from the GUI? I'm certain if I shut the computer down I won't be able to boot it again.

jamescondron 06-13-2009 09:46 PM

I'm suggesting that since you're still logged in, you enter those commands and have a look through them. Those are the logs for the X server, and kernel messages. Any problem will likely be in those somewhere, they should be easy to see.

The first command
Code:

tail -50 /var/log/Xorg.log.0|less
means "Take the last 50 lines on the specified file, then pipe that into less which means you can navigate up and down the file with the arrow keys"
The second command
Code:

tail /var/log/messages.1
Means "Show me the bottom ten lines of the specified file"

We're using these files, and not the upto date ones, because these should document the last file prior to the one in use, as in; the ones that failed.

mpabele 06-13-2009 10:09 PM

Thanks James. I tried entering these two commands and I just get a blinking square cursor. Do these commands take a long time to complete? I tried closing Terminal window and I get "Close this window? There is still a process running in this terminal. Closing the terminal will kill it."

A little more history: After dealing with this problem for many hours, I tried to reinstall Ubuntu from the CD. It won't let me do that. I was able to boot into Live CD one time and I got all the way to the GUI. Then I shut down and tried again to reload from CD - no deal. It was several boots after that that I got completely booted to the GUI, where I am now. It seems odd to me that I can't just reload from CD. It makes me think Ubuntu doesn't like something in my hardware, but I don't know what.

I still haven't got a report ...

Michael

mpabele 06-13-2009 10:13 PM

I just opened a new Terminal window and reentered the first command. This what I got: "tail: cannot open 'var/log/Xorg.log.0' for reading: No such file or directory (END)

michael

jamescondron 06-13-2009 10:14 PM

A blibking cursor... Neither of those should give you a blinking cursor, so that may point towards a different error all together. Whilst running those commands, run something like 'top' as well; see what happens on there, see what it is doing.

Perhaps some hardware background too, see if there is anything in there that we can pin


EDIT:
Sorry, thats my fault, I mangled the filename:
Xorg.0.log.old

mpabele 06-13-2009 10:28 PM

Here is what I get:

michael@BigDell:~$ tail -50 /var/log/Xorg.0.log.old
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) config/hal: Adding input device Macintosh mouse button emulation
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.6.0, module version = 2.1.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 4.0
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event2"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
(**) Macintosh mouse button emulation: (accel) filter chain progression: 2.00
(**) Macintosh mouse button emulation: (accel) filter stage 0: 20.00 ms
(**) Macintosh mouse button emulation: (accel) set acceleration profile 0
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event3"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) AT Translated Set 2 keyboard: xkb_rules: "evdev"
(**) Option "xkb_model" "pc105"
(**) AT Translated Set 2 keyboard: xkb_model: "pc105"
(**) Option "xkb_layout" "us"
(**) AT Translated Set 2 keyboard: xkb_layout: "us"
(II) config/hal: Adding input device PS/2 Generic Mouse
(**) PS/2 Generic Mouse: always reports core events
(**) PS/2 Generic Mouse: Device: "/dev/input/event5"
(II) PS/2 Generic Mouse: Found 3 mouse buttons
(II) PS/2 Generic Mouse: Found x and y relative axes
(II) PS/2 Generic Mouse: Configuring as mouse
(**) PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
(**) PS/2 Generic Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "PS/2 Generic Mouse" (type: MOUSE)
(**) PS/2 Generic Mouse: (accel) keeping acceleration scheme 1
(**) PS/2 Generic Mouse: (accel) filter chain progression: 2.00
(**) PS/2 Generic Mouse: (accel) filter stage 0: 20.00 ms
(**) PS/2 Generic Mouse: (accel) set acceleration profile 0
michael@BigDell:~$

mpabele 06-13-2009 10:32 PM

James - What is "Top" ?

ankscorek 06-14-2009 08:42 PM

heycan u please post the screen section of this file

/etc/X11/xorg.conf

i am having doubts on this part of ur log

LoadModule: "evdev"

also please do one more thing from a shell type

startx

u need to pipe the output to a file

post the output here please

it will help to debug

mpabele 06-14-2009 09:48 PM

Hi Ankscorek. Here is what I get:

michael@BigDell:~$ tail /etc/X11/xorg.conf

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

I don't think I know how to do the other thing you asked me to do ... sorry for my ignorance.

Also, I'm thinking maybe I have a bad CD for Ubuntu 9.04. I compared the md5sum from the Ubuntu communtiy website with the CD and they don't match. I used the checksum in the md5sum.txt file on the CD. Today I downloaded Xubuntu and I'm trying it on another computer before I try installing it on the problem pc.

mpabele 06-15-2009 03:12 AM

When I try the "startx" command, I get a message "X: user not authorized to run the x server, aborting

I tried this command with and without redirection

michael

peonuser 06-15-2009 04:27 AM

Quote:

Originally Posted by mpabele (Post 3574115)
When I try the "startx" command, I get a message "X: user not authorized to run the x server, aborting

I tried this command with and without redirection

michael

I had fun setting up video for linux on my old macs. I ended up downloading two precompiled modules and installing the xserver-xorg-......... from the repos. I chunked my notes after I donated our macs. but it took info from three sites to get it to work. I ssh'ed into the mac machine and cut and pasted code from the net till it worked.

----------------------------------------------

This may not work for you but this is what I did or close to it.

I did a network install with the minimal cd. Hardy does not do a good job of detecting the video card. The other distros might be having the same issue. When i did the reboot, the machine came up with a blank screen, I had to go into terminal 1 to see what was going on. linux actually loaded fine except for the video. I had to dl two kernel modules mach64 and drm (thank god someone had already compiled them). did a depmod -a. Then I had to sudo apt-get install xserver-xorg-video-ati-dbg. Last of all I had to manually set the freqs and res in xorg.conf. I would not wish what I had to do on a new user (I consider myself a novice). Looking at /var/log/Xorg.0.conf and a lot of google research helped.

This is what someone else did:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbVariant" "intl"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Device"
Identifier "Configured Video Device"
BusID "PCI:0:18:0"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
Horizsync 30-65
Vertrefresh 50-75
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"

Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection

Section "Module"
Disable "glx"
Disable "dri"
EndSection

peonuser 06-15-2009 04:34 AM

Quote:

Originally Posted by mpabele (Post 3574115)
When I try the "startx" command, I get a message "X: user not authorized to run the x server, aborting

I tried this command with and without redirection

michael

I had fun setting up video for linux on my old imac. I ended up downloading two precompiled modules and installing the xserver-xorg-......... from the repos. I chunked my notes after I donated our macs. but it took infor from three sites to get it to work. I ssh'ed into the mac machine and cut and pasted code from the net till it worked.

----------------------------------------------

This may not work for you but this is what I did or close to it.

I did a network install with the minimal cd. Hardy does not do a good job of detecting the video card. The other distros might be having the same issue. When i did the reboot, the machine came up with a blank screen, I had to go into terminal 1 to see what was going on. linux actually loaded fine except for the video. I had to dl two kernel modules mach64 and drm (thank god someone had already compiled them). did a depmod -a. Then I had to sudo apt-get install xserver-xorg-video-ati-dbg. Last of all I had to manually set the freqs and res in xorg.conf. I would not wish what I had to do on a new user (I consider myself a novice). Looking at /var/log/Xorg.0.conf and a lot of google research helped.

This is what someone else did: (I cut and pasted this into my xorg.conf)

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbVariant" "intl"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Device"
Identifier "Configured Video Device"
BusID "PCI:0:18:0"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
Horizsync 30-65
Vertrefresh 50-75
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"

Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection

Section "Module"
Disable "glx"
Disable "dri"
EndSection


All times are GMT -5. The time now is 11:27 AM.