LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-02-2017, 08:29 AM   #1
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 319

Rep: Reputation: Disabled
Screen lock is broken


Screen lock is broken

is the message on the screen with a little more information as to what to do about it.

It suggest that I CTRL ALT F2 then

loginctl -unlock-session

and then CTRL ALT F7 to switch back.

I've never come across this before but the guide doesn't work either.

Within a few seconds of CTRL ALT F2, and before I get a chance to login, I get an on screen log of events but it seems to repeat fairly often.

Has anybody else seen this?

Where do I go from here?

I can't go to any Alternate screen and log in as root, within seconds of changing to the new screen the scrolling screen log starts.
 
Old 05-02-2017, 08:30 AM   #2
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 319

Original Poster
Rep: Reputation: Disabled
Forgot all the basics, sorry

Suse Linux Leap 42.2 running on Dell Optiplex 780
 
Old 05-02-2017, 10:21 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Crb999 View Post
Screen lock is broken
this screen lock is new to me - upon googling it
https://www.freedesktop.org/software.../loginctl.html

Oh systemD -- O'tay that may explain something.

from its docs looks like you have have a need for a ID of some sorts.

Got a read a little more myself - two I do not have a SystemD to experiment with.

The Docs should be helpful.
Code:
lock-session [ID…], unlock-session [ID…]

Activates/deactivates the screen lock on one
or more sessions, if the session supports it. 

Takes one or more session identifiers as arguments. 
If no argument is specified, the session of the caller is locked/unlocked. 
Quote:
Within a few seconds of CTRL ALT F2, and before I get a chance to login, I get an on screen log of events but it seems to repeat fairly often.
could this be what you are talking about?
Code:
user-status [USER…]

 Show terse runtime status information about one or more
 logged in users, followed by the most recent log data from
 the journal. Takes one or more user names or numeric user IDs
 as parameters. If no parameters are passed, the status of the
 caller's user is shown. This function is intended to generate
 human-readable output. If you are looking for computer-
parsable output, use show-user instead. Users may be specified
 by their usernames or numeric user IDs.
so any other tty you get this?
Quote:
I can't go to any Alternate screen and log in as root, within seconds of changing to the new screen the scrolling screen log starts.
I'd take a look over the docs as you are seeing what it is actually doing, and when someone else that actually has a systemD (why I do not know, is it really there fault?) system Hopefully they can help you better.

Or maybe just maybe you can get by not using that for your screen lock and install a different one. there are many out there to pick from.

Last edited by BW-userx; 05-02-2017 at 10:30 AM.
 
Old 05-03-2017, 02:19 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
what desktop environment?

it would seem to be some sort of permission issue.

are you running your gui session as a normal user, or root? did you ever run gui apps as root?
 
Old 05-03-2017, 08:00 AM   #5
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 319

Original Poster
Rep: Reputation: Disabled
It's been emotional!

The screens full of info have been the output from 'journalctl -xb'

I've used the DVD to get something running and from a primitive root I was able to start yast.

It told me nothing useful but I may not have asked the right questions!

However, from yast I was able to look at the 'SystemD Journal' and recognised what I was seeing but for a few seconds before the log report started I got a little message at the bottom of the screen, outside yast which said, in a deep and meaningful way,
"Failure (dbus fatal exception)."

Just like that

Right out loud.

Bloody rude!

To be honest, I have no idea how serious that might be so any comment will enlighten me.

So BW-userx, it was not the 'User Status' you suggested.

ondoho I regularly use KDE but I never get that far now. I would normally use linux as a user, saving su and sudo for those matters that require them.

I left the machine with no applications running as I've been doing some CAD work on the windoze machine. Switching back to the lonux box I found that nasty little message.

So, how does one deal with a dbus fatal exception?

Regards

Chris
 
Old 05-03-2017, 08:24 AM   #6
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 319

Original Poster
Rep: Reputation: Disabled
I hope this helps!
Attached Thumbnails
Click image for larger version

Name:	ctrl-d800.jpg
Views:	650
Size:	184.5 KB
ID:	24915  
 
Old 05-03-2017, 12:37 PM   #7
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
very confusing.

something is seriously amiss here, but i do not follow your ramblings.

i hope you have saved all important data from that machine.
 
Old 05-03-2017, 02:01 PM   #8
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 319

Original Poster
Rep: Reputation: Disabled
Ondoho, agreed, very confusing.

I can't understand why you can't understand my ramblings.

I have nothing saved from that machine.

I have no idea what is wrong.

I am prepared to reinstall 42.2 but I can't even find out if the HD is faulty or not. If it is not, what is recoverable? How may it be recovered.

What is a dbus fatal exception? Is this a hardware or a software fault.

Can you see how much further my confusion goes than yours?

Is a dbus fatal exception, confusing in and of itself?
 
Old 05-03-2017, 03:21 PM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Yeah that is not really a lock screen problem. it is a xfs file system issue.

Probably the lock screen sets the hdd into some kind of sleep mode then when it gets unlocked it cannot remount or activate that hdd due to block errors to the file system.

Checking XFS File System Consistency with xfs_check and xfs_repair

xfs_repair(8) - Linux man page


Links due to "unmount and run xfs_repair" message in that image.

Last edited by BW-userx; 05-03-2017 at 03:27 PM.
 
1 members found this post helpful.
Old 05-04-2017, 01:08 AM   #10
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
Quote:
Originally Posted by Crb999 View Post
What is a dbus fatal exception? Is this a hardware or a software fault.
Can you see how much further my confusion goes than yours?
yes i can.
given what i see, i'd say it's a PEBKAC resulting in a software fault.

anyhow, hardware fault is easily checked:
create a live usb, boot into it, see if you can reproduce the problem.

PS:
dbus is software, not hardware.
 
Old 05-04-2017, 07:01 AM   #11
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 319

Original Poster
Rep: Reputation: Disabled
Thanks guys, gals.

In the emergency boot situation where I have a terminal access to the machine, I am able to run various commands.

However neither xfs_check nor xfs_repair are available to me.

ondoho, thanks for your useful information but the chair and house was empty. I have just learnt that there may have been a brownout. I have no proof.

The problem is that I cannot boot into linux and use KDE. Why would I want to create a live usb to prove I can't boot into linux and use KDE? This has ruined my week and I really dont want to recreate it not even for you.

I am in linux, I have a command line but my knowledge is limited so " hardware fault is easily checked:" is not necessarily easy.

Trawling I found smartctl and in a word it tells me that the hd is the problem.

Ah well, it's only time and money eh?

I'll be back when it's sorted.

Thanks.

ondoho, you remind me a little of Eeyore :-)
 
Old 08-19-2017, 09:37 AM   #12
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 319

Original Poster
Rep: Reputation: Disabled
Ondoho looked up PEBKAC. Thanks for that!

Well it was a catastrophic failure of the HD. Could be PEBKAC of course, but unlikely imho.

New drives installed, raid 1 implemented, fresh install of 42.2 and the repeat of the struggles to get everything up and running again.

Update to 42.3 with problems which deleting 'drm-kmp-default' cured. (see bug 1051867)

That wasn't PEBKAC either FYI.

Closing this thread.

Thanks all
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Lock Shutdown and other related options when lock screen. hack3rcon Linux - Newbie 6 12-07-2016 06:03 AM
LXer: Screen Lock Vs Login Screen in the upcoming Gnome LXer Syndicated Linux News 0 06-22-2012 10:50 PM
Lock X screen and lock ctrl/alt keys Mr. Alex Linux - Software 4 02-10-2012 08:03 AM
Disable lock session (lock screen) when switch user in KDE 4.x Murz Linux - Desktop 4 12-01-2010 08:28 AM
Num lock OFF and Caps & Screen Lock ON at Linux startup. Reversing? peteyperson Linux - Newbie 2 02-28-2009 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:49 AM.

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