Comments (3)
symlink already exist
ln: failed to create symbolic link '/root/.gllock': File exists
run
sudo rm /root/.gllock
from gllock.
After removing the file:
╰─>$ sudo make clean install
cleaning
gllock build options:
CFLAGS = -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="0.1-alpha" -DHAVE_SHADOW_H -DSHADER_LOCATION="/root/.gllock" -DFRGMNT_SHADER="circle.fragment.glsl"
LDFLAGS = -s -L/usr/lib -lc -lcrypt -L/usr/X11R6/lib -lX11 -lGL -lGLEW -lpthread
CC = cc
CC gllock.c
gllock.c: In function ‘readpw’:
gllock.c:172:26: warning: implicit declaration of function ‘crypt’ [-Wimplicit-function-declaration]
172 | running = strcmp(crypt(passwd, pws), pws);
| ^~~~~
gllock.c:172:26: warning: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion]
172 | running = strcmp(crypt(passwd, pws), pws);
| ^~~~~~~~~~~~~~~~~~
| |
| int
In file included from gllock.c:15:
/usr/include/string.h:136:32: note: expected ‘const char *’ but argument is of type ‘int’
136 | extern int strcmp (const char *__s1, const char *__s2)
| ~~~~~~~~~~~~^~~~
CC common.c
CC -o gllock
installing executable file to /usr/local/bin
from gllock.
It was working without issue before I updated my libraries and systemd and some other things. After that, it didn't work at all. I am not sure exactly what broke gllock. I rebuilt gllock and it works again minus the crypt function. Pressing enter unlocks my computer with or without any additional characters.
from gllock.
Related Issues (19)
- Finished shaders take up a CPU core HOT 1
- gllock locks and immediatly unlocks HOT 4
- Rebase on latest slock
- 'sticks' in unlock HOT 4
- gllock version HOT 2
- Requires sudo, so cannot use it through kde connect HOT 1
- Why does this need sudo? HOT 1
- If ran without sudo (even if excluded in visudo), out put is just a simple version log HOT 3
- Request: Faster unlock animation HOT 3
- AUR package HOT 10
- Makefile issues
- Use PAM authentication instead
- What will the license be? HOT 2
- Segfault at password entry. HOT 6
- Repository has bulky images HOT 2
- How do I switch shaders? HOT 1
- How do I switch shaders? HOT 4
- Some kind of indicator for input HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gllock.