Comment 0 for bug 1159404

Revision history for this message
Teo (teo1978) wrote : System completely inaccessible after suspend/resume if the only enabled screen is no longer available

Steps to reproduce:
- connect an external monitor to a laptop
- enable only the external monitor and disable the laptop's builtin monitor, as in: disper -S
- suspend
- disconnect the external monitor and take your laptop to another place
- resume from suspend, ready to resume working happily with all your unsaved data

Expected behavior:
- on resume, the system should detect that the only screen that was enabled is no longer available, and that the only available screen is the builtin one, so it should enable it.

Observed behavior:
- the builtin screen is still disabled, so you have no usable screen. Everything is probably there and working, but you can't see anything, so you can't even switch screen back to enable the builtin screen

As a workaround I've tried Ctrl+Alt+F1 to access a virtual terninal, and it works, but I don't know of any command that can be executed from the virtual terminal that would force xorg to switch screen. "disper -s" doesn't work if run from the virtual terminal.

So the only option you have is to kill Xorg or reboot, loosing in both cases all unsaved data.

Unless you can manage your system blindly, and manage to switch screen without seing what you're doing.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: unity 6.12.0-0ubuntu0.2
ProcVersionSignature: Ubuntu 3.5.0-26.42-generic 3.5.7.6
Uname: Linux 3.5.0-26-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.6.1-0ubuntu10
Architecture: i386
CompizPlugins: [core,composite,opengl,decor,vpswitch,mousepoll,compiztoolbox,snap,commands,place,resize,session,regex,grid,wall,move,gnomecompat,imgpng,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
Date: Sun Mar 24 13:22:59 2013
InstallationDate: Installed on 2010-06-23 (1005 days ago)
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: Upgraded to quantal on 2013-01-13 (70 days ago)