[feisty] ctrl+alt+backspace fails

Bug #92780 reported by Annabelle Van Gelder
6
Affects Status Importance Assigned to Milestone
gdm
Fix Released
Unknown
gdm (Ubuntu)
In Progress
Undecided
Cesare Tirabassi

Bug Description

When i am working in gnome and try a ctrl+alt+backspace, the xserver fails to restart.
it freezes on running local boot scripts (etc/rc.local).
When i try the same from the safe mode, i get xinit: connection to xserver lost
I can not find any information in my logs(not sure where too look).
When i do ctrl+alt+backspace from the login screen, there is no problem and xserver just restarts.

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

I do experience the same, though not consistently.
I still fail to correlate it to other events.

Could you please provide additional info on your configuration:

Output of lspci -nnvv

Output of uname -a

/var/log/Xorg.0.log

/etc/X11/xorg.conf

Please report these as attachment (not cut and paste).

Revision history for this message
Annabelle Van Gelder (waxje) wrote :

wax@ubuntu-desktop:~$ uname -a
Linux ubuntu-desktop 2.6.20-11-generic #2 SMP Thu Mar 15 08:03:07 UTC 2007 i686 GNU/Linux

Revision history for this message
Annabelle Van Gelder (waxje) wrote :
Revision history for this message
Annabelle Van Gelder (waxje) wrote :
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

This is interesting. We have absolutely NO hardware in common.
I think what you see in the console is just the end of the start-up messages (not new ones).
For instance, after pressing ctrl+alt+backspace, if you open a new console (alt-ctrl-f1), login, start the x server (startx), and then press again ctrl-alt-backspace you will be back at the console -> the X server do not restart. Can you confirm?

Revision history for this message
anonym (launch-mailinator) wrote :

I have the same problem. ctrl+alt+backspace never restarts x. it stops with a bunch of configuration stuff on the screen and just hangs. then you have to ctrl+alt+f1 and reboot the computer. it's frustrating.

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Some additional info (as well as two temporary solutions):

If the gdm script (this is the script being executed when we press ctrl-alt-backspace) is launched in a terminal window, we have the same behaviour: no restart.
However, if the gdm script is launched in a console the restart works:

In Gnome, open a console (for instance ctrl-alt-f1)
Manually launch the restart script (sudo /etc/init.d/gdm restart or sudo /etc/init.d/gdm stop and then sudo /etc/init.d/gdm start).

Another possibility is of course to just logout and from the login screen press ctrl-alt-backspace.

I'll keep investigating why this behaviour (for the time being I have a suspicion only......).

Revision history for this message
Annabelle Van Gelder (waxje) wrote :

I get an error trying to start x from a new console, and i can not find the errors in my logs so i wrote them down(sorry if there are writing errors)

creating new authority file /home/gast/.serverauth.16815
server already active for display 0
If this server is no longer running, remove /temp/.xorglock and start again

Invalid MIT-MAGIC-COOKIE-1 keygiving up

xinit: Interupted system call (errno4): unable to connect to xserver
xinit:no such process(errno3) server error

The only thing that gets loged in my xorg is
AUDIT: Fri Mar 16 18:29:59 2007: 4724 X: client 28 rejected from local host (uid 1001)
  Auth name: MIT-MAGIC-COOKIE-1 ID: -1

I don't know for sure if this had to do with the bug ass i did not reboot before i tried the console login

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Wax,

this happens if you try to have two sessions on the same display.
Most probably another session was already active when you tried to start a new one (on the same display).
You can check if the server is already running by asking for a process list (ps -A). You will see something like Xorg (on tty7), and x-session-manager running.

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

At this point I don't think that this is an issue coming from our distribution. I have raised the problem upstream (it can either be gdm or Xorg).

Revision history for this message
Matthew (mcphil2) wrote :

I didn't have the problem in Edgy, but do in Feisty...

Changed in gdm:
status: Unknown → Unconfirmed
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

You can follow the progress through the Gnome bugzilla (http://bugzilla.gnome.org/show_bug.cgi?id=419301)

Changed in gdm:
status: Confirmed → In Progress
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Sebastien,

the patch I've given upstream to solve this problem will not be backported to 2.18.
Waiting for 2.19, if you want ubuntu users to be able to use this functionality, you can use the attached patch (upgrade version from 2.18.0-0ubuntu2 to 2.18.0-0ubuntu3).

Revision history for this message
Soul-Sing (soulzing) wrote :

the same here. in feisty herd 4 and 5.

Changed in gdm:
status: Unconfirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank for the patch. Upstream is not going to use it on the stable serie, not sure if the should do that then. Duplicate from bug #34859 also

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.