The tag has no wiki summary.

learn more… | top users | synonyms

12
votes
3answers
6k views

Lock and Unlock from USB disk (pendrive)

Is there Any program for locking and unlocking my Ubuntu machine using a flash- drive? For instance, when I take out the usb flash drive, the computer locks automatically and when I put in the flash ...
12
votes
4answers
10k views

iOS 7 Locked Bug via Ubuntu 13.10

I wanted to bring up an issue with the latest Ubuntu release that I hope can be solved. Although I will agree with the community that iOS 7 is not the most open platform release, it still is my desire ...
10
votes
0answers
24k views

Installation Error, “Unable to lock the administration directory” [duplicate]

Whenever I try to install any software through Terminal or Software on my Ubuntu 11.04, I'm getting this response: In Terminal: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource ...
7
votes
1answer
3k views

Lock Tmux Session With Vlock

I have just installed tmux and vlock. When I try to perform the lock-session command, my terminal flashes and then nothing happens. Is there something in my .tmux.conf that must be added to tell tmux ...
6
votes
4answers
9k views

Unable to use package manager due to “exclusive lock” error [duplicate]

My synaptic package manager in ubuntu10.10 is giving error: Unable to get exclusive lock This usually means that another package management application(like apt-get or aptitude) is already ...
6
votes
3answers
25k views

Can't format / delete locked partition from gparted?

I can't format my hard disk for Ubuntu installation. It has Fedora installed in it. I wonder how to unlock the locked partition to delete and format it, since I am stuck at installing Ubuntu. I am now ...
6
votes
2answers
5k views

Unable to lock screen after upgrading to 12.04

After upgrading to 12.04, I can't lock my screen anymore, has anyone encountered this and found a solution? Basically the keyboard shortcut does nothing and even if I select the lock option from the ...
6
votes
2answers
3k views

Not Locking Screen after X minutes

Since I upgraded from Ubuntu 11.10 to 12.04 (and also 12.10 problem still occurs), my notebook does not lock the screen automatically. I wen into "Brightness and Lock" settings, Set "Turn Screen of ...
5
votes
2answers
7k views

How do I enable Scroll Lock?

I need to enable scroll lock so I can toggle lights on my keyboard. This works on Arch.Funny thing it doesn't work on Ubuntu. ...
5
votes
5answers
6k views

Lubuntu enforces screen lock

I can't disable screen lock in Lubuntu. In Power management I have it unchecked. There is another option "Enable light locker" in the "Light locker settings". I also have this unchecked but I still ...
4
votes
2answers
946 views

Lock Ubuntu Server 12.0.4

How do I lock Ubuntu server screen without installing gnome screensaver? I'm running the server with only the console without desktop installed.
4
votes
1answer
2k views

CPU usage goes to 100% when I lock the screen

Whenever I lock the screen, after a certain amount of time, the CPU and the CPU fan go to their limits, and they return back to normal the moment I unlock the screen again (as shown by psensor). How ...
4
votes
1answer
1k views

Lock Terminal and Suspend from Terminal

I am trying to lock and suspend from the terminal. I tried: pmi action suspend | at now + 1 min And then typed exit But both that and vlock kill the running command. Is there a way to lock the ...
4
votes
1answer
746 views

What is the gksudo “lock taken…exiting” warning and how do I resolve it?

I recently run into problems when using gksudo. For example, the Truecrypt installation fails because of following error: ** (gksudo:3262): WARNING **: Lock taken by pid: -1. Exiting. PID must be a ...
4
votes
2answers
584 views

How to unlock file, locked by a process

The file is locked by a process, java in my case. I only want the lock to be released. lsof | grep /home/user/workspace1 A temporary solution was to 'End Process' from 'System Monitor'. But ...
3
votes
1answer
426 views

How do I prevent the blank screensaver when using keyboard shortcut to lock the computer?

I lock my computer a lot, and was wondering if there was a way to get the lock screen when I hit ctrl + alt + L. Right now when I use that key combination it turns the screen black, and I have to hit ...
3
votes
1answer
908 views

Is it possible to permanently lock launcher icons?

I have installed Ubuntu onto my parents laptop. They are around their 80s. They manage to remove icons from the launcher accidentally again and again. I have to put them back manually, only to find ...
3
votes
1answer
821 views

Unable to create lock file when starting mongod via upstart

I'm trying to set up my mongodb upstart script to work as an arbiter, but I'm having permission problems when trying to create the lock file in the data directory: Tue Apr 1 17:11:01 [initandlisten] ...
3
votes
1answer
75 views

How to launch program on lock and close it on unlock [duplicate]

Have siblings who like to "play" with my laptop by waking it from suspension and then typing random keys on the keyboard into the password field. Afterwards, they always deny it. I plan to install ...
3
votes
1answer
519 views

Purpose of /run/lock/ (empty except for ./whoopsie/)

My /run/lock/ directory is empty except for ./whoopsie/. I have understood /run/lock/ as a replacement for /var/lock/ but was surprised to find it entirely empty. Is whoopsie meant as a deterrent ...
3
votes
0answers
226 views

Screen doesn't lock automatically [closed]

I have Ubuntu 12.04. No matter what I adjust the screen to. The screen does not lock automatically after any number of minutes. How do I remedy this?
3
votes
0answers
1k views

Change lock screen to the current wallpaper? [duplicate]

Possible Duplicate: How can I change or install screensavers? When I lock Ubuntu 11.10, but before I unlock it, the screen is black. Is there any way to change the black background to, say, ...
2
votes
4answers
1k views

“Lock” one specific file so that I nor root no longer have access to it any more

To combat procrastination, I edit my /etc/hosts file by adding time-wasting websites and pointing them to localhost. However, the flesh is weak and I often find myself reverting my changes. I was ...
2
votes
2answers
44 views

What is the purpose of lock file? [duplicate]

I have seen a file named lock in /var/cache/apt/archives in my Ubuntu 14.04. This file has only root access. When I try to display the contents of this file using sudo nano lock the file seems empty. ...
2
votes
2answers
103 views

What is the role of lock files in a system?

I can see there are many lock file here and there in my system. What is the exact role and purpose of those lock files? In my system I got this list, /run/lock/whoopsie/lock /proc/sys/dev/cdrom/lock ...
2
votes
2answers
2k views

Ubuntu 12.04 forgetting XModmap settings often

I have the following contents in my ~/.Xmodmap file. It seems a couple times a day (without rebooting or logging out) I need to rerun the command "xmodmap ~/.Xmodmap" to reset my settings. The only ...
2
votes
2answers
320 views

Is there a way to lock a specific application, in ubuntu, with 'sudo' method

For instance, if I needed to lock firefox, and whenever someone needs to access it (under the same username as mine) the usual sudo password prompt should appear. I have disabled password prompt by ...
2
votes
2answers
11k views

Mouse locks when keys are pressed

Whenever I play Minecraft and try to walk and turn at the same time, I can't. When I hit keys on my keyboard, my mouse locks in place. (This happens both in and outside of Minecraft) (Ubuntu 10.04 ...
2
votes
1answer
153 views

Are you a root? [duplicate]

If I want to install a program by: sudo apt-get install package_name I always get the error: E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such file or directory) E: Unable to ...
2
votes
1answer
958 views

How to unlock screen in Kubuntu 11.10?

After upgrading to Kubuntu 11.10, I'm no longer able to unlock my screen. The screen stays blank. Oddly, it seems I'm able to logout of my current session by hitting Ctrl-Alt-Delete Enter. Any ...
2
votes
0answers
113 views

Unable to use webcams

I have 3 webcams attached to my laptop for a c++/opencv project and my program crashed. Now it keeps giving warnings that "device or resource busy". I suspect this is a OS level error. Is there any ...
2
votes
1answer
69 views

Put monitor to sleep when locked?

Whenever Ubuntu 13.10 locks: Instead of making the monitor go black and the power button (on the monitor) turn orange like Windows did. It loses connection to the computer and shows me the Dell ...
2
votes
2answers
3k views

I seem to be locked out of my account [duplicate]

Possible Duplicate: Cannot get past login screen I keep trying to log in on start up, typing my password and pressing enter. But it doesn't go through. I just get kicked back to the login ...
2
votes
2answers
475 views

How can I disable screen locking _completely_ in Ubuntu 10.04?

We have Ubuntu-clients in our school and our students MUST NOT lock their screen. If they leave, they have to log out. Unfortunately there is an option to lock screen, so many students do so. I ...
1
vote
1answer
448 views

/run/lock and /run/shm missing

Recently I found /run/lock and /run/shm folders to be missing. I tried to recover some files with a mounted disk, I now know that this may caused the harm. So unaware what to do, I created these ...
1
vote
3answers
125 views

Inspite of the options the screen locks after X minutes

The OS Ubuntu 12.10 is installed on my computer. I want my computer never locks the monitor's screen. So that I chose the item "never" in the option "Lock the screen after...". But it doesn't work. ...
1
vote
1answer
213 views

Why have to lock archives and dpkg while doing installing apps and updates.

Actually if we suspend any application installing in middle or suspending updates then automatically while resuming we will get some problems like E: Could not get lock /var/cache/apt/archives/lock ...
1
vote
1answer
82 views

Computer not suspending when inactive in the main log-in prompt

My computer is set to automatically dim the screen and lock after 10 minutes, and suspend after an hour of inactivity. That works fine - but only once I've logged in. If I switch the computer on and ...
1
vote
2answers
50 views

How to restrict account access temporarily ubuntu

I need to temporarily lock accounts for couple of users on my Ubuntu server. What would be the best way to do this? Reason for doing this is a maintenance. However for some users the accounts need to ...
1
vote
3answers
586 views

How to lock a folder from terminal

Is there any way to lock a folder from terminal(protected with password) without using any third party applications like truecrypt,crypteeper nor giving user permissions. It was just like whenever a ...
1
vote
1answer
187 views

automatic lock screen issue

My Ubuntu 13.04 does automatic lock screen after X minutes, but the screen is still showing any opened windows. Only after we tried to click or type anything, Ubuntu will prompt password to unlock. ...
1
vote
1answer
1k views

how do I install gpointing-device - I seem to have got my brain into a loop

I would like to install the gpointing-device-settings package which I found on the Launchpad website https://launchpad.net/ubuntu/+source/gpointing-device-settings I tried: apt-get install ...
1
vote
2answers
218 views

Why does dpkg give me a “package was interrupted” error?

When I try install or remove a software through the terminal, I receive dpkg package was interrupted and further if I use software center to install the same, I receive ttf-mscorefonts-installer ...
1
vote
1answer
567 views

How can I lock Docky?

I set up Ubuntu with Docky and Xfce for my mother. But sometimes she accidentially removes Apps from Docky by letting them "drop" on the desktop. Is there a way to lock docky, so the programs can't ...
1
vote
3answers
1k views

How do I unlock /var/lib/dpkg/lock? [duplicate]

I attempted to install dropbox on my Ubuntu system, but now I am unable to install or uninstall any software. I get this error: E: Unable to lock the administration directory /var/lib/dpkg/lock? I ...
1
vote
1answer
443 views

FAT32 partition lock

A am asking about problem with USB data stick (that uses fat32 file system). If you unplug USB stick without unmounting (safly remove) data may become locked when you mount USB stick another time ...
1
vote
2answers
61 views

lock screen has turned to an old design

It's been two weeks since I installed Ubuntu 14.04 and today I found out my lock screen has turned to a very old design. like this image: I am new to Linux and I tried to fix the problem but I got ...
1
vote
1answer
39 views

Lubuntu Screen Locking Issue

I have a laptop running Lubuntu. When I leave it for about 10-20 minutes, the screen auto-locks. I can unlock it the first time, but I can not unlock it after that. Instead, I need to force reboot the ...
1
vote
0answers
26 views

Reason of removing apt/dpkg/lock & apt/archives/lock

Is it possible to install multiple packages by deleting " Using apt & dpkg in the same time ". dpkg/lock & /archives/lock The Ubuntu Developers made it for reason "that you can not ...
1
vote
0answers
34 views

Lock-screen to take a picture after incorrect password [duplicate]

Is there a way to modify the lock screen to show a custom message and/or take a picture (/w the webcam) when incorrect password was typed in? (Like it was shown in the movie Goodbye World) (And does ...