As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [lock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
39 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
85 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
0 votes
0 answers
19 views

Power off TV monitor (Jammy), Brightness & Lock blanks screen, backlight stays very bright

As the title says, need to power off TV being used as monitor in Jammy. Brightness & Lock blanks screen but backlight stays very bright and using power. TV will auto off if no signal. Anyway to ...
DanTanMan's user avatar
1 vote
0 answers
85 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
0 votes
1 answer
25 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
0 votes
0 answers
84 views

Why Ubuntu user not affected by sticky bit on Ubuntu 22.04

I experience a strange behaviour in stick bit on /tmp directory and flock command. Tried with two cases: Case 1: create file with Ubuntu user, root have no access to the created file. ubuntu@:~$ touch ...
Tien Dung Tran's user avatar
2 votes
1 answer
1k 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
122 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

Lock and suspend aren't working properly in Ubuntu 20.04

I started using Ubuntu 20.04 on my Dell Latitude 7490 laptop a few days ago. When I lock or suspend my laptop and later if press a key, it does nothing. This happens if I use the Super+L keyboard ...
Hungry-tomato's user avatar
0 votes
0 answers
91 views

External monitor constantly powering on/off while on lock screen - Ubuntu 22.04

Running Ubuntu 22.04 on a HP laptop 15-dy2xxx. GNOME 42.2 with X11. Sceptre external monitor plugged in via HDMI. No issues when using the laptop with the monitor. However, I lock the screen, the ...
pixel_kreator's user avatar
0 votes
0 answers
30 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
314 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
2k 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,851
1 vote
1 answer
90 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
349 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
105 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
165 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
2 votes
0 answers
104 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
  • 21
2 votes
0 answers
126 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
358 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
572 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
75 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
387 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
133 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
2 answers
1k 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
216 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
2k 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
165 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
459 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
3 votes
1 answer
27k 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
304 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
124 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
  • 129
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
4 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
3k 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
174 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
179 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
372 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,147
1 vote
2 answers
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. ...
Mike's user avatar
  • 411
0 votes
1 answer
234 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
555 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 vote
0 answers
62 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 ...
PaulU's user avatar
  • 11
0 votes
1 answer
478 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?
Rickye's user avatar
  • 1
2 votes
1 answer
2k 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 ...
hackela's user avatar
  • 178

1
2 3 4 5