General :: Way To Automatically Unlock Screen For VNC Session
Sep 17, 2010
I'm connecting via ssh to an Ubuntu server that has a physical display attached.I'd like the physical display of the server to remain locked while I'm connected remotely.Is this possible? How? Also, is there a way to automatically unlock the screen for the VNC session, which is made from localhost via an ssh tunnel?
View 1 Replies
ADVERTISEMENT
Jul 24, 2010
There are often times when the best way to launch an application is from the terminal, but it is a graphical application and after it is launched the terminal is useless.
Examples of places where a terminal is convenient are when a process starts lots of child processes and is also unstable; you can be sure to kill all of its children simply by using Ctrl-C at the terminal. Also it allows me to read program output and to set up the terminal environment to be optimal for the application (for example "unset LIBGL_ALWAYS_INDIRECT")
With GNU screen, I can get around the hassle of having a terminal window open by using something like the following in a terminal window:
Code:
screen
my_command
Ctrl-A d
and then I can close the terminal and the program will keep running. Then I just type "screen -r <Tab>" (the tab will get me my screen session if there is only one such session) in any terminal window, even a tty, and I can get the screen session back and use Ctrl-c or something.
So my question is, is there a way to do this automatically so that a launcher or script will start a screen session, inside that screen session start a process, and then detach from that screen session without me having to manually open and close a terminal and type the commands?
View 2 Replies
View Related
Dec 31, 2010
I've done the process with no problem on Ubuntu, but I can't get it working with Lubuntu.
I installed the pam package. I then added the @include common-pamkeyring line to my /etc/pam.d/lxdm file.
Here's my complete /etc/pam.d/lxdm file:
Code:
Am I doing something wrong? Does something have to be done differently in LXDE?
View 1 Replies
View Related
May 8, 2011
I seem to have added all my passwords to the default keyring while using a live session. Now when I log in, I am then asked to unlock my default keyring. I thought if you logged in with a password this wasn't necessary. When I look at my passwords and encryption keys, all my passwords appear in the default folder, and nothing is in my login folder. Is there a way to migrate these passwords. Or is there a way to automatically unlock my default keyring?
View 1 Replies
View Related
Apr 6, 2010
I have set my computer to auto-login and as a result, the keyring asks me to enter my password every time I start the computer in order to access the password for the Ubuntu One client.
The whole point of auto-login was to not have to enter a password.
Is there a sensible way to use Ubuntu One without having to supply a password each time?
I say sensible, because I would like to avoid leaving the keyring totally open. I understand the purpose of the keyring, and that it should be locked by default. As far as I can see, the only potential work-arounds for the problem I am having seems to be to set the keyring password blank, thereby exposing all my keys to anyone on the computer. This option obviously defeats the purpose of having a keyring in the first place.
Is there not an option that lets me set that specific passwords are available automatically to specific applications? So that the entire keyring remains locked, but those passwords I deem ok to be unsecured are available to those applications I deem trustworthy? This option seem to exist for network-manager, why not for the Ubuntu One client?
Is this option not available, or am I missing something? If it isn't, I guess that I'll stop using Ubuntu One, which would be a shame.
View 9 Replies
View Related
Jan 28, 2011
Something like this:
[URL]
It automatically locks your workstation when the usb key is removed, and re-activates it when it is plugged back in.
View 1 Replies
View Related
May 10, 2010
So I've tried finding a solution to this on my own for the past few days (believing it is a simple solution), but for the life of me I can't figure it out. I'm running 11.2 and I have Evolution as a start-up program and I have finally got my wireless working, so it connects automatically at start-up also. I figured out how to have network manager automatically unlock the default keyring, but...
Each time evolution starts up I am prompted to unlock the default keyring. How can I give Evolution permission / access to the default keyring automatically so it can check me email upon start-up without me having to type in my password?
View 1 Replies
View Related
May 5, 2011
I'm starting the first command in screen like this: screen -d -m -S testen -t lalala watch df -h Now I have a screen session running in background and I can reconnect at a later time. But how can I run a second command (in a new window) in the same screen session?
View 1 Replies
View Related
Jul 26, 2010
I have to unlock the computer when the screen saver activates, How do I override the need to login. I just want to be able to move my mouse or hit a key on the keyboard to get out of the screen saver?
View 3 Replies
View Related
Aug 24, 2010
When I lock the computer, and move the mouse to unlock, the unlock screen is invisible and can't be seen. I can still type in my password and manage to unlock, but I can't visually see the screen, nor can anyone leave me a message while I'm gone. This only seems to affect GL screensavers.
View 2 Replies
View Related
Sep 13, 2010
I typically have several terminal windows each of which is connected via ssh to a remote server. In each window I work using the gnu screen program, to ensure persistence of the interactive processes in case of a disconnection.
Currently, whenever the ssh connection drops (such as when I put my client computer to sleep overnight) I have to manually and tediously restart the ssh session inside each window, and then in each window tediously resume the specific screen session (e.g. "screen -r 3453" in one window, "screen -r 3462" in the other etc.)
Is there an elegant way to automate this? Specifically:
reconnect the ssh session if it drops, as soon as an Internet connection is detected run the specific screen instance for the terminal window as soon as ssh reconnects
View 2 Replies
View Related
Oct 16, 2010
When I unlock the screen, I'm presented with an opaque dialogue (white box), regardless of whether I have a screen-saver or not. This is a cosmetic issue only because I can type my password to unlock the screen successfully, but I'd like a solution. I'm using oS 11.2 with KDE 4.5 (but the issue predates updating to 4.5).This is the only "issue" I've experienced since migrating my laptop (was Windoze 7) and desktop (was MS SQL server 2003) to oS
View 3 Replies
View Related
Aug 28, 2010
I'm running 10.04 and when my screen locks I can't unlock it. I enter my password and it checks my password forever. This is a recent problem. I don't know what's causing it.
View 3 Replies
View Related
Mar 12, 2011
I'm trying to change some login settings, but the window won't unlock. I click the button, and nothing happens. Any ideas? I'm using 10.10.
View 5 Replies
View Related
Sep 20, 2010
I'm using wmctrl on an Ubuntu machine to manage windows from a script, that I run inside a (gnu) screen.
If I start the screen session from the local machine, wmctrl works fine, including if I completely close the terminal window and issue the wmctrl commands when connecting to the screen remotely via ssh.
Conversely, if I connect remotely with ssh and start a screen, wmctrl doesn't work (returns "Cannot open display") even if I attach that screen session locally from the Ubuntu Terminal.
I guess there is some hidden screen parameter that doesn't get set in a way that allows accessing the display when it's launched remotely -- any ideas what it is and how to modify it from within a remote ssh-screen session so that that the script can access the windows?
View 1 Replies
View Related
Sep 28, 2010
I run into a new kind of problem with Ubuntu 10.4 LTS. The unlock screen dialog that asks for your password when resuming from the screensaver does not show up immediately. Moving the mouse, typing stuff. It does not seem to be a pure display problem, since typing the password does not seem to do the trick. After a while (about 15 seconds), it shows up, though.
View 1 Replies
View Related
Nov 1, 2010
I have centos 5.3 i got the login screen but after logging shows error as-- your session only last less than 10 seconds . if you have not logged out yourself tyhis could mean that there is some installation problem or that you may out of disk space .try logging with one of fail session.
views details:
There is lot of space in hardisk and tmp.
View 1 Replies
View Related
May 3, 2010
using update manager, i allowed my karmic desktop at work to begin the upgrade process to lucid on friday afternoon... i ran out of time, and headed home for the weekend. somewhere along the process, the screen locked. after arriving back at work this morning, i cannot unlock the screen, or even switch users. other threads in this forum seem to indicate that i should've aborted the upgrade, but... i didn't know enough to anticipate problems, and i guess i assumed that given the lengthy estimate to complete the upgrade, i could just pickup the process again on monday.
in any case, cycling the power didn't help, so i downloaded the iso, and have booted to the 10.04 'trial'. i was hoping somebody could help guide me through resetting a password on the on-disk os from the live cd... i'm ok with reinstalling if i can preserve my account's configs & prefs.
View 3 Replies
View Related
Jul 19, 2011
This has happened in natty more than once. Once the screen gets locked after long periods of no keyboard/mouse activity (all ok for short periods of time), I don't even get back the familiar unlock screen with password.I get a blank screen and then Io a ctrl-alt-f7Is this a known issue in natty? Or is this a gnome bug
View 2 Replies
View Related
Dec 14, 2010
Sometimes I want to keep something in PDF files, so I print to the PDF "printer". However, if I inadvertetnly forget to check the PDF creation and rather take the real printer (which is usually only powered up, when I really want to print something), printing goes to the real printers queue and nothing happens ... until, possibly some sessions later, I want to print something (on paper rather than PDF) and power up the printer.
Then all inadvertent garbage comes first and chances are big, that the printer gets junk during power up or reconnecting the cable to the computer and then the whole thing is wasting even more paper, since escape-sequences sent to the printer get chopped and misunderstood by the printer.
In order to stop this alltogether, I am looking for a mehtod, to automatically flush the whole printing queue every time when I log out of my ubuntu session.
I know, there is a command lpq to tell which print jobs are pending, I also know the command cancel -Umyname -a, but this requests for my password. I want to kill all those incomplete or pending print jobs automatically.
And how do I hook such a command script into the logoff or shutdown sequence?
View 1 Replies
View Related
Apr 24, 2011
My KDE scrn-saver box to, Start automatically after 1 minute is left un-checked and my power mangement options are set to, Do nothing when idle, but every ten minutes my screen powers down?
View 4 Replies
View Related
Jun 7, 2010
Can anyone recommend an application that will automatically dim my monitors when it gets dark at night?
View 2 Replies
View Related
Oct 31, 2010
I have a script I would like to have automatically invoked every time the screen is unlocked. Does Ubuntu provide some support for users who wish to do this?
View 1 Replies
View Related
Mar 16, 2011
I'm running Fedora 14 and set the screensaver (in System>Preferences on the Gnome GUI) to activate after the computer is idle for 30 minutes. After the screensaver is activated, and a press a key or the mouse, the screen is back to normal -- no problem.After the screensaver has been activated once, however, it comes back on very quickly -- usually in 2 or 3 minutes if the computer is idle. The only way I have found to correct this (and set activation back at 30 minutes again) is to log out and back in again.How can I correct this, and automatically set screensaver activation back at 30 minutes each time the normal screen is reactivated?
View 1 Replies
View Related
Jun 26, 2011
I am using screen to start a LONG running script on my server over an ssh connection. This works fine. I can see that the script is continuing to run after I disconnect from the screen session using Ctrl-A d. When the script is complete I can reconnect to the screen session and manually terminate it.
I would like to be able to terminate the screen session at the end of the script. I tried issuing an exit command at the end of the script. That did NOT work. Any ideas?
View 9 Replies
View Related
Jan 25, 2010
what to do for lock automatically slackware 13 if not used for n minutes ?What can i do to start automatically the ktorrent (a bittorrent program for linux) on system starts on slackware 13 ?
View 2 Replies
View Related
Mar 8, 2011
when I type:
Code:
After the command has run (verified with atq) I cannot attach to screen using "screen -r" and ps shows screen is not running:
Code:
why the 'at' command can't start screen in the background for me to attach to later?
Noticed screen is actually returning "Must be connected to a terminal." to logs. Does 'at' not provide a terminal?
View 5 Replies
View Related
Nov 13, 2010
How do I unlock Yum without booting?
View 4 Replies
View Related
Nov 11, 2010
how do i unlock a log file so i can clear its contents?and how do i get the list in the log file to open the listing so the latest entry is at the top?
View 3 Replies
View Related
May 21, 2011
I need a way to have screen (or dbus, whatever) to spit out a list of windows (title and number) that are active in a screen session.I'm writing a wrapper for common work tasks. Part of the functionality will check if a certain window exists, and if so let me know. The idea here is to prevent accessing the same machine twice. (although, and override option would probably be needed, just in case, but I digress...) I've searched through the screen man page and don't see anything that'll work. I'm not beyond forking screen and ending up with a custom version. However, I'd like to avoid that if I can.
Edit: I'd like to see something like "screen -S screen_name -window-list" or similar.
View 6 Replies
View Related