I have successfully connected to my server via puTTy and I am entering commands but they are unresponsive. I do not know what is wrong.
If you are using PuTTY, and get an apparently freezed screen, you could have accidentally pressed ctrl + s. This sends an Xoff signal blocking the terminal's output.
The solution is to press ctrl + q to send the Xonsignal.
See also: The GNU screen is unresponsive, seems blocked
Related
We're using sshfs to mount a remote directory for a UI program. To kick things off, we launch a system process to set up the mount using sshfs terminal commands. This works well: a dialog pops up asking the user for their passphrase, the mount is created, and all is well.
However, the program is hanging if the user selects "Cancel" in the dialog. Doing this operation through the terminal reveals that when the user cancels the dialog, ssh(fs) drops back to the terminal and prompts for a passphrase entry there. This is invisible to our system call, of course, which is why things hang.
How can I tell ssh(fs) that cancel means cancel? When the UI dialog goes away, I want the command line to simply return.
Question:
How can I emulate pressing CTRL+ALT+PAUSE in my Linux VM using AutoKey?
I tried a script that has
keyboard.send_keys("<ctrl>+<alt>+<pause>")
in it. But it does not work.
Background:
I'm using Windows 10 and RDP to log into a Fedora Linux. Switching 100 times a day.
The RDP connection runs in Windows all the time.
If the RDP window is not in the background but active, I can press CTRL+ALT+PAUSE to go into the VM (Fullscreen). If I am inside the VM I can press CTRL+ALT+PAUSE to go back to Windows.
So far so good. I want only one button. Preferably PAUSE. Windows part is ready already with following script
Pause::
If !WinExist("RDP Tool Name")
MsgBox No Window found
WinShow, RDP Tool Name
WinActivate, RDP Tool Name
Send ^!{CtrlBreak}
Return
Is the Linux part maybe not possible because the key combination is cached somewhere before my Linux system can even notice it? Any ideas?
I solved it without any other new script. I just had to edit the RDP settings: Keyboard -> Use Windows-Hotkeys -> On this Computer
I'm running a simple MVC app generated by Yeoman on my Mac using the ASP.NET vNext K runtime. I can run k kestrel from the project directory, and everything boots up and runs just fine. However, when I hit Ctrl+C (or any other key combination I've tried), the server doesn't quit. I have to close the terminal window to get the server to shut down. What am I missing?
If simply pressing Enter doesn't work for you, try the following in the terminal window where you're running Kestrel:
Hit Ctrl + z to suspend the process.
Type: kill %1.
It turns out that simply hitting "Enter" exits kestrel cleanly, without the need to kill the mono-sgen process afterward. There is a github issue on the Kestrel repo asking to make this more obvious.
Hit Ctrl+Z, then you will need to kill the mono-sgen process to be able to run 'k kestrel' again with the same IP:PORT (If someone knows a better way please let us know)
After "Ctrl+Z" type "ps" to list your processes and find the PID for "/Users/YOU/.kre/packages/KRE-mono45-x86.1.0.0-alpha4", for example: "123456", then type "kill 123456".
UPDATE: I tried to use 'killall mono-sgen' but doesn't works for me.
If you have any processes open simply pressing "Enter" wont work on a mac. However if you use the example from UnraisedCesar and kill all your processes. Then restart the k kestrel you should be able to press "Enter" (if this is the only one of these processes running) and it will end properly.
I have a Windows 7 Ent - 64bit system.
I am stuck in a loop, where the login screen is presented, i enter my network credentials, the welcome spinner is shown, the screen flickers like when resized, then the system goes to logging off screen and then finally goes back to the control alt delete screen.
I cannot get out of that loop for the life of me.
I contacted corp support, he came over and logged in using his login (admin level) and was able to get a desktop up.
The support people are not allowed to access the registry to correct or even look at my users settings, and my user IS NOT AN ADMIN on this machine.
Question is - is there a way to blow away my profile on this machine, or reset my registry branch to that of a new user or something???
i have bitlocker enabled on the drive - so using the emergency boot disks are almost rendered useless...
im stuck, and i dont know where to look....
any ideas would be wonderful
thanks
the admin level user logged in, and turned his back for a moment, and i was able to go in and reset the autologon registry entry...
rebooted,and all is well.
Disconnect Your USB Devices
If you like using all sorts of USB devices such as the mouse, keyboard, speakers, Bluetooth speakers, USB dongles, USB Wi-Fi adapters etc. However, these connected devices might cause the Windows 7 stuck on the welcome screen for a long time issue. Therefore, a common solution to the problem is to disconnect all externally connected devices from your PC.
Disconnect from the Internet
Sometimes Windows 10 gets stuck on the login screen because it's trying to connect to your wireless connection. If your Windows gets stuck on the welcome screen, you should make sure that you are not connected to the internet before proceeding to log in.
Run system checks
In some case, corrupt system files on your computer will cause this problem – stuck on welcome screen Windows 10/8/7. Therefore, to fix the Windows 10 freezes on startup problem, you can use CHKDSK to run some checks on your computer to see if it is the corrupted files that cause your startup problem.Restart Windows Update service
You can try restarting Windows Update service and then rename few files if you still get stuck on welcome screen Windows 10 issue.
Here are the steps:
Step 1. Open command prompt.
Step 2. Type net stop wuauserv in the run dialogue and press Enter.
Step 3. Type cd %systemroot% command and press Enter.
Step 4. Type ren SoftwareDistribution SD.old and press Enter.
Step 5. Type net start wuauserv and press Enter.
Step 6. Type exit and press Enter to close Command Prompt and restart your PC.
Step 7. Now, reboot your PC/laptop and check if the stuck on welcome screen has gone.
Restore Windows by using System Restore
System Restore is a useful feature that allows you to restore your operating system to a previous state and fixes any boot problems such as Windows 10 freezes on startup, Windows 7 hangs on welcome screen, etc.
I use Remote Desktop occasionally for some programming tasks but the Alt + Insert keyboard shortcut (cycle through windows) in the client intercepts the default ReSharper generate code shortcut.
Does anyone know if it's possible to remap (or disable) that Remote Desktop keyboard shortcut? I would prefer not to have to remap the ReSharper shortcut if possible.
Figured it out. This problem was when I was not running in full screen mode.
In the Remote Desktop Connection dialog,
Local Resources -> Keyboard = On the remote computer
Now I can use Alt + Insert along with all the other shortcut keys when the Remote Desktop client window is in focus.
I thought it was still intercepting ALT+Page Down and ALT+Page Up.
It turns out it was Skype.