This forum has been archived. All content is frozen. Please use KDE Discuss instead.

screen lock doesn't show lock

Tags: None
(comma "," separated)
User avatar
Jayen
Registered Member
Posts
22
Karma
0
OS

screen lock doesn't show lock

Fri Aug 30, 2013 12:38 pm
I recently upgraded KDE from 4.8.4 to 4.10.5. (I'm on Debian GNU/Linux.) KDM on boot is configured to auto-login and auto-lock the screen and this works fine. However, while KDE is running, I press Ctrl+Alt+L and nothing seems to happen. My applications happily display changes, but X doesn't respond to any mouse clicks or keyboard shortcuts. This used to work, so I searched bugzilla but couldn't find anyone in a similar situation. Any ideas on how I can make Ctrl+Alt+L do the same thing as KDM?
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: screen lock doesn't show lock

Fri Aug 30, 2013 1:12 pm
try:
systemsettings -> shortcuts & gestures -> gloabal keyboard shortcuts -> KDE component -> KDE session manager -> lock session
make sure default is selected and then click apply


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Jayen
Registered Member
Posts
22
Karma
0
OS

Re: screen lock doesn't show lock

Fri Aug 30, 2013 10:29 pm
google01103 wrote:try:
systemsettings -> shortcuts & gestures -> gloabal keyboard shortcuts -> KDE component -> KDE session manager -> lock session
make sure default is selected and then click apply

default is already selected. apply is greyed out. tried changing it and changing it back to no avail.

Ctrl+Alt+L does something, it's just not letting me unlock the session. The same issue happens with the plasma desktop menu item "Lock Screen".

Snippets from my .kde:
Code: Select all
share/apps/kconf_update/log/update.log       :2013-08-23T08:48:18 kscreenlocker_locksession-shortcut.upd: Updating kglobalshortcutsrc:kscreenlocker:Lock Session to 'Ctrl+Alt+L,Ctrl+Alt+L,Lock Session'
share/config/kglobalshortcutsrc      :Lock Session=Ctrl+Alt+L,Ctrl+Alt+L,Lock Session
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: screen lock doesn't show lock

Fri Aug 30, 2013 10:50 pm
does the following lock the screen?
Code: Select all
qdbus org.kde.ksmserver /ScreenSaver Lock


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25

Re: screen lock doesn't show lock

Fri Aug 30, 2013 11:13 pm
there's a bug report for what sounds like your issue https://bugs.kde.org/show_bug.cgi?id=311050

solution from post #24
Stefan Becker 2013-03-18 13:51:27 EDT
This seems to be a KDE 4.9.5 -> 4.10.1 configuration update problem. I've now updated my second Fedora 18 system and everything went fine: there is "Global Shortcuts"/"The KDE session manager" and that has the "Lock Screen" action with the default CTRL-ALT-L. So on that system it works fine.

I removed the workaround on my first system and fixed the configuration instead:

- run "kbuildsycoca4 --noincremental"
- open System Settings -> Global Keyboard Shortcuts
- "KDE component" dropdown: if you still have "kscreenlocker" in the list, select it, then choose from the "File" dropdown "Remove component" to remove this obsolete entry.
- open the "KDE component" dropdown: if you don't see "The KDE Session Manager" *PLEASE* make sure to SCROLL DOWN the scrollbar on the right hand side to the BOTTOM! (on my machine "The KDE Session Manager" is the last entry)
- Select "Lock Session" and tick the "Default" choice to reset the default to CTRL-ALT-Ls


and from post #23 a workaround
Stefan Becker 2013-03-18 06:04:17 EDT
(In reply to comment #22)
> comment 11 doesn't work for me, because I don't have "Global Keyboard
> Shortcuts/Session Manager" in my system setting.

Found a workaround:

- from command line "qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock"
- add Custom Short Cut:
* New -> Global Shortcut -> D-Bus Command
* name: "Lock Screen"
* Trigger: CTRL-ALT-L
* Action
- remote application: org.freedesktop.ScreenSaver
- Remote object: /ScreenSaver
- Function: Lock


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Jayen
Registered Member
Posts
22
Karma
0
OS

Re: screen lock doesn't show lock

Fri Aug 30, 2013 11:47 pm
google01103 wrote:does the following lock the screen?
Code: Select all
qdbus org.kde.ksmserver /ScreenSaver Lock

That has the same ill effect as Ctrl+Alt+L
User avatar
Jayen
Registered Member
Posts
22
Karma
0
OS

Re: screen lock doesn't show lock

Fri Aug 30, 2013 11:53 pm
google01103 wrote:
- "KDE component" dropdown: if you still have "kscreenlocker" in the list, select it, then choose from the "File" dropdown "Remove component" to remove this obsolete entry.
I do not have "kscreenlocker" in the list.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: screen lock doesn't show lock

Sat Aug 31, 2013 12:23 am
is there any output when you run the qdbus command in Konsole?

also look in ~/.xsession-errors after you attempt the command


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Jayen
Registered Member
Posts
22
Karma
0
OS

Re: screen lock doesn't show lock

Sat Aug 31, 2013 12:43 am
google01103 wrote:is there any output when you run the qdbus command in Konsole?
no :(

google01103 wrote:also look in ~/.xsession-errors after you attempt the command

.xsession-errors is just so full of kde stuff, i'm not sure what's relevant. Here's the last few bits:
Code: Select all
krunner(17922)/kresources: Akonadi migration failed!
krunner(17922)/kresources: command was:  ("kres-migrator", "--interactive-on-change", "--type", "contact", "--omit-client-bridge")
krunner(17922)/kresources: exit code:  0
krunner(17922)/kresources: stdout:  ""
krunner(17922)/kresources: stderr:  ""
QProcess: Destroyed while process is still running.
kwin(17828) KWin::Workspace::updateClientArea: screens:  1 desktops:  1
kwin(17828) KWin::Workspace::updateClientArea: Done.
krunner(17922)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/jayen/.kde/share/apps/kabc"
krunner(17922) KDevelopSessions::KDevelopSessions: INIT KDEV
krunner(17922) KDevelopSessions::loadSessions: LOADSESSION!.>>>
krunner(17922) KDevelopSessions::loadSessions: NEW SESSION: "/home/jayen/.kde/share/apps/kdevelop/sessions/{49d8fd8f-6806-4b75-9dd4-115e38241aeb}/sessionrc"
krunner(17922) KDevelopSessions::loadSessions: session: "" ""
krunner(17922) KDevelopSessions::loadSessions: NEW SESSION: "/home/jayen/.kde/share/apps/kdevelop/sessions/{83a684bc-d376-4ca0-b480-d1d085c093a2}/sessionrc"
krunner(17922) KDevelopSessions::loadSessions: session: "" ""
I/O warning : failed to load external entity "/home/jayen/.qalculate/eurofxref-daily.xml"
I/O warning : failed to load external entity "/home/jayen/.qalculate/eurofxref-daily.xml"
krunner(17922)/libplasma Plasma::PackagePrivate::isValid: Could not find required file mainscript
ImageProvider supports Pixmap type but has not implemented requestPixmap()
file:///usr/share/kde4/apps/kwin/tabbox/present_windows/contents/ui/main.qml:113:17: QML Image: Failed to get image from provider: image://client/2/-775168716-2
file:///usr/share/kde4/apps/kwin/tabbox/present_windows/contents/ui/main.qml:102:13: QML Item: Binding loop detected for property "height"
file:///usr/share/kde4/apps/kwin/tabbox/present_windows/contents/ui/main.qml:102:13: QML Item: Binding loop detected for property "height"
[006:220] HandleOnlineCheck: Starting check
[006:220] HandleOnlineCheck: OK; current state: 3
kwin(17828) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 222822233
kwin(17828) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 56638733 ;WMCLASS: "iceweasel" : "dialog" ;Caption: "Authentication Required" ' : 222822233
kwin(17828) KWin::Workspace::allowClientActivation: Activation, compared: 'ID: 56638733 ;WMCLASS: "iceweasel" : "dialog" ;Caption: "Authentication Required" ' : 222822233 : 222830137 : false
kwin(17828) KWin::Workspace::updateClientArea: screens:  1 desktops:  1
kwin(17828) KWin::Workspace::updateClientArea: Done.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
file:///usr/share/kde4/apps/plasma/packages/org.kde.comic/contents/ui/ComicCentralView.qml:141: Unable to assign [undefined] to QImage image
file:///usr/share/kde4/apps/plasma/packages/org.kde.comic/contents/ui/ComicCentralView.qml:80: Unable to assign [undefined] to QImage image
file:///usr/share/kde4/apps/plasma/packages/org.kde.comic/contents/ui/ComicCentralView.qml:82: Unable to assign [undefined] to bool isLeftToRight
file:///usr/share/kde4/apps/plasma/packages/org.kde.comic/contents/ui/ComicCentralView.qml:83: Unable to assign [undefined] to bool isTopToBottom
file:///usr/share/kde4/apps/plasma/packages/org.kde.comic/contents/ui/ComicCentralView.qml:72: Unable to assign [undefined] to QString mainText
file:///usr/lib/kde4/imports/org/kde/plasma/components/TabBar.qml:97: TypeError: Result of expression 'currentTab' [null] is not an object.
file:///usr/lib/kde4/imports/org/kde/plasma/components/TabBar.qml:94: TypeError: Result of expression 'currentTab' [null] is not an object.
file:///usr/lib/kde4/imports/org/kde/plasma/components/TabBar.qml:96: TypeError: Result of expression 'currentTab' [null] is not an object.
file:///usr/lib/kde4/imports/org/kde/plasma/components/TabButton.qml:63: TypeError: Result of expression 'internal.tabBar' [null] is not an object.
onCurrentTabChanged:calvinandhobbes
file:///usr/lib/kde4/imports/org/kde/plasma/components/TabBar.qml:161:9: QML QDeclarativeItem_QML_23: Binding loop detected for property "width"
file:///usr/lib/kde4/imports/org/kde/plasma/components/TabBar.qml:161:9: QML QDeclarativeItem_QML_23: Binding loop detected for property "width"
file:///usr/lib/kde4/imports/org/kde/plasma/components/TabButton.qml:63: TypeError: Result of expression 'internal.tabBar' [null] is not an object.
file:///usr/lib/kde4/imports/org/kde/plasma/components/TabButton.qml:63: TypeError: Result of expression 'internal.tabBar' [null] is not an object.
file:///usr/lib/kde4/imports/org/kde/plasma/components/TabButton.qml:63: TypeError: Result of expression 'internal.tabBar' [null] is not an object.
file:///usr/lib/kde4/imports/org/kde/plasma/components/TabButton.qml:63: TypeError: Result of expression 'internal.tabBar' [null] is not an object.
file:///usr/lib/kde4/imports/org/kde/plasma/components/TabButton.qml:63: TypeError: Result of expression 'internal.tabBar' [null] is not an object.
grepHelper: File does not exists:  "/proc/asound/card1/pcm0p/info"
grepHelper: File does not exists:  "/proc/asound/card1/pcm0p/info"
grepHelper: File does not exists:  "/proc/asound/card1/pcm0p/info"
grepHelper: File does not exists:  "/proc/asound/card1/pcm0p/info"
file:///usr/lib/kde4/imports/org/kde/plasma/components/TabBar.qml:161:9: QML QDeclarativeItem_QML_23: Binding loop detected for property "width"
file:///usr/lib/kde4/imports/org/kde/plasma/components/TabBar.qml:150:5: QML Item: Possible anchor loop detected on fill.
file:///usr/lib/kde4/imports/org/kde/plasma/components/TabBar.qml:161:9: QML QDeclarativeItem_QML_23: Binding loop detected for property "width"
file:///usr/share/kde4/apps/plasma/plasmoids/calculator/contents/ui/calculator.qml:40: Unable to assign [undefined] to QString operator
Kross: "Loading the interpreter library for qtscript"
Kross: "Successfully loaded Interpreter instance from library."
plasma-overlay(18320)/libakonadi Akonadi::AgentManagerPrivate::createDBusInterface: AgentManager failed to get a valid AgentManager DBus interface. Error is: 1 "org.freedesktop.DBus.Error.NameHasNoOwner" "Could not get owner of name 'org.freedesktop.Akonadi.Control': no such name"
plasma-overlay(18320)/libakonadi Akonadi::SessionPrivate::socketError: Socket error occurred: "QLocalSocket::connectToServer: Invalid name"
plasma-overlay(18320)/libakonadi Akonadi::SessionPrivate::socketError: Socket error occurred: "QLocalSocket::connectToServer: Invalid name"
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
search paths:  ("/usr/lib/i386-linux-gnu/qt4/bin", "/home/jayen/bin", "/usr/local/sbin", "/usr/sbin", "/sbin", "/usr/local/bin", "/usr/bin", "/bin", "/usr/games", "/home/jayen/docs/school/UNSW/robocup/2010/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
Object::connect: No such slot SaverView::screenOwnerChanged(int,int,Plasma::Containment*)
Object::connect: No such slot SaverView::updateShortcuts()
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld"
arguments: ("--defaults-file=/home/jayen/.local/share/akonadi/mysql.conf", "--datadir=/home/jayen/.local/share/akonadi/db_data/", "--socket=/home/jayen/.local/share/akonadi/socket-eeyore/mysql.socket")
stdout: ""
stderr: ""
exit code: 1
process error: "Unknown error"
"[
0: akonadiserver() [0x805bf05]
1: akonadiserver() [0x805c37a]
2: linux-gate.so.1(__kernel_sigreturn+0) [0xb779a400]
3: linux-gate.so.1(__kernel_vsyscall+0x10) [0xb779a424]
4: /lib/i386-linux-gnu/i686/cmov/libc.so.6(gsignal+0x4f) [0xb6e5e80f]
5: /lib/i386-linux-gnu/i686/cmov/libc.so.6(abort+0x143) [0xb6e61cc3]
6: /usr/lib/i386-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x123) [0xb74e7b63]
7: akonadiserver() [0x805e248]
8: /usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xc8) [0xb758cae8]
9: /usr/lib/i386-linux-gnu/libQtCore.so.4(+0x10ed5e) [0xb759ad5e]
10: /usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x35) [0xb75a4445]
11: akonadiserver() [0x80ce412]
12: akonadiserver() [0x805ef91]
13: akonadiserver() [0x8060d06]
14: akonadiserver() [0x8062356]
15: akonadiserver() [0x8055baa]
16: /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xf5) [0xb6e498c5]
17: akonadiserver() [0x8056691]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
search paths:  ("/usr/lib/i386-linux-gnu/qt4/bin", "/home/jayen/bin", "/usr/local/sbin", "/usr/sbin", "/sbin", "/usr/local/bin", "/usr/bin", "/bin", "/usr/games", "/home/jayen/docs/school/UNSW/robocup/2010/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld"
arguments: ("--defaults-file=/home/jayen/.local/share/akonadi/mysql.conf", "--datadir=/home/jayen/.local/share/akonadi/db_data/", "--socket=/home/jayen/.local/share/akonadi/socket-eeyore/mysql.socket")
stdout: ""
stderr: ""
exit code: 1
process error: "Unknown error"
"[
0: akonadiserver() [0x805bf05]
1: akonadiserver() [0x805c37a]
2: linux-gate.so.1(__kernel_sigreturn+0) [0xb779c400]
3: linux-gate.so.1(__kernel_vsyscall+0x10) [0xb779c424]
4: /lib/i386-linux-gnu/i686/cmov/libc.so.6(gsignal+0x4f) [0xb6e6080f]
5: /lib/i386-linux-gnu/i686/cmov/libc.so.6(abort+0x143) [0xb6e63cc3]
6: /usr/lib/i386-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x123) [0xb74e9b63]
7: akonadiserver() [0x805e248]
8: /usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xc8) [0xb758eae8]
9: /usr/lib/i386-linux-gnu/libQtCore.so.4(+0x10ed5e) [0xb759cd5e]
10: /usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x35) [0xb75a6445]
11: akonadiserver() [0x80ce412]
12: akonadiserver() [0x805ef91]
13: akonadiserver() [0x8060d06]
14: akonadiserver() [0x8062356]
15: akonadiserver() [0x8055baa]
16: /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xf5) [0xb6e4b8c5]
17: akonadiserver() [0x8056691]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
search paths:  ("/usr/lib/i386-linux-gnu/qt4/bin", "/home/jayen/bin", "/usr/local/sbin", "/usr/sbin", "/sbin", "/usr/local/bin", "/usr/bin", "/bin", "/usr/games", "/home/jayen/docs/school/UNSW/robocup/2010/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld"
arguments: ("--defaults-file=/home/jayen/.local/share/akonadi/mysql.conf", "--datadir=/home/jayen/.local/share/akonadi/db_data/", "--socket=/home/jayen/.local/share/akonadi/socket-eeyore/mysql.socket")
stdout: ""
stderr: ""
exit code: 1
process error: "Unknown error"
"[
0: akonadiserver() [0x805bf05]
1: akonadiserver() [0x805c37a]
2: linux-gate.so.1(__kernel_sigreturn+0) [0xb7723400]
3: linux-gate.so.1(__kernel_vsyscall+0x10) [0xb7723424]
4: /lib/i386-linux-gnu/i686/cmov/libc.so.6(gsignal+0x4f) [0xb6de780f]
5: /lib/i386-linux-gnu/i686/cmov/libc.so.6(abort+0x143) [0xb6deacc3]
6: /usr/lib/i386-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x123) [0xb7470b63]
7: akonadiserver() [0x805e248]
8: /usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xc8) [0xb7515ae8]
9: /usr/lib/i386-linux-gnu/libQtCore.so.4(+0x10ed5e) [0xb7523d5e]
10: /usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x35) [0xb752d445]
11: akonadiserver() [0x80ce412]
12: akonadiserver() [0x805ef91]
13: akonadiserver() [0x8060d06]
14: akonadiserver() [0x8062356]
15: akonadiserver() [0x8055baa]
16: /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xf5) [0xb6dd28c5]
17: akonadiserver() [0x8056691]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
search paths:  ("/usr/lib/i386-linux-gnu/qt4/bin", "/home/jayen/bin", "/usr/local/sbin", "/usr/sbin", "/sbin", "/usr/local/bin", "/usr/bin", "/bin", "/usr/games", "/home/jayen/docs/school/UNSW/robocup/2010/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld"
arguments: ("--defaults-file=/home/jayen/.local/share/akonadi/mysql.conf", "--datadir=/home/jayen/.local/share/akonadi/db_data/", "--socket=/home/jayen/.local/share/akonadi/socket-eeyore/mysql.socket")
stdout: ""
stderr: ""
exit code: 1
process error: "Unknown error"
"[
0: akonadiserver() [0x805bf05]
1: akonadiserver() [0x805c37a]
2: linux-gate.so.1(__kernel_sigreturn+0) [0xb772d400]
3: linux-gate.so.1(__kernel_vsyscall+0x10) [0xb772d424]
4: /lib/i386-linux-gnu/i686/cmov/libc.so.6(gsignal+0x4f) [0xb6df180f]
5: /lib/i386-linux-gnu/i686/cmov/libc.so.6(abort+0x143) [0xb6df4cc3]
6: /usr/lib/i386-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x123) [0xb747ab63]
7: akonadiserver() [0x805e248]
8: /usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xc8) [0xb751fae8]
9: /usr/lib/i386-linux-gnu/libQtCore.so.4(+0x10ed5e) [0xb752dd5e]
10: /usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x35) [0xb7537445]
11: akonadiserver() [0x80ce412]
12: akonadiserver() [0x805ef91]
13: akonadiserver() [0x8060d06]
14: akonadiserver() [0x8062356]
15: akonadiserver() [0x8055baa]
16: /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xf5) [0xb6ddc8c5]
17: akonadiserver() [0x8056691]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
"akonadiserver" crashed too often and will not be restarted!
plasma-overlay(18320)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "" not found
http://ars.userfriendly.org/cartoons/
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: screen lock doesn't show lock  Topic is solved

Sat Aug 31, 2013 10:23 am
nothing appears relevant in that file

1) open the app kdebugdialog -> deselect all -> in search field -> ksmserv -> select all -> ok
2) rm ~/.xsession-errors
3) run qdbus org.kde.ksmserver /ScreenSaver Lock
4) look at ~/.xsession-errors

Image


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Jayen
Registered Member
Posts
22
Karma
0
OS

Re: screen lock doesn't show lock

Sat Aug 31, 2013 10:53 am
google01103 wrote:nothing appears relevant in that file

1) open the app kdebugdialog -> deselect all -> in search field -> ksmserv -> select all -> ok
2) rm ~/.xsession-errors
3) run qdbus org.kde.ksmserver /ScreenSaver Lock
4) look at ~/.xsession-errors
i don't know what kind of voodoo is going on. i did (1), logout, login, (3) and it works now. ksmserv executing code in a debug statement?
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: screen lock doesn't show lock

Sat Aug 31, 2013 11:00 am
what do you mean by "debug statement"?

so the qbus command now works? does the alt+ctrl+l ?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Jayen
Registered Member
Posts
22
Karma
0
OS

Re: screen lock doesn't show lock

Sat Aug 31, 2013 10:05 pm
google01103 wrote:what do you mean by "debug statement"?
i'm used to seeing programmers do things like: if(debug) displayScreenSaver();

google01103 wrote:so the qbus command now works? does the alt+ctrl+l ?
yes, it all works now.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: screen lock doesn't show lock

Mon Sep 02, 2013 9:11 am
KDebugDialog is used to enable or disable debugging output from KDE applications, which can provide useful information to developers and those who do support as to what an issue might be, or why certain behaviour is occurring.

In this case, it is likely you were experiencing a temporary issue, which rectified itself.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Jayen
Registered Member
Posts
22
Karma
0
OS

Re: screen lock doesn't show lock

Mon Sep 02, 2013 10:38 pm
bcooksley wrote:KDebugDialog is used to enable or disable debugging output from KDE applications, which can provide useful information to developers and those who do support as to what an issue might be, or why certain behaviour is occurring.

In this case, it is likely you were experiencing a temporary issue, which rectified itself.
Define 'temporary'. I've had this issue for over a week. How can an issue rectify itself? There must be some cause and effect. Perhaps the fix was not some misplaced line of code in ksmserv's debugging output, perhaps the fix was a clean logout, which possibly I hadn't done in the whole week? (Previously, I would attempt to lock the screen and then be forced to kill my session.)


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]