← Back to team overview

desktop-packages team mailing list archive

Re: [Bug 1509369] Re: gdm runs in vt7 and gnome-shell in vt2 after resuming

 

On Wed, 02 Dec 2015 09:46:49 -0000
David Girault <1509369@xxxxxxxxxxxxxxxxxx> wrote:

> First, thanks for your detailled comment.
> Now, did you found any way to force gdm to only use vt > 7 ?
> 

No, I didn't. The workaround I found was to force the initialization
vt{2..6}, in a systemd world this is achieved running:

$ cd /etc/systemd/system/getty.target.wants/
$ for i in {2..6}; do sudo ln -s /lib/systemd/system/getty@.service getty@tty${i}.service;done
$ ls /etc/systemd/system/getty.target.wants/ -l
total 0
lrwxrwxrwx 1 root root 34 Oct 19 16:40 getty@tty1.service -> /lib/systemd/system/getty@.service
lrwxrwxrwx 1 root root 34 Oct 27 17:53 getty@tty2.service -> /lib/systemd/system/getty@.service
lrwxrwxrwx 1 root root 34 Oct 27 17:53 getty@tty3.service -> /lib/systemd/system/getty@.service
lrwxrwxrwx 1 root root 34 Oct 27 17:53 getty@tty4.service -> /lib/systemd/system/getty@.service
lrwxrwxrwx 1 root root 34 Oct 27 17:53 getty@tty5.service -> /lib/systemd/system/getty@.service
lrwxrwxrwx 1 root root 34 Oct 27 17:53 getty@tty6.service -> /lib/systemd/system/getty@.service

This made my problem go away, considering that VTs have a really small
footprint maybe is a good way to make this a default.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gdm in Ubuntu.
https://bugs.launchpad.net/bugs/1509369

Title:
  gdm runs in vt7 and gnome-shell in vt2 after resuming

Status in gdm package in Ubuntu:
  New

Bug description:
  I installed ubuntu-gnome 15.04, then upgraded to Wily. I started
  getting problems when pressing "Alt+<arrow>" it switches to another
  virtual terminal like if I was pressing Ctrl+Alt+F<n>, after some
  troubleshooting these are the steps to reproduce:

  - Logged in a gnome session
  - Suspend laptop
  - Resume
  - Unlock screen
  - Press Alt+Arrow_Right, there you'll notice that gdm is running un VT7 and your user's gnome-shell is running in another VT, in my case VT2

  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu 15.10
  Release:	15.10
  Codename:	wily

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: gdm 3.16.2-0ubuntu2
  ProcVersionSignature: Ubuntu 3.19.0-30.34-generic 3.19.8-ckt6
  Uname: Linux 3.19.0-30-generic x86_64
  ApportVersion: 2.19.1-0ubuntu3
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Oct 23 11:02:05 2015
  InstallationDate: Installed on 2015-10-19 (3 days ago)
  InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
  SourcePackage: gdm
  UpgradeStatus: Upgraded to wily on 2015-10-19 (3 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/1509369/+subscriptions


References