Questions tagged [lock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

I get a frontend record lock error on install command

get this message in T when attempting any install including with sudo: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is he ... by process 5391 (apt)... 18s used: ps -aux ...
0
votes
0answers
16 views

disabled autolocking on ubuntu 18 but laptop still turns off after a while

in power settings, i set black screen never, automatic suspend off on battery and when plugged in. in privacy setting, i turned screen lock to off. I feel like i've covered all the bases but ubuntu ...
0
votes
0answers
137 views

Error while installing MysqlServer

First of all when I try to install mysql server with sudo apt install mysql-server, it is stuck generally at the stage %81 and waiting last lines like below mysqld will log errors to /var/log/mysql/...
0
votes
0answers
33 views

Change lid action Thinkpad-t530?

I have a Lenvo Thinkpad-T530. This is a laptop, and like all laptops, it has a lid. I want to change the lid action, i.e, what happens when you close the lid. I tried editing the/etc/systemd/logind....
1
vote
0answers
24 views

Setting a Time Limit on Apps

With online school, working productively online is a big focus for me right now. I was wondering if there was a way, whether through a program or code I could lock some of my apps so I can't use them ...
3
votes
1answer
175 views

USB bug which locks the kernel

I manage a few remote machines installed at a manufacturing facility, which run Ubuntu 18.04. For months I had seen unexpected kernel locks, which I could not explain. By locks I mean that the machine ...
0
votes
0answers
34 views

unlocking screen returns to login (lightdm)

Unlocking the screen for an openbox session returns to the lightdm login screen. I want to not return to lightdm or allow to switch away from the current logged in user. Had this working in 16.04 but ...
0
votes
0answers
55 views

Ubuntu toggle button not working to enable Bluetooth in Settings

The Bluetooth toggle button (on/off) in Settings seems to be locked, and I cannot enable Bluetooth. Any idea of what could be the problem? (I found a similar question on the forum, but they got no ...
0
votes
1answer
54 views

How do I disable automatic screen locking in Xubuntu?i have tried many ways but still not working

After about 10 minutes, Xubuntu the latest version goes to sleep by itself although I have changed the power setting and I put everything on never, besides I have disables locker program in startup ...
0
votes
0answers
43 views

how omit this error: unable to lock directory /var/lib/apt/lists

When I run the command apt get update I always get the following errors: E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/...
0
votes
1answer
61 views

LibreOffice creates lock file

I'm unable to access libreoffice files in Ubuntu.It's creating lock files and not opening. Why is it happening? Please tell the solution.
0
votes
2answers
772 views

Can not enter password on lock screen in 20.04

I was able to enter my password on ubuntu purple focal fossa lock screen (however i never wanted this screen to appear). Until now. Today i tried to enter the password, but failed to do this. The ...
2
votes
0answers
91 views

Automatic Lock Ubuntu 20.04.1

Ubuntu 20.04.1 LTS, locks automatically. And after this sound output switches to dummy output. The sound setting gets normalized after restart only. And all the processes taking place terminates. Help ...
1
vote
0answers
286 views

Can not disable screen locking after suspend in 20.04

I updated from 18.04 to 20.04 and since then unable to disable lock screen, despite it was disabled in 18.04. Corresponding setting in the gui does not take effect, so does gsettings set org.gnome....
0
votes
0answers
16 views

fatal random screen lock

I'm running 20.04 on a desktop. Since updating to this version the computer has been locking as per screen lock but there is no reopening possible, ie hard reboot is the only option. This only occurs ...
0
votes
1answer
431 views

Ubuntu locked shared files

I have Samba in Ubuntu, where I share one Directory with name "Kurier" When I paste to this directory new file from other device, I see this file in Ubuntu like Locked. I can unlock this ...
0
votes
1answer
5k views

E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5200 (apt) [duplicate]

E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5200 (apt) N: Be aware that removing the lock file is not a solution and may break your system. E: Unable to acquire the dpkg ...
0
votes
0answers
44 views

Lock session just reloads Gnome-shell

I upgraded my PC to Ubuntu 20.04 LTS from 18.04 LTS last month, and I noticed that the lock user session is not working anymore. Auto suspend doesn't work either. I leave my PC unattended for hours ...
0
votes
0answers
63 views

Unable to Start VMware due to .lck - How To Fix?

When I try and start VMware, I get this error: I found this .lck directory, which contains a M45876.lck file. I am not sure how to safely remove this file, or do I remove the entire directory, or ...
2
votes
1answer
58 views

Lock One Desktop Icon

On Ubuntu Mate 18.04, how might I lock just one of my desktop icons, so it will not be moved. when I "Organize Desktop by Name.
0
votes
0answers
35 views

Added keyboard layouts don't show on login screen - Ubuntu Studio 20.04 x64

I use Ubuntu with an Australian keyboard layout and I want to add a new user from the lockscreen who needs to use a French layout (AZERTY). I added the French keyboard from my session and, within my ...
0
votes
0answers
17 views

Lock resource to stop other users from using it

In our company we have a server machine that is widely used by our team, everybody has their own user account and everything works good. Now, there are a few developers that are working with a ...
0
votes
0answers
37 views

I'm getting this type of screen after screen reopen in some applications in 20.04

when I lock or suspend and close the screen after reopen screen I'm getting this type of undefined screen in some parts of applications like vs code terminal and Viber. Some screenshots: Laptop: Hp ...
0
votes
0answers
43 views

Error while updating softwares 20.04 [duplicate]

I have a problem while trying update Ubuntu 20.04 How I can solve this?
2
votes
1answer
467 views

Screen does not lock on suspend

I have recently updated to 20.04 and now when I suspend, either waiting for a long time, closing the lid or manually suspending, the screen does not automatically lock. I've tried setting the 'lock on ...
0
votes
3answers
560 views

Could not get lock error while trying to sudo apt upgrade [duplicate]

I'm typing sudo apt upgrade E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), ...
2
votes
0answers
108 views

lock screen on resume

I have Ubuntu 18.04 with Plasma installed and I have Lock screen on resume: checked under System Settings -> Desktop Behavior -> Configure Screen Locking but when I put my computer to sleep by K-Menu -...
0
votes
0answers
22 views

cant change a login scrreen or always shows this screen on startup

When ever I open it shows this old type. this is scrreen looks like on startup
1
vote
0answers
113 views

Ubuntu 18.04 Suspends only after lock

it looks like my installation of Ubuntu is having some issues with the order of operations. Whenever I try to suspend the system using the systemctl suspend command or by closing the lid after ...
0
votes
0answers
84 views

Something is wrong with the locks on my PC at work

I'm using Ubuntu 16.04. Whenever I try to run most of the programs I get an error related to locks. Even when I open a terminal window I get an error related to locking. For example, when I open a ...
-1
votes
2answers
266 views

Is it possible for a Bash script to lock package management so that the script could still use apt (and dpkg) to make changes?

I would like to do something like this: Ask user which packages to remove interactively Remove the requested packages And I want to keep the package system intact while getting the user input. It ...
1
vote
2answers
2k views

Stop monitor from going to sleep in ubuntu 19.10

I'm searching for a new solution to stop monitor going to sleep in ubuntu 19.10 desktop when I lock screen. This solution with gscreen doesn't work anymore: https://askubuntu.com/a/788456/1020896. ...
0
votes
1answer
182 views

lubuntu 19.10 / myria MY8312SV / discover app / can not obtain lock [duplicate]

I can not install nor upgrade anything 'can not get lock var/lib/dpkg/lock-frontend. it is held by the process 2469 ...' could you suggest what to do to ?
0
votes
0answers
360 views

Possible missing firmware for i915 and nouveau when updating kernel with ukuu

I am writing it as an experience as I found most of the answers are too detailed for a newbie and hoping that it will clarify two different aspects. I was installing 5.3.4 kernel with UKUU and was ...
3
votes
2answers
859 views

How can I run a command when a usb device is (dis-) connected?

I am new to linux, and this is probably a noob question, so, sorry for that. I am using a linux PC in my workshop, and I would like to automate the workshop. That's why I have installed a power strip ...
1
vote
0answers
56 views

ubuntu 18.04: Delay screen from going black after manually selecting lock

I was wondering if there was any way of delaying the screen from going black after manually selecting lock from the menu pane. If possible I'd like to set the lock screen itself to go black after 20 ...
0
votes
1answer
137 views

Screen turns off after lock session

Ubuntu 19.04 GNOME When I lock my computer screen turns off for a shot period. How to disable this?
2
votes
1answer
754 views

Could not get lock /var/lib/dpkg/lock-frontend - specific to one single .deb package

I have a custom built package I'm trying to install on my device. It returns this error: nvidia@tegra-ubuntu:~$ sudo dpkg -i MyPackage.deb (Reading database ... 181574 files and directories ...
3
votes
1answer
410 views

Disable Lock Screen on Resume

I am using Ubuntu 19.04 and am attempting to disable the lock screen from appearing on resume completely. I have disabled the Screen Lock in Settings, installed the "Disable Screen Shield" extension ...
1
vote
1answer
189 views

Resume/revert changes by interrupted installation

I was installing ubuntu-restricted-extras, however process was stuck on configuration (couldn't click OK in terminal). I just closed terminal. Now I can not run any upgrade case of the lock on this ...
1
vote
0answers
120 views

After opening laptop, screen repeatedly locks

When I close my laptop and open it back up and log in, it lets me log in but then roughly 30 seconds later it goes black for a moment, locks, and requires me to put my password in again. The issue is ...
1
vote
1answer
521 views

On kubuntu (KDE) all desktop icons can be moved, but not configured. They show a black lock across

No, I haven't locked my widgets. I can move them around freely, I can create them, I can delete them. But I can't resize them and I can't get to their handles. I searched in here, and found two ...
0
votes
0answers
37 views

Is there any logging of the basic access to the PC with Ubuntu?

Is there any logging of the basic access to the PC with Ubuntu. Also that PC is not auto-locked in some time, only the screen is dimming. For example, someone comes nearby, touches the mouse, and the ...
2
votes
0answers
277 views

Screen lock on Ubuntu 18.04 goes to switch user

I have a new Ubuntu 18.04 installation using lightdm and ubuntu-desktop. Other than root, users are set up via an LDAP server. If I log on as a regular user, I get the desktop w/o issue. If I ...
137
votes
1answer
267k views

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) [duplicate]

I'm trying to run this command in the terminal: sudo apt install software-properties-common This is the error message I get: E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource ...
0
votes
0answers
62 views

Hide user input - Ubuntu lock screen

I was wondering (and didn't find any information) if I can hide the password symbols (*) when logging in, I want to make my lock screen like the terminal when you type your password (just for fun :D) ...
1
vote
2answers
2k views

What are the shortcut keys to lock screen on Ubuntu 18.04?

Before Ubuntu 18.04, I could lock my screen by using Ctrl + Alt + L keys, but I cannot do it on 18.04. Does anybody know what are the shortcut keys to lock screen on Ubuntu 18.04?
0
votes
0answers
722 views

Lubuntu 18.04 screensaver lock not working

I'm using Lubuntu 18.04 (or 10, don't recall). In the last couple of days, my screensaver lock has stopped working. It was working fine a few days ago. My screensaver would kick in and in order to get ...
0
votes
2answers
214 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 ...
4
votes
2answers
527 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 /...

1
2 3 4 5