I can not login

Bug #887445 reported by Gunnar
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I've made a new install of 11.10 and I think I've finaly got rid of the binary drivers (fglrx and fglrx-updates, there are two?) but I still can not log in in X (I can login if I switch to console CTRL+ALT+F1)
When I try to login in X the following happens. I select my account and type my password. Hits ENTER and then the screen switches to console mode, write some gibberish (a few non a-z character) and then switches back to X and I'm back at the login where I should select account and enter my password.

I had no problems like this with 11.04 and I have not found any solution. it seems that X is crashing (I think Xorg.0.log file is supplied automatically to this bug report) and I desperatly need your help.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xorg 1:7.6+7ubuntu7
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
Date: Tue Nov 8 08:07:41 2011
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
GraphicsCard:
 ATI Technologies Inc Device [1002:95c2] (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Device [103c:30e9]
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MachineType: Hewlett-Packard HP Compaq 6830s
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=sv_SE.UTF-8
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=dec9c83c-38cf-4ccf-94bd-908425cc59a2 ro quiet splash vt.handoff=7
SourcePackage: xorg
UnitySupportTest: Error: command ['/usr/lib/nux/unity_support_test', '-p', '-f'] failed with exit code 5: Error: unable to open display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/15/2008
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68PZD Ver. F.09
dmi.board.name: 30E9
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 95.1B
dmi.chassis.asset.tag: CNU90918L7
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68PZDVer.F.09:bd12/15/2008:svnHewlett-Packard:pnHPCompaq6830s:pvrF.09:rvnHewlett-Packard:rn30E9:rvrKBCVersion95.1B:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP Compaq 6830s
dmi.product.version: F.09
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu5
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

Revision history for this message
Gunnar (ubuntu-hwbqs6tox) wrote :
Revision history for this message
Gunnar (ubuntu-hwbqs6tox) wrote :

Oh, I should add that I started out with having the same problem with the login when I used the binary drivers. I then tried to remove them, but no success, the same error that is reported in this bug.

Revision history for this message
Gunnar (ubuntu-hwbqs6tox) wrote :

I should also add explicitly what is written in Xorg.0.log and syslog when I try to login

[ 2919.224]
Backtrace:
[ 2919.224] 0: /usr/bin/X (xorg_backtrace+0x26) [0x460566]
[ 2919.224] 1: /usr/bin/X (0x400000+0x64b7a) [0x464b7a]
[ 2919.224] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fc8fdac6000+0x10060) [0x7fc8fdad6060]
[ 2919.224] 3: /lib/x86_64-linux-gnu/libc.so.6 (__select+0x13) [0x7fc8fcabb8f3]
[ 2919.224] 4: /usr/bin/X (WaitForSomething+0x19b) [0x45dffb]
[ 2919.225] 5: /usr/bin/X (0x400000+0x2f912) [0x42f912]
[ 2919.225] 6: /usr/bin/X (0x400000+0x232fe) [0x4232fe]
[ 2919.225] 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7fc8fca0230d]
[ 2919.225] 8: /usr/bin/X (0x400000+0x235ed) [0x4235ed]
[ 2919.225]
Caught signal 3 (Quit). Server aborting
[ 2919.225]
Please consult the The X.Org Foundation support
  at http://wiki.x.org
 for help.
[ 2919.225] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 2919.225]
[ 2919.231] (II) Power Button: Close
[ 2919.231] (II) UnloadModule: "evdev"
[ 2919.231] (II) Unloading evdev
[ 2919.268] (II) Video Bus: Close
[ 2919.268] (II) UnloadModule: "evdev"
[ 2919.268] (II) Unloading evdev
[ 2919.288] (II) Sleep Button: Close
[ 2919.288] (II) UnloadModule: "evdev"
[ 2919.288] (II) Unloading evdev
[ 2919.316] (II) CKF7063: Close
[ 2919.316] (II) UnloadModule: "evdev"
[ 2919.316] (II) Unloading evdev
[ 2919.360] (II) Logitech USB Optical Mouse: Close
[ 2919.360] (II) UnloadModule: "evdev"
[ 2919.360] (II) Unloading evdev
[ 2919.384] (II) AT Translated Set 2 keyboard: Close
[ 2919.384] (II) UnloadModule: "evdev"
[ 2919.384] (II) Unloading evdev
[ 2919.411] (II) UnloadModule: "synaptics"
[ 2919.411] (II) Unloading synaptics
[ 2919.424] (II) HP WMI hotkeys: Close
[ 2919.425] (II) UnloadModule: "evdev"
[ 2919.425] (II) Unloading evdev
[ 2919.425] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 2919.429] ddxSigGiveUp: Closing log

==> /var/log/syslog <==
Nov 8 08:42:13 burken acpid: client 24671[0:0] has disconnected
Nov 8 08:42:13 burken acpid: client connected from 27478[0:0]
Nov 8 08:42:13 burken acpid: 1 client rule loaded

affects: ubuntu → xorg (Ubuntu)
bugbot (bugbot)
affects: xorg (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
Revision history for this message
Gunnar (ubuntu-hwbqs6tox) wrote :

This seems to be the same problem as bug 532047.
So the problem is not really fixed?

I've done:
sudo mv /etc/init/plymouth-splash.conf /etc/init/plymouth-splash.conf.disabled

and added the line vt=7 to /etc/lightdm/lightdm.conf as below.

[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
vt=7

The login now crashes when I press 2 (ENTER seems to crash it only some of the times ) but ENTER crashes it if I open a terminal window in X and press ENTER in that.
Pressing 2 after login also crashes X.

Revision history for this message
Steve Langasek (vorlon) wrote :

This error is in general caused by some other software setting the console in an incorrect state. It's not an X bug, but a bug in something else which has changed X's console underneath it.

Did you install any extra packages besides the defaults when installing this system? Can you provide a package list from the system ('dpkg -l | grep ^ii') ?

Revision history for this message
Gunnar (ubuntu-hwbqs6tox) wrote :

I've added some extra packages after the install. Listed in the file

Steve Langasek (vorlon)
Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Incomplete
Revision history for this message
Steve Langasek (vorlon) wrote :

You have a significant number of server packages installed. It is likely that one or more of these is handling the console inappropriately at boot time.

cloud-init
monit
mysql-server-5.1
postgresql-common
tomcat6

I recommend that you try disabling each of these services in turn and reboot after disabling each one, to see if one of these is the culprit.

Revision history for this message
Gunnar (ubuntu-hwbqs6tox) wrote :

Thank you Steve for the suggestion. Now I've tried (and also removed cloud-init) and I found no problem, except for a service that I've written myself. When running a konsole in X and then giving the command "sudo bum" and starting the service, I see some messages from bum but also this

^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B

That doesn't seem right to me. (What can cause this?)

With limited testing it seems that this is the problem.
The service I start is a very basic bashscript that starts php programs.

I guess I'll have to look elsewhere to find why those scripts are behaving this way since it's not really an ubuntu specific issue. I can add though that the scripts did not cause any problems in 11.04.

Revision history for this message
Steve Langasek (vorlon) wrote :

> I see some messages from bum but also this

> ^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B

> That doesn't seem right to me. (What can cause this?)

That could certainly be related to the console being in the wrong state.

> I guess I'll have to look elsewhere to find why those scripts are
> behaving this way since it's not really an ubuntu specific issue. I can
> add though that the scripts did not cause any problems in 11.04.

This could be caused /etc/init/rc.conf having 'console output' in 11.10, which allows init scripts to interact with the console. But init scripts *should* limit their interaction to sending output. You could try redirecting input and output to /dev/null within the script, to see if this fixes the problem.

Anyway, closing this bug report as invalid. Thanks for following up.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.