Michele Calgaro
8252927210
kdesktop: simplify lock process code. This ensure correct cleanup in case of unexpected termination of the process.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro
5e6907dc18
kdesktop: make sure the saver/lock remains responsive even when invokation has failed.
...
This could happen for example when a popup menu is open and the saver
autolock timeout expires. Before this commit, both kdesktop and the
X11 server would be in a dirty start and the saver/lock would either not
work anymore or not hide the windows on the screen.
It was necessary to kill and restart kdesktop to restore proper
functionality.
Note: the conditional return value of 0 or 12 at main.cpp:554 is a temporary
measure to prevent the screen to forcibly lock if the user forgets a popup
menu open and the saver timeout expires. Once the issue with input grabbing
is solved, we can remove the conditional return value and simply return an error
in such condition. Same applies to the variable trinity_desktop_lock_failed_grab,
which will no longer be needed in such case.o
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 month ago
Michele Calgaro
16652efd0f
Use TDEDesktopFile
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro
51230c05dc
Use TDESimpleConfig
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro
409442c1ea
kdesktop: fix deadlock condition between kdesktop and kdesktop lock.
...
The logic to handle communication with kdesktop_lock is now running
completely in a separate thread and event loop, meaning the main GUI
thread remains responsive all the time and can handle interaction with
X11, DCOP and DBUS calls. This resolves issue #589 .
The commit also solves the first problem reported in issue #640 and
loosely related to PR #526 .
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro
0a439ac80b
Replace TRUE/FALSE with boolean values true/false
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago
Michele Calgaro
669c9bc7d8
Use tdestandarddirs.h
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 months ago
Michele Calgaro
834496cf73
Use tdeApp
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro
2e45e9cc1d
Use tdecrash.h
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro
3df12e580b
Replace pthread and dl linking with cmake-based variables
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro
6671b1a5d0
Use tdeprocess.h
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 months ago
Michele Calgaro
2d7d2122cf
Replace Q_WS_* defines with TQ_WS_* equivalents
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro
a4241b7911
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro
c4a6487c82
Replace various '#define' strings - part 6
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro
100f977221
Replace various tq* strings with TQt::* equivalents
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro
b965cbac5b
Replace Qt with TQt
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro
7bc43c68b3
Drop TQT_TQ*_OBJECT defines
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro
814bf5fc4f
Replace Q_OBJECT with TQ_OBJECT
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro
f9f7aee79e
Removed HAL dependant code.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
e031e12d06
Respect build option WITH_TDEHWLIB, otherwise it can lead to FTBFS in special cases.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
48ddee7ba8
Update CMake rules to change tdehw library to standalone.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro
8b79083f96
Fixed FTBFS when building tdelibs/tdebase without tdehw.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
ba97e2dc25
Avoid direct usage of tdeldap library. This allows to remove hard dependency between packages.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
145abc15d5
Renaming of files in preparation for code style tools.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
4ef8f95912
Add FreeBSD / DragonFly specific /proc path for an executable file.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Denis Kozadaev
44e4d3ce6b
DilOS: use illumos specific /proc path for an executable file
...
Signed-off-by: Denis Kozadaev <denis@dilos.org>
5 years ago
Slávek Banko
e47bab3fd8
kdesktop: Add missing initialization of sigset_t in kdesktop_lock. This resolves bug 3025.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
7aa9258f19
Fixed use of SAK in lock process when autologin is used in TDM.
...
This resolves bug 2945.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko
d3834ad4f5
Add $DISPLAY to kdesktop_lock_lockfile file name.
...
This resolves bug 2998.
Thanks to Russell Brown for analyzing the problem and propose a solution.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko
91a3d227a5
Prevent hard-coded "tde/" in #include ...
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Michele Calgaro
6db0c5f228
Improved previous commit using local8Bit() in place of utf8() when a
...
password is transmitted over pipes to other processes.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Michele Calgaro
6ae10fc66e
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro
887cea6320
LIB_QT -> LIB_TQT conversion to align to updated admin module
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko
00b7a9c60a
kdesktop lockprocess: Removed unnecessary include linux/stat.h
...
This resolves FTBFS with glibc 2.28
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Timothy Pearson
4ec011cd55
Fix kdesktop_lock screensaver stuttering on modern GPUs
7 years ago
Slávek Banko
030fad5fe4
Reset states in kdesktop-lock if startSaver fails
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko
0a874e41b6
Write more details when kdesktop lock fails to grab input devices
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Timothy Pearson
2649b1ebf4
Disable card-based login if Kerberos support was disabled at compile time
9 years ago
Timothy Pearson
a7afe91e65
Do not start card authentication unless PKCS logins were enabled
...
Rename UserList class in kgreeter.cpp to avoid conflict with TDE LDAP library class name
9 years ago
Timothy Pearson
37b6d0d80f
Fix cryptographic card login process
10 years ago
Timothy Pearson
48cf3058c5
Move VT switch on card insertion to cryptocardwatcher process
10 years ago
Timothy Pearson
6d028f3b52
Use DM library in tdmtsak instead of making command line calls
10 years ago
Timothy Pearson
b5cb2797d6
Add new hardware device tray application
...
Allow removable media action request popups to be suppressed
10 years ago
Timothy Pearson
a2af4533d3
Fix card unlock
10 years ago
Timothy Pearson
6f5e7b2110
Streamline cryptographic card logon process
10 years ago
Timothy Pearson
9ea6780352
Stabilize cryptographic card login
...
Fix some coding style issues
10 years ago
Timothy Pearson
ce47730301
Add initial cryptographic card login support
...
Tested with themed greeter and SAK disabled
10 years ago
Timothy Pearson
e89d9e5e16
Fix the most egregious style guide violations in the remaining kdesktop_lock source files
...
No functional changes were made to the source
10 years ago
Timothy Pearson
b5462e86f3
Fix the most egregious style guide violations in the main kdesktop_lock source files
...
No functional changes were made to the source
10 years ago
Timothy Pearson
c54c4e7003
Fix the most egregious style guide violations in the kdesktoplock plugin sources
...
No functional changes were made to the source
10 years ago