LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-13-2009, 07:59 PM   #1
mpabele
LQ Newbie
 
Registered: Jun 2009
Location: Ventura, California, USA
Distribution: mint 16
Posts: 11

Rep: Reputation: 0
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.
 
Old 06-13-2009, 08:04 PM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
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
 
Old 06-13-2009, 08:20 PM   #3
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Rep: Reputation: 31
how about posting the log along with ur xserver file
 
Old 06-13-2009, 09:03 PM   #4
mpabele
LQ Newbie
 
Registered: Jun 2009
Location: Ventura, California, USA
Distribution: mint 16
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 06-13-2009, 09:46 PM   #5
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
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.
 
Old 06-13-2009, 10:09 PM   #6
mpabele
LQ Newbie
 
Registered: Jun 2009
Location: Ventura, California, USA
Distribution: mint 16
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 06-13-2009, 10:13 PM   #7
mpabele
LQ Newbie
 
Registered: Jun 2009
Location: Ventura, California, USA
Distribution: mint 16
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 06-13-2009, 10:14 PM   #8
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
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

Last edited by jamescondron; 06-13-2009 at 10:16 PM.
 
Old 06-13-2009, 10:28 PM   #9
mpabele
LQ Newbie
 
Registered: Jun 2009
Location: Ventura, California, USA
Distribution: mint 16
Posts: 11

Original Poster
Rep: Reputation: 0
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:~$
 
Old 06-13-2009, 10:32 PM   #10
mpabele
LQ Newbie
 
Registered: Jun 2009
Location: Ventura, California, USA
Distribution: mint 16
Posts: 11

Original Poster
Rep: Reputation: 0
James - What is "Top" ?
 
Old 06-14-2009, 08:42 PM   #11
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Rep: Reputation: 31
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

Last edited by ankscorek; 06-14-2009 at 08:43 PM.
 
Old 06-14-2009, 09:48 PM   #12
mpabele
LQ Newbie
 
Registered: Jun 2009
Location: Ventura, California, USA
Distribution: mint 16
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 06-15-2009, 03:12 AM   #13
mpabele
LQ Newbie
 
Registered: Jun 2009
Location: Ventura, California, USA
Distribution: mint 16
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 06-15-2009, 04:27 AM   #14
peonuser
Member
 
Registered: Mar 2008
Location: Where ever I am.
Distribution: Various
Posts: 173
Blog Entries: 135

Rep: Reputation: 21
Quote:
Originally Posted by mpabele View Post
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

Last edited by peonuser; 06-15-2009 at 04:28 AM.
 
Old 06-15-2009, 04:34 AM   #15
peonuser
Member
 
Registered: Mar 2008
Location: Where ever I am.
Distribution: Various
Posts: 173
Blog Entries: 135

Rep: Reputation: 21
Quote:
Originally Posted by mpabele View Post
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

Last edited by peonuser; 06-15-2009 at 04:37 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu doesn't start. It shows the mouse pointer, nothing more tirengarfio Linux - General 2 11-03-2008 09:35 AM
Slow mouse pointer movement in Ubuntu 6.06 Yggdrasill Ubuntu 1 08-08-2006 01:57 PM
Slow mouse pointer movement in Ubuntu 6.06 Yggdrasill Linux - Software 0 08-07-2006 10:17 PM
disconnect USB mouse data from the mouse pointer Yeronimo Programming 0 04-07-2005 03:26 AM
The you have a Mouse Pointer Problem(mouse stick top left)here is the solution. dr4ven Linux - Hardware 0 05-25-2003 05:53 PM


All times are GMT -5. The time now is 05:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration