LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-31-2015, 08:27 AM   #1
Manganus
Member
 
Registered: Nov 2013
Location: San Fernando de Maspalomas
Distribution: Mint
Posts: 43

Rep: Reputation: 0
if too slow at login, computer turns unresponsive with a black screen


I recently installed Mint 17.3 (Rosa) with MATE on a T60 laptop.

The installation as such went without any notable obstacles.

However:

If I return to the computer after a while, then it has become impossible to log into through the terminal. It doesn't react on mouse movements - nor on any keys on the keyboard.

In fact, this occurs already if I hesitate slightly more than 60 seconds before I login.

(sshd is installed, and it is no problems to log in that way. But I do not know HOW to change the relevant parameters, or WHERE to find them, so in order to use the keyboard or see something on the screen, a shutdown or reboot is what remains for me.)

This all seems very much as an obvious bug to me. But being inexperienced and forgetful, I do not really know where to search for a solution or (even less) where to file a bug report.

I've tried with the search function here at LQ, and also with Google search too... but I do not find anything useful.
...alternatively: I do not understand enough to judge what to look after.

I've changed the (default) screensaver from "Blank screen" to "Floating GNOME", and put the time to 30 minutes for when the computer is to regard as idle, but that didn't solve this problem.

I did also uncheck the alternative "Dim display when idle" in the Power Management Preferences.

The other parameters there are:
Put computer to sleep when... NEVER
When laptop lid is closed: BLANK SCREEN
Put display to sleep when... NEVER

So, now the question are:
  • What to do?
  • What possible workarounds should I try next?
  • Where do I check if anyone already has filed a bug report?
 
Old 12-31-2015, 01:02 PM   #2
Manganus
Member
 
Registered: Nov 2013
Location: San Fernando de Maspalomas
Distribution: Mint
Posts: 43

Original Poster
Rep: Reputation: 0
It looks more and more as if this is a real bug. Possibly with the MDM.

A workaround has been to switch on "Enable Timed Login".

But it's really no preferable solution.
Not in the long run, at least.
 
Old 01-01-2016, 04:05 AM   #3
Manganus
Member
 
Registered: Nov 2013
Location: San Fernando de Maspalomas
Distribution: Mint
Posts: 43

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Manganus View Post
It looks more and more as if this is a real bug. Possibly with the MDM.
...or maybe more precisely with mdmwebkit.c.

When I'd found out that "mdm" seemed involved, it was easier to track down the culprit:
Code:
$ sudo -s
# find /{var,etc,usr,home} -type f -exec ls -lha {} \; 2>/dev/null | grep mdm

# find /{var,etc,usr,home} -type f -mmin -1200  -exec ls -lha {} \; 2>/dev/null | grep mdm
And suspicions pointed in the direction of /usr/share/mdm/distro.conf



There, I tried to remove one line at a time, starting with the first line (i.e. I commented out the first lines):
Code:
# [daemon]
# Greeter=/usr/lib/mdm/mdmwebkit
And I had luck!
The old greeter is of course dull, but working.

However, as it says in other configuration files, /etc/mdm/mdm.conf should probably be the preferred place for a patch instead.
Code:
[daemon]
AutomaticLoginEnable=false
TimedLoginEnable=false

Greeter=/usr/lib/mdm/mdmgreeter
With the chage above, the problem is solved.
If the line with "Greeter=..." is removed, then the problem is back.

Now, I can't go back in time and compare with the previous installed version of Mint and MATE - the disk is formatted.
But the file distro.conf looks similar to the one on my other laptop (although Cinnamon). Something may have changed between these two versions - most likely in the mdmwebkit
  • 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014
  • 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:37:25 UTC 2015
 
Old 01-01-2016, 05:20 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
is your system running smoothly otherwise?

i'm not sure if a fullblown cinnamon desktop is the right choice for this matured thinkpad.

i don't think the mate version uses mdm? or at least not the webkit greeter?

also, is your RAM increased to at least 2, if not 4GB?
 
Old 01-01-2016, 06:16 AM   #5
oldtechaa
Member
 
Registered: May 2015
Location: US
Distribution: Fedora
Posts: 364

Rep: Reputation: 83
@onodoho, I thought he was using MATE on this, which would be just about right for this laptop.

@Manganus, excellent work tracing things down.
This thread seems to indicate you can either upgrade libwebkitgtk or just use the fix you did and switch greeters. (I don't know if you are a native English speaker, but your English is very good.)

Obviously, seeing as it is a known issue, I think you don't need to report a bug.
 
Old 01-01-2016, 06:25 AM   #6
Manganus
Member
 
Registered: Nov 2013
Location: San Fernando de Maspalomas
Distribution: Mint
Posts: 43

Original Poster
Rep: Reputation: 0
Hi ondoho!
I'm happy to see a response.
(Yes, I KNOW about the New Years Eve and festivities and stuff...)
Quote:
Originally Posted by ondoho View Post
is your system running smoothly otherwise?
Well, ...it's maybe too early to say, yet. I switched from Mint 17.0 (???) with MATE to 17.3 with MATE just a few days ago...
...but yes, it seems so.

Quote:
Originally Posted by ondoho View Post
i'm not sure if a fullblown cinnamon desktop is the right choice for this matured thinkpad.
Agree! That was the initial reason for me to try out MATE on that mashine.
(Also Xfce is tested, but it didn't make that much of a difference - and I felt more at home with MATE.)

Quote:
Originally Posted by ondoho View Post
i don't think the mate version uses mdm? or at least not the webkit greeter?
It seems as if it does.

Quote:
Originally Posted by ondoho View Post
also, is your RAM increased to at least 2, if not 4GB?
Nope.
Delivered with 2 GB.

Code:
$ cat /proc/meminfo
MemTotal:        2062392 kB
MemFree:         1404844 kB
MemAvailable:    1688012 kB
Buffers:           80232 kB
Cached:           336380 kB
SwapCached:            0 kB
Active:           395384 kB
Inactive:         213200 kB

I didn't do much after installing Mint 17.3 [MATE].
I installed sshd, and updated some locals. And installed one server program, that I intend to run on this mashine.
...and then I copied default-user.svg, since that was an error reported in syslog, but that didn't help in THIS particular case.
Code:
$ cd /usr/share/mdm/html-themes/Mint-X/img
$ sudo cp default-user.svg default_user.svg

Last edited by Manganus; 01-01-2016 at 06:36 AM. Reason: stupid tipping error
 
Old 01-01-2016, 06:27 AM   #7
Manganus
Member
 
Registered: Nov 2013
Location: San Fernando de Maspalomas
Distribution: Mint
Posts: 43

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by oldtechaa View Post
Obviously, seeing as it is a known issue, I think you don't need to report a bug.
Thanks a lot, fellow!

It was exactly this kind of answer I was hoping for.

Then I think the issue is solved?
 
Old 06-22-2017, 06:51 AM   #8
Manganus
Member
 
Registered: Nov 2013
Location: San Fernando de Maspalomas
Distribution: Mint
Posts: 43

Original Poster
Rep: Reputation: 0
Talking

Quote:
Originally Posted by ondoho View Post
is your system running smoothly otherwise?

i'm not sure if a fullblown cinnamon desktop is the right choice for this (T60) matured thinkpad.
Yes, the matured Thinkpad does well. It's chiefly needed for "ssh -XC" and Chromium (32 bits).


In fact, I had to return to this thread in order to apply the same remedy to a much younger machine.
(T540, 4 cpu, 16 GB)
Code:
Machine:   System: LENOVO product: 20BFS2A300 v: ThinkPad T540p
           Mobo: LENOVO model: 20BFS2A300 v: 0B98401 WIN Bios: LENOVO v: GMET66WW (2.14 ) date: 07/01/2014
CPU:       Dual core Intel Core i5-4300M (-HT-MCP-) cache: 3072 KB 
           clock speeds: max: 3300 MHz 1: 3199 MHz 2: 3199 MHz 3: 3199 MHz 4: 3199 MHz
Graphics:  Card: Intel 4th Gen Core Processor Integrated Graphics Controller
           Display Server: X.Org 1.17.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1366x768@60.0hz
           GLX Renderer: Mesa DRI Intel Haswell Mobile GLX Version: 3.0 Mesa 10.5.9
But I do find it remarkable that this (obvious!) bug remains in distro after distro, although I guess we are a quite small minority, "suffering" from it.

Last edited by Manganus; 06-22-2017 at 07:00 AM. Reason: Graphics driver, etc
 
Old 06-22-2017, 07:34 AM   #9
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
If it's of any interest, the soon-to-be-released Mint 18.2 has replaced MDM with LightDM, which may well resolve the problem (I read somewhere that one poster said it had, but I can't find that post again).

https://www.linuxmint.com/rel_sonya_mate_whatsnew.php
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to boot into LiveCD on Acer TravelMate 8573T, unresponsive with black screen nahum Linux - Laptop and Netbook 2 02-25-2014 11:53 AM
When I go Ctrl+Alt+F1 my screen turns black ... mycuser Linux - Newbie 2 05-08-2013 03:43 PM
Please help!!! My toshiba portege m500 turns on with a black screen!!! Fan not on!!! Max.21 Linux - Newbie 4 01-28-2013 03:04 AM
black screen/unresponsive system after boot messages (or after startx) ftdwffs Debian 1 01-28-2011 12:05 AM
screen turns black after several hours ohadbasan Ubuntu 7 01-10-2009 03:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration