Giter VIP home page Giter VIP logo

Comments (3)

divVerent avatar divVerent commented on May 20, 2024

I don't know how this has anything to do with the wireless connection and cannot reproduce it. I suspect this is a PAM issue on your side, like, PAM somehow/somewhere trying to resolve a name (maybe your host name) which runs into a timeout when connected, and fails immediately when not connected.

Things I'd check first:

  • Is your hostname (run: hostname, hostname -f) in your /etc/hosts file?

If fixing this didn't help:

  • xsecurelock uses a specific PAM file you specify in ./configure, e.g. /etc/pam.d/common-auth. Is there any PAM module in there that does network requests? Can you try copying this file to a new name, e.g. /etc/pam.d/xsecurelock, ./configure xsecurelock to use it, and then try commenting out parts of /etc/pam.d/xsecurelock until it works? Note that mistakes in this file can prevent you from unlocking the screen at all (you can use a Ctrl-Alt-F1 text console to kill xsecurelock then). Once you figured out which part is slow, re-enable it and try making this part not access the network.

from xsecurelock.

Konfekt avatar Konfekt commented on May 20, 2024

Thank you! The error seems gone on OpenSUSE 42.2 (before 42.1) and I'll report back according to your suggestions when it surges again. The only warning is a

Xlib:  extension "XFree86-Misc" missing on display ":0".

at the start of xsecurelock, but that does not seem to do any harm.

from xsecurelock.

divVerent avatar divVerent commented on May 20, 2024

Said extension is used to disable the shortcuts to disable screen grabs, namely:

Ctrl+Alt+Keypad-Multiply
Not treated specially by default. If the AllowClosedownGrabs xorg.conf(5x) file option is specified, this key sequence kills clients with an active keyboard or mouse grab as well as killing any application that may have locked the server, normally using the XGrabServer(3x) Xlib function.

Ctrl+Alt+Keypad-Divide
Not treated specially by default. If the AllowDeactivateGrabs xorg.conf(5x) file option is specified, this key sequence deactivates any active keyboard and mouse grabs.

If pressing them while the screen lock is running does not let you alt-tab out of the screen lock, you can freely ignore this error or recompile xsecurelock after uninstalling the XFree86-Misc development libraries (or adding #undef HAVE_XF86MISC to the source - there currently is no explicit way to disable this if detected).

from xsecurelock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.