Sounds like you might have multiple bugs.

(1) Failure to remember the correct display configuration when logging
in is bug 1726538.

(2) If your session is getting terminated then something is crashing.
Please forgive the standard response...

Thank you for taking the time to report this bug and helping to make
Ubuntu better. However, your crash report is either missing or
challenging to deal with as a ".crash" file. Please follow these
instructions to have apport report a new bug about your crash that can
be dealt with by the automatic retracer.

If you are running the Ubuntu Stable Release you might need to enable
apport in /etc/default/apport and restart.

Now open your file manager, navigate to your /var/crash directory and open the 
crash report you wish to submit.
If this fails you will have to open a terminal and file your report with 
'ubuntu-bug /var/crash/_my_crash_report.crash' where _my_crash_report.crash is 
the crash you would like to report. If you get an error that you aren't allowed 
to access this report you will have to file it with 'sudo ubuntu-bug 
/var/crash/_my_crash_report.crash'.


** Changed in: gnome-shell (Ubuntu)
       Status: New => Incomplete

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

Title:
  changing display mode after login terminates session

Status in gnome-shell package in Ubuntu:
  Incomplete

Bug description:
  When I login, I type the password on the laptop screen. (Maybe it's
  important.) After a while, while I'm waiting to get logged in, Ubuntu
  changes the display mode. Both monitor goes black, laptop screen
  becomes the secondary and my external monitor becomes the primary
  display. Because of Ubuntu is unable to remember to the previously set
  display mode, I usually change it a bit after I have logged in.
  However, if I (would like to) do this too quickly, say... less than
  4-5 seconds after I can see my desktop, my session gets terminated and
  I'm returned to the login screen. You can repeat it indefinitely, it
  always worked for me.

  I thought it's because of one of my extensions but I could reproduce it after 
I have disabled them.
  I haven't found any useful log entries.

  
  UPDATE 1:
  While I was writing this, I thought it has something to do with theme loading 
or something like this, so I continued to test with startup applications.
  I just rarely managed to reproduce this bug when I didn't execute the 
following script (as a file) at login:
  ```
  #!/bin/bash
  sleep 1s; firefox     &
  sleep 1s; thunderbird &
  ```

  I also noticed that after I have some faulty logins and then I login
  without changing display mode, I >sometimes< have no desktop, no
  startup applications and when I click power off/logout buttons nothing
  happens, but that's sure I will being logged out randomly in the near
  future - even if I don't touch my computer (I'm talking about
  minutes).

  Plus, I can see the desktop and the top bar (so it's the primary
  screen) with two wide black bars on the two sides of my laptop monitor
  for a moment before I get logged out. (However, I don't see any
  resolution changes so I guess it's not 640x480, or 800x600, etc.)

  
  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-shell 3.26.1-0ubuntu5
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  NonfreeKernelModules: vtsspp sep4_1 socperf2_0 pax
  ApportVersion: 2.20.7-0ubuntu3.1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Wed Nov  1 21:00:45 2017
  DisplayManager: gdm3
  InstallationDate: Installed on 2017-08-08 (85 days ago)
  InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Release amd64 (20170412)
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to artful on 2017-10-21 (10 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1729441/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to