Setting up a VT host - terminal

My recent project involves connecting to a remote machine using VT100 client from my .net application. I am new to developments around SSH, and VT. Currently I am evaluating couple of APIs to connect and interact with VT host. The problem is I cannot connect to the host any where out of office and even in office I get limited time slot. So in order to speed up my developments I want to setup a VT host and work with it. Can some one guide me how can I setup a VT host over a Windows or Linux VM.

Okay, I found FreeSSH that can setup a secure shell host in Windows.

Related

Windows - Opening a webserver on a VM in vmware

New to setting up webservers from scratch, was used to IT taking of these things for me 😅
I figured out how to setup Apache and creating dummy websites via localhost. This is what I have so far -
Created a Windows 11 VM, using VMWare
Installed Apache using chocolatey, and configured a VirtualHost, and added a new entry under hosts file, and I can visit the dummy domain locally on the VM
Now I am trying to visit this domain from my host machine (eventually from the outside world). And followed the instructions here - https://kb.vmware.com/s/article/2006955, but no luck.
I've searched for videos on youtube, but most of them are for linux os'. Can someone kindly guide me how to reach the dummy domain from my host machine please
Don't know what it is 100% yet, but the same setup works fine on a Windows Server 2016 OS 🤷‍♀️
Thinking it's prolly firewall and stuff on Windows 11 OS, will try to figure it out a bit later. Crisis averted for now 😅

Docker Container for Windows - desktop app

If I create a container with windows image on it, is it possible to use a remote connection to actually see the desktop and , for example, play minesweeper?
My use case is this:
I have hundreds of users. Each user need to create their our infrastructure consisting in about 6 machines linked together. After creating, the user will open some desktop gui apps on each one using a remote desktop connection.
No, this isn't something you will be able to do.
There are currently two Windows container images, microsoft/windowsservercore and microsoft/nanoserver
nanoserver
This blog post about TP4 (one of the earlier releases) says
The only option available when logging into console of a virtual machine running Nano Server or connecting a crash cart to a physical Nano Server is this very plain emergency console
This section on managing Nano server also states
Nano Server is managed remotely. There is no local logon capability at all, nor does it support Terminal Services.
There is also this article, admittedly not from Microsoft, about Windows Nano server
Nano Server strips back the operating system further still, dropping things like the GUI stack, 32-bit Win32 support, local logins, and remote desktop support.
Nano Server is designed for two kinds of workload: cloud apps built on runtimes such as .NET, Java, Node.js, or Python, and cloud infrastructure, such as hosting Hyper-V virtual machines.
servercore
Docker blog has a pretty interesting entry
Introducing Docker for Windows Server 2016. This part addresses the question of GUI apps
The Windows Server Core image comes with a mostly complete userland with the processes and DLLs found on a standard Windows Server Core install. With the exception of GUI apps and apps requiring Windows Remote Desktop, most apps that run on Windows Server can be dockerized to run in an image based on microsoft/windowsservercore with minimal effort.
If you wanted to set up that kind of an environment, one option is to use something like Vagrant to orchestrate starting and provisioning regular windows VMs. Though 6 windows VMs will not be easy on memory.

How to access Oracle VM virtualmachine's database from local computer in Visual Studio

I created database on Oracle VM virtualmachine and I need to use it from my local computer for my project, which I develop on Visual studio. How could I do that?
The problem is unrelated to VS,
you need to make sure the network device you installed is reachable from the outer world, and that there is a route from your machine to the VM ip device.
What I write here is the simplest configuration in the case you have a home network...
withing Oracle virtualBox -> choose the VM ->(right click) Settings -> Network.
choose "Bridged Adapter" and select the physical card on your computer.
within the VM make sure the IP address is being taken from DHCP (How to do it depends on the Linux distribution you have).
After doing so - restart the network device within the VM, and make sure both of the machines, the windows and the linux, have the same IP segment, and that ping from the windows can reach the linux VM with Oracle.
If you do not have a home network -
The VM added another networking device on your windows machine (if it is hosted on the same machine), which you need to route the trafic to the VM IP to.
If it is not on the same machine - you need to make sure that the router both the machines are connected to knows about the path to the database.
After the networking issue was resolved (and you can practically ping from one machine to the other assuming the firewall allows it),
make sure the listener on the DB machine listens to the right address.
this link will help: http://docs.oracle.com/cd/B28359_01/network.111/b28317/listener.htm
Than you should be done.
Let me know if this wasn't the problem, and your issue is configuring VS - since this is a different issue, which will depend on if your using ODAC or ODT...
Also let me know if you don't know how to check/configure any of the things I wrote above - I didn't write it all since it is long and complicated to answwer all of it in one post...

Remote desktop connectivity from Windows 7 to Red Hat Enterprise Linux 6

What would be the best way to establish remote desktop connectivity from a Windows 7 machine to Red Hat Enterprise Linux 6? The machines reside on the same network.
For graphic usage, you have at least the following options:
SPICE (http://spice-space.org/download.html)
NoMachine's NX Server (http://www.nomachine.com/)
VNC (http://www.redhat.com/magazine/006apr05/features/vnc/)
SPICE is newer and pretty slick. I've used NX Server for years and it's great. VNC is pretty unsecure, so use that as a last ditch option.
XRDP is a Remote Desktop Server implementation for Linux. It allows you to use the standard Remote Desktop client that ships with Windows to connect to remote Linux desktops. I've had good results using it in Fedora so I'd imagine it'd handle okay in RHEL.
Here's a tutorial on setting it up: http://sirjune.wordpress.com/2009/11/06/howto-xrdp-on-fedora-rhel/
Adding to the comment from #BoeroBoy. You have to also look into the firewall. I used TightVNC to connect from my workstation(Windows 7) to Red Hat Linux 6, but in vain was not able to(even after activating the Remote Access from System -> Preferences -> Remote Desktop).
So one should also look into System -> Administration -> Firewall and allocate necessary access for process and/or port(s).

How to control shared internet connection (ICS - Internet Connection Sharing) using LSP/SPI?

I am trying to write an application for myself to learn things and to use in my own office. What I am trying to write is:
I have two nics. First one is connected to internet and the other one is connected to network
I have enabled ICS (Internet Connection Sharing) in my own PC
Other computers (Laptops, iPads etc.) are connecting to internet using my PC
So my c works like a hotspot
I am trying to see where they are connecting to and log their IP and MAC address. If I can do this, I will also add sign-in function at future.
Actually, my LSP supports TCP, UDP and RAW protocols. It works both on x86 and x64 Windows OS (Tested on Windows 7). However, when I connect to internet through this PC using my iPad, it doesn't seem working. WSPStartup never called.
If you have any idea, I will be more than happy.
Bests,
You need to use NDIS, a library like WinPCAP would do the work.

Resources