telnet windows 7 not working - telnet

I have a Windows 7 computer, and I'm trying to work with telnet.
I installed/enabled telnet (via control panel, since telnet isn't enabled by default), restarted the terminal, restarted my computer, etc.
But telnet still doesn't work. I'm getting the error : 'telnet' is not recognized as an internal or external command...
I tried editing the PATH environment variable as well, but that hasn't worked either.
I would greatly appreciate any advice.
Thank you very much!

Looks like your telnet is not installed. Simply execute the below command in your command prompt and wait till the mouse progress icon disappears. It works on windows 7. I am not sure on other machines
pkgmgr /iu:"TelnetClient"

I was having the same issue. Fixed it by running CMD as an admin.

If your Windows 7 machine is a member of an AD, or if you have UAC enabled, or both, telnet must be run as an admin. The easiest way to do this is to create a shortcut that calls cdm, and then go to the shortcut's properties and click on the Advanced button and check the "Run as an administrator" checkbox, and you're all set. Scratched my head and rebooted numerous times before finding this out...

Related

x2go session: window freezes by inactivity

Good evening,
currently, I am working on a x2go-session which freezes after a certain amount of time. Only new starting then will help. My home laptop is a Mac OS Mojave 10.14.6 and I am connecting on a linux. My colleagues (probably all linux users) solved the problem by disabling the screensaver (settings and so on...) but for me it is not working.
Does anybody have the same issue? Any idea or solutions? I need to "keep the window" active to keep my calculations going (from the x2go session I connect via ssh to another server; that connection will close if the window freezes)
Thanks in advance,
Elmo
On the server, in /etc/ssh/sshd_config try setting
TCPKeepAlive yes
ClientAliveInterval 30
I tried everything else I could find, screensaver settings, power options settings, etc. Nothing worked until I did this.
Disable the screensaver, or ssh into the machine and kill the active screensaver process.
Disabling screensaver on ubuntu 22.04 xfce4 didn't solve the problem.
Removing xfce4-screensaver did:
sudo apt-get remove xfce4-screensaver.
I also disabled display power management: Application > Settings > Power Manager > Display > Display power management

The console has been disconnected. Close this window and re-launch the console to reconnect

I am having an issue when trying to open to any VMs using "Launch Web Console" option via the vcsa 6.7 . I was wondering if someone could please point me in the right direction?
My environment currently looks like this:
1) vcsa 6.7
2) Three Esxi (6.7) Hosts & multiple vms are running (including windows & Linux)
Whenever I try to connect to the console, I get the following error:
The console has been disconnected. Close this window and re-launch the console to reconnect.
Console access is given through a connection to the ESXi host.
Often times I receive this message when connected to the console of a VM which has vMotioned to another host. However, I can close and re-open the console just fine.
You may also want to verify that you can access port 902 (TCP & UDP) for each of your three hosts. Example of this requirement: https://docs.vmware.com/en/VMware-vSphere/6.0/com.vmware.vsphere.install.doc/GUID-5071C86E-FF1E-4E54-A424-A20917401160.html
I had the same exact problem and unfortunately, the solutions I found on the internet did not solve my problem. I had to re-check my settings and found out that the problem was the proxy setting was ticked on. which it won't allow you to connect to any others services as well if you are out of range of that proxy. The Solutions "FOR MAC USERS" as follows:
1-Go to your network settings.
2-From the menu down to the right-click more options. in my picture say (Weitere Optionen) "German".
3-From the menu on the left side make sure that the proxy option is 'unticked' (not chosen).
Then click on to confirm and enjoy using your VM service. Hope this would solve your problem as well as it did to mine.
See pictures!
https://i.stack.imgur.com/1PjjP.jpg
https://i.stack.imgur.com/1jnJf.jpg
https://i.stack.imgur.com/8XiAY.jpg

How can I emulate pressing CTRL+ALT+PAUSE in my Linux VM using AutoKey?

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

regain access to centos7 after modify rc.local

I have a centos 7 on a vm. I put some command lines on the rc.local to initialize always the system reboot. I think i did something wrong, because when i restart the system, it frozes and dont enter centos anymore.
The internet is not on, i have to manually connect it when the centos starts, so i can't login the machine through Putty or other ssh program in order to fix the rc.local
What should i do now?
I found out the answer in this video:
www.youtube.com/watch?v=rvPtrwidhwo
When your linux appears to load completely (but get stuck) press "esc" to see where in the list of processes it got stuck.
Restart the virtual machine, and by the time it enters the mode to choose with linux you will want to load (rescue mode or normal mode), press ctrl+e to enter on a configuration/modification screen. It will show commands in the prompt.
You have to add parameters shown on the video. Search for the work "quiet". After this word and before the word LANG, add "systemd.unit=rescue.target"
Press ctrl+x to save (it will restart the vm automatic).
You will enter the rescue mode, input the root password.
Disable or modify the rc.local on (vi /etc/rc.local) in order to regain control over linux.
Then type: shutdown -r.
Restart the vm and everything will work again.

Synergy cannot reset on Mac

A really simple but dragged me many days that I cannot figure out how:
I've setup synergy on my Mac as a client, using Ubuntu as the server.
But now I wanted to switch to use Mac as server and Ubuntu as client.
The question now I'm facing is that synergy settings page never show up, each time I try to open it, it just appears in less than 0.1 second, then it disappeared.
Because I've set it up already and I don't need the reconfigure the Ip addresses etc.
This is convenient.
But now I wanted to switch server/client roles, I need to reconfigure it, however the settings page of synergy never shows up to let me configure it, does anyone have the same issue?
I tried to uninstall synergy on my Mac, but when I reinstall it back, it automatically configures itself again and quickly disappears and runs in the background.
It's been a pain for me.
You can't start the Server on Yosemite, because you need to grant access to the process (Synergy) to control your computer:
http://mizage.com/help/accessibility.html
doing that with Synergy should work.