Questions tagged [lock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
40 views

Ubuntu 23.10 cannot update addtional drivers due to lock

Just updated t0 23.10, trying to try out nouveau driver, have a nvidia gpu and driver. Addtional drivers won't let me change to nouveau beacause of a lock file and synaptic and dpkg. This is a bit ...
Jim Maas's user avatar
  • 107
0 votes
0 answers
24 views

Ubuntu 22.04 locks system while in use

Running on a Dell 5680, Ubuntu installed by Dell (computer came with it). All settings that I can find are set for no locking, no screen saver, no sleep. It can be used for no more than 15 seconds ...
Kris Ellis Lewis's user avatar
0 votes
0 answers
87 views

Ubuntu Pro: Another process is running APT

I am trying to enable esm-apps on my Ubuntu 22.04 machine (pro enable esm-apps), but it keeps on failing to update package lists 'Another process is running APT.' while 'apt update' is working ...
Zorono's user avatar
  • 41
0 votes
1 answer
250 views

using ubuntu 20.04.6 LTS version vikas@vikas-X542UQ:~$ apt --fix-broken install E: Could not open lock file /var/lib/dpkg/lock-frontend

Problem facing in sudo apt-get update tried sudo -s apt-get update apt-get upgrade then facing problem The following packages have unmet dependencies: The following packages have unmet dependencies: ...
Vikas M.'s user avatar
0 votes
0 answers
39 views

Play Sounds on Startup, Logout, Lock, and Unlock

The title says it all. I know of the common approach to add a command to Startup Applications but I am seeking some tool or extension that allows to set/disable/customize sounds for several common ...
Makaveli84's user avatar
0 votes
0 answers
209 views

Ubuntu 23.04 freeze at login screen after fn lock

I have basically clean install of latest Ubuntu 23.04 on my Lattitude laptop (no nvidia or proprietary drivers) And after a few days, it suddenly started to freeze right at login screen. Have to go to ...
user2201056's user avatar
0 votes
0 answers
81 views

My apt is locked after AMD graphics drive update

Running Ubuntu 22.04.2 LTS version 5.19.0-41 generic. Installed the latest AMD graphics driver from the AMD site, amdgpu-install_5.4.50405-1_all.deb because I was seeing tearing from my new Radeon RX-...
TwelveyearsUbuntu's user avatar
0 votes
0 answers
100 views

login screen no show in a new user ubuntu 22.04

Ubuntu 22.04. I maked a new user and when i lock screen the login screen no show. I need help. my main user is function correct, no problem.
Alex Paranaguá's user avatar
3 votes
0 answers
158 views

Ubuntu 22.04 upgrade hanging

I need some help figuring out what happened and how to fixed my Ubuntu distribution upgrade. I decided to upgrade to 22.04LTS from 20.04LTS last night and ran into a problem where its hanging. Below ...
Mandalayfriz's user avatar
2 votes
0 answers
272 views

App to stop distractions

Can someone recommend any app that can be used to help stop distractions and procrastination? I am aware of some applications that exist for writing text which have their own editor window. These ...
Tatty Man's user avatar
  • 101
0 votes
1 answer
53 views

restore files in path /var/lib/dpkg lock

I accidentally deleted /var/lib/dpkg/lock and /var/lib/dpkg /frontend files from my ubuntu 22.04 system. How do I return them?
hnyh's user avatar
  • 1
3 votes
1 answer
4k views

how to unlock /var/cache/apt/archives/lock

I was trying to install firefox from deb instead of firefox snap because the firefox extensions will not work in the snap version, but the system tried to re-install snap version instead. The dialog ...
CrashedAgain's user avatar
0 votes
0 answers
155 views

Login is taking lot of time and more in case of locking the user | Ubuntu 22.04 |

I installed Ubuntu 22.04, and for some time, I haven't used the machine for quite some time (2 months). After 2 months, I opened the machine and ran the upgrades using the package managers. Soonly, ...
Rahul Kodumuru's user avatar
0 votes
0 answers
49 views

Problem when mounting Windows drive

After I installed Ubuntu on my device I couldn't access my Windows SSD. It should be using a passphrase, and I have no idea about it.
Arisa Olivia's user avatar
1 vote
1 answer
652 views

Remove Lock Option from Top Panel

I am running GNOME 42(22.04 LTS) on my lenovo ideapad D330 convertable tablet(only one which works out of the box with orientation of touch and screen giving least issues). However one of the main ...
Hipster Monkey's user avatar
16 votes
1 answer
3k views

Ubuntu 22.04 won't wake after screen lock / screen dim

I have a fresh installation of Ubuntu 22.04 and it won't wake after screen lock. This is true for both, X11 and Wayland (also disabling Wayland for gdm3 doesn't help). System suspend works fine, only ...
Leszek's user avatar
  • 2,939
1 vote
1 answer
202 views

'Files' icon on lock/login screen

Recently I installed Ubuntu 20.04 and noticed something upon the fresh install that I hadn't seen in earlier versions: a small files icon on the bottom of the inlog screen (as pictured in the ...
Florentius's user avatar
0 votes
2 answers
517 views

All my Files are locked and I can not modify them, how do I unlock them?

Hi to Ubuntu Community, I was opening one of my folders when I noticed that the folder, and all the others around it, had a lock on each one, and then disappeared. And now, when I want to delete, ...
user312972's user avatar
0 votes
1 answer
168 views

Lock the Computer over Night and on Weekends

Given my computer runs on Ubuntu, and I can install on it whatever I like: If I would want to prevent myself from using the computer in the night and on the weekend, what software solution comes ...
Jonathan Scholbach's user avatar
0 votes
1 answer
248 views

20.04: Is it possible to lock the workspaces panel "out?"

I have a 27" x 2K monitor so plenty of viewing area. Is there some way I can lock the workspace panel in the out position? Currently I have to Tap the "Super" Move the mouse to the ...
user2445336's user avatar
0 votes
0 answers
10 views

Problem with lock files while installing Vulkan [duplicate]

I am trying to install Vulkan on Ubuntu 20.04 by following the steps given on this website: https://linuxconfig.org/install-and-test-vulkan-on-linux. I am following the steps for AMD, not NVIDIA. When ...
Rowan Martel's user avatar
1 vote
0 answers
156 views

Screen lock not working (Window+L) not working

I am using Ubuntu 20.04LTS. When I upgraded my system from Ubuntu 18.xx/19.xx(sorry i don't remember) to Ubuntu 20.04, my screen lock suddenly stopped working. Earlier when I press Windows(Super) + L, ...
John's user avatar
  • 19
2 votes
0 answers
194 views

How to lock a partition with Ubuntu so that it won't be accidentally wiped during an OS installation?

I want to install Arch. I have no use CLI-installer. So I am scared that I delete my important data in a partition. Can I lock the partition for saving data? I use ubuntu. Can I do it in ubuntu? Or is ...
Reza Hosseinzadeh's user avatar
0 votes
1 answer
601 views

Folder showing lock icon in Ubuntu

I have a folder showing a lock icon. I can't execute any programs that are in this folder. I have tried to run the commands: chmod 777 folder_name and sudo chown -R USER:HOME folder_name When I do ...
user1280815's user avatar
0 votes
1 answer
682 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/...
yusuf's user avatar
  • 1
1 vote
0 answers
94 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 ...
QW3RTY's user avatar
  • 11
3 votes
1 answer
478 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 ...
AlSentieri's user avatar
0 votes
0 answers
169 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 ...
rizo's user avatar
  • 1
0 votes
3 answers
2k 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 ...
Aria P74's user avatar
  • 117
0 votes
1 answer
266 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.
Shubhi Mahehswari's user avatar
0 votes
2 answers
3k 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 ...
Обедающий философ's user avatar
2 votes
0 answers
186 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 ...
Arpit Mîttål's user avatar
2 votes
0 answers
502 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....
Обедающий философ's user avatar
0 votes
1 answer
1k 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 ...
Michal AB's user avatar
4 votes
1 answer
38k 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 ...
David Paul Browning's user avatar
0 votes
0 answers
626 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 ...
rbj's user avatar
  • 101
2 votes
1 answer
132 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.
OldGrampa's user avatar
  • 139
0 votes
0 answers
41 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 ...
Debid's user avatar
  • 1
0 votes
0 answers
45 views

Error while updating softwares 20.04 [duplicate]

I have a problem while trying update Ubuntu 20.04 How I can solve this?
Behzad Saeedmoaddab's user avatar
5 votes
1 answer
2k 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 ...
Christian Fares's user avatar
0 votes
3 answers
4k 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), ...
parodi's user avatar
  • 1
3 votes
0 answers
183 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 -...
BitFreak's user avatar
  • 143
0 votes
0 answers
23 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
Hello Anks's user avatar
1 vote
0 answers
154 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 ...
Satchel's user avatar
  • 11
0 votes
0 answers
210 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 ...
Over Drive Gain's user avatar
-1 votes
2 answers
404 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 ...
jarno's user avatar
  • 5,580
1 vote
2 answers
3k 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. ...
Mike's user avatar
  • 411
0 votes
1 answer
248 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 ?
user1016575's user avatar
0 votes
0 answers
723 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 ...
Kapil's user avatar
  • 519
3 votes
2 answers
2k 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 ...
LenDuck24's user avatar

1
2 3 4 5