Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lock]

The tag has no usage guidance.

0
votes
1answer
33 views

Problem cleaning boot partition

I tried to upgrade my Ubuntu 18.4 to 18.10. At the end, it tells me it cannot continue because I don't have enough disk space on /boot and therefore it did only a partial update. I reboot the system ...
0
votes
0answers
14 views

Lockscreen on Ubuntu 18.04 flashes clock then login screen repeatedly

When I lock Ubuntu it goes to a clock then a couple seconds later it goes back to my login screen then repeats. I recently upgraded from 14.04 to 16 to 18 and i have old files left over that ive ...
0
votes
0answers
27 views

How to manually prevent apt to run via lockfile? [duplicate]

I need to perform a certain script, which involves apt/dpkg operations, and I need to prevent apt-get from running concurrently. The easiest way I can think of is to manually lock the /var/lib/apt/...
0
votes
0answers
14 views

Is there a way to change system-wide what command is executed when you lock the screen

I want to be able to change the command that is executed when I lock the screen. I want to use i3lock to completely replace the system lock. When I use Super+L, it goes to ubuntu lock screen, along ...
3
votes
2answers
80 views

How does apt-get use /var/cache/apt/archives/lock?

I am curious of how /var/cache/apt/archives/lock used in apt-get. I found out that it is a regular file and I think it is used by calling flock on it every time apt-get needs to make some changes to /...
0
votes
1answer
95 views

Anydesk is completly locking my Ubuntu 14.04 OS?

I was using anydesk 2.9.5 version but it is freezing my computer. Also upgrade to latest version of anydesk 4.0 free personel program but it is locking all my system and my 14.04 OS is completely ...
0
votes
0answers
160 views

Manually Simulate “bad interpreter: Text file busy”

Sometimes I get an error: chmod +x a.sh ./a.sh Error a.sh: /bin/bash: bad interpreter: Text file busy I figured out the solutions was to add a sleep between the two lines: https://github.com/moby/...
0
votes
1answer
77 views

Use many terminal tabs to install using sudo command

So there were several questions regarding how to run several terminal windows to install something with the command sudo - Essentially what bothers me is the fact that I have to type the following ...
0
votes
0answers
197 views

Folder or drive lock in Ubuntu 18.04 [duplicate]

Is there a simple method to lock a drive or folder in Ubuntu 18.04 other than Cryptkeeper?
2
votes
2answers
1k views

Ubuntu 18.04 opening system setting logs me out

I've recently installed Ubuntu 18.04 in a dual-boot configuration with Windows 10. I noticed today that, when trying to open system settings, Ubuntu seems to log me out to the lock screen. When I log ...
0
votes
0answers
52 views

I Cannot find swipe to Unlock setting in Settings oin Ubuntu 18.04 LTS.

How do I remove swipe to go to unlock in Ubuntu so's i don't havt to swipe to unlock?
1
vote
0answers
124 views

ubuntu 18.04 locks itself after 5 mins from logging even if working

I had installed ubuntu 18.04 on my del inspiron lap. when I logging in and work it returns to lock screen after 5 minutes even if I am working.
-1
votes
1answer
271 views

No lock button in Status Bar of Ubuntu 18.04

No lock button is present in the drop down of the status bar in Ubuntu 18.04. When I go to Settings> Privacy> Screen Lock, I can click Screen Lock to open the Screen Lock window. In the Screen Lock ...
3
votes
1answer
1k views

Desktop section of gnome-tweak-tool missing lock screen options

In this thread, the answer shows this menu: However, I don't see the 'Lock Screen' section. I'm trying to change the 'Adjustment' setting for my lock screen wallpaper. Was this removed? If so, how ...
1
vote
1answer
229 views

How to lock hostname changes in Ubuntu 18.04

I take care of a computer lab and I need to lock changes in the hostname because of the students. Ps: They do not have root access
0
votes
0answers
36 views

error while installing gnome shell extension in 18.04 [duplicate]

How should I fix this: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using ...
0
votes
2answers
129 views

18.04 Screen blanks after several hours, machine still running, all I get is a cursor

I can hear sound when I click around. Mouse is visible. When hitting the NumLock key it turns on and off so the computer is not locked up. I have to reboot the machine to get back in. I have spent a ...
0
votes
1answer
3k views

Can't install apps using sudo apt-get install: unable to lock the administration directory [duplicate]

I can't install some applications using apt-get. It shows the following error. How to solve it? $ sudo apt-get install apache2 E: Could not get lock /var/lib/dpkg/lock - open (11: Resource ...
1
vote
0answers
1k views

Lock but do not turn off display

ubuntu locks with the shortcut and resumes succesfully (windows button + L) but i do not want the screen to turn off. I want the screen to remain active and display the lockscreen. running 17.10 on ...
0
votes
0answers
26 views

Ubuntu 16.04 Update: dpkg frozen? [duplicate]

I'm a new user running a fresh install of 16.04 on a Dell XPS laptop. I tried to update my software for the first time, using the "updates" tab of the Ubuntu Software application. The first update "OS ...
0
votes
0answers
44 views

What is reason for automatic file lock symbol or automatic binary file conversion?

A brief description of the problem: Folders in a pendrive got converted to binary or lock symbol appeared on them in ubuntu: (a.) when deleting inner folders (or) (b.) while right click and checking ...
0
votes
0answers
115 views

Ubuntu 16.04, ethernet disconnects when I lock the computer

I have Ubuntu on desktop computer, it is connected to network with wired connection. Every time I lock the computer it disconnects from network. So my e-mail doesn't work for example. When I unlock ...
0
votes
0answers
33 views

Blue screen, black screen, could not get lock

I installed Ubuntu 16.04 with a custom install on a second hard drive while I have Windows 10 on the SSD. Everything went fine during the installation and both of my monitors worked. I rebooted after ...
0
votes
0answers
46 views

Temporarily lock/disable the keyboard [duplicate]

Is there any way by which I can temporarily lock/disable my laptop's keyboard only without locking the screen and touchpad? I have used xtrlock but it freezes the screen also as soon as it starts ...
1
vote
1answer
813 views

Disabling Lock Screen Fade to Black on Ubuntu 17.10 (Wayland) [duplicate]

When I lock the screen with the shortcut or gnome-screensaver-command -l The screen locks then sleeps, putting my monitor to sleep, I can't seem to be able to make any xorg workarounds work in ...
1
vote
1answer
58 views

Lock Gsettings Schemas for Only Members of a Certain Group

Does anyone have any idea on a way to lock Gsettings Schemas, so that they can't be overwritten, but only lock them for members of a certain group, so that members of said group can't overwrite the ...
0
votes
1answer
16 views

images fetched from server are not appearing in browser?

I am using xampp and uploading images to my directory(lampp/htdocs) as well as in the database. images are showing in the folder but appears in the browser while fetching the image from database(...
0
votes
1answer
236 views

GUI on ubuntu server 17.10 problem

I installed ubuntu server 17.10 on my workstation. It worked correctly. When I added a GUI (sudo apt-get install --no-install-recommends ubuntu-desktop) and rebooted the computer, I have no way to ...
1
vote
1answer
415 views

Ubuntu 17.10 with LXDE locking leads to black/blank screen

I recently upgraded to Ubuntu 17.10. As my laptop is rather on the weak side (performance wise), I grew quite uncomfortable with the new desktop as everything seemed to take longer, the laptop being ...
0
votes
2answers
263 views

PAM nologin not working?

Trying to learn basics of PAM and one thing I tried was to utilize the nologin feature. So I simply made a file /etc/nologin with the text "Sorry, users locked out for now!" I rebooted but for some ...
4
votes
1answer
242 views

Why does apt not display an error message even if flock is used?

Running script #!/bin/bash ( flock 9 # ... commands executed under lock ... fuser -v /var/lib/dpkg/lock apt-get -f --assume-no install ) 9>/var/lib/dpkg/lock as superuser does not display ...
0
votes
0answers
376 views

Can I change GNOME's lock screen back to the regular one?

GNOME used to lock using its standard locker, with the slide-up image and the password entry underneath that. For some reason, it has switched to a very primitive interface with my lock-image in the ...
0
votes
0answers
591 views

Docker -ce problem

I'm unable to remove lock from dpkg, and it seems docker-ce installation was stopped midway $ sudo rm /var/lib/apt/lists/lock $ sudo rm /var/cache/apt/archives/lock $ sudo apt install aptitude E: ...
0
votes
1answer
108 views

Removed lock after “could not get lock”, now I get “post installation script was interrupted”

I'm unable to remove lock from dpkg, and it seems docker-ce installation was stopped midway: $ sudo rm /var/lib/apt/lists/lock $ sudo rm /var/cache/apt/archives/lock $ sudo apt install aptitude E: ...
0
votes
0answers
200 views

Broken file system

So just a few hours ago this happened. I had a directory with many files so I created a new one with a dot before the name in order to stop showing all these files in Unity DE. I used Ctrl + H once ...
0
votes
1answer
246 views

Problem with sudo apt-get each time I log on

So recently I've started to face a completely new problem whenever I'm using the terminal for installing or updating any program. It reads E: Could not get lock /var/lib/dpkg/lock - open (11: ...
2
votes
1answer
66 views

Two Mice not working after screen lock

I have written a Perl script allowing the user to use simultaneously two mice. One right-handed and the other left-handed. The script works. The problem is that after returning from screen lock, both ...
0
votes
1answer
493 views

Add a .exe file icon to launcher

I have 2 or 3 programs that are not installed, just extracted. These extractions mostly have an .exe file.. for example repetier host. the files are deep in a tree in my pc, i have been able to add ...
1
vote
0answers
118 views

Ubuntu 16.04 shutdown & lock problem

I am a new linux user. When I press the Shutdown option from menu in my laptop don't shutdown and it's sign out from my sing in account . And from menu my lock option don't work . How can I solve ...
11
votes
3answers
1k views

Only require password when waking up from suspend when suspended for 10 minutes

I generally want my laptop to be locked when it's suspended but not when I just suspended it because there is a use case in which entering my password after my laptop woke up from suspend is pretty ...
0
votes
1answer
142 views

How can I delete folders from my trash which contain lock icon as well as some uneditable files?

I just remove some folders which containing a lock sign on it by using "sudo nautilus" command from my gnome-bash terminal,But It can not allow me to remove those files from my trash menu.What Do I do?...
0
votes
0answers
80 views

Create a lock for a shell script [duplicate]

Is there any way to lock a shell script from being executed twice? I need to execute a script that transfers some files from one server to another. The script has to be executed by cron once a day. ...
1
vote
0answers
292 views

Ubuntu 16.04LTS Locking down gnome

I have setup Ubuntu 16.04LTS with classic gnome instead of unity using: sudo apt install gnome-session-flashback I would like to be able to set and fix the background, launchers, menu items and ...
2
votes
0answers
72 views

What should I do in order that the Lock Screen will turn blank/Computer will sleep? - Cinnamon 3.2.8 (Ubuntu 16.04.1)

Just installed Cinnamon 3.2.8 in Ubuntu 16.04.1. The Screensaver/Lock Screen wouldn't turn blank after a few minutes, and would remain on a Screensaver Mode all night. The computer just wouldn't ...
0
votes
2answers
330 views

What are these lock icons in my “computer”?

Does this look right to you? I'm new to ubuntu, and I have feeling that it didn't used to be like this. I must have done something! How can I undo whatever I have done to it? Edit: I log in like ...
0
votes
1answer
214 views

Windows folder lock 7 forgotten password

I have a locked file with .flkb extension which is a locker in folder lock 7 software in Windows 7. I have forgotten the password of that locker and now I cannot access files in that folder. Is ...
0
votes
1answer
2k views

Can't uninstall PHPmyadmin in Ubuntu 16.04

My PHPmyadmin (PMA) install was stuck. I started a new session and when doing apt-get purge phpmyadmin I got: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)...
0
votes
2answers
1k views

Apt-get could not open lock - permanently [duplicate]

After running apt-get update I receive the following errors: E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/...
3
votes
1answer
9k views

How to disable lock screen on lubuntu?

i want to disable lock screen after suspend session of lubuntu.but it seems lubuntu don't have a lot of fans. can anyone help me on this? I don't want lock screen after suspension.Anyone know which ...
1
vote
0answers
94 views

Why after that I lost SSH connection during an installation I obtain this “Could not get lock /var/lib/dpkg/lock - open” error message?

I am not so into Linux and I have the following problem. I was installing RedMine on a remote Ubuntu Server via SSH, following the official tutorial: http://www.redmine.org/projects/redmine/wiki/...