How to access Azure Linux vm via RDP - linux

I need to access Azure Linux( RedHat 7) via RDP so that we can connect this vm in GUI mode. Please suggest how to achieve this.

To get RDP-like functionality with Linux using Microsoft Windows as the client, look at programs like Xming or X-Win32. You might refer to the CentOS Wiki on the subject: https://wiki.centos.org/HowTos/Xming
Essentially it is a three step process:
Install X system on the remote system (VM)
Install an X tool such as Xming or X-Win32 on the local system
Enable X11 forwarding on SSH tunnel (PuTTY, Bitvise, WinSCP, etc)
Be sure to include on the remote system useful X applications such as xterm.

First google result:
https://learn.microsoft.com/en-us/azure/virtual-machines/linux/use-remote-desktop
Linux does not have RDP (that's a Windows protocol), but there are alternative solutions like xrdp. However, first you most likely need to install a graphical desktop environment like xfce4.

Related

How to setup a guacamole on a windows machine?

From official website of gaucamole i.e. (http://guacamole.incubator.apache.org)-
Apache Guacamole is a clientless remote desktop gateway. It supports
standard protocols like VNC, RDP, and SSH.
We call it clientless because no plugins or client software are
required.
Thanks to HTML5, once Guacamole is installed on a server, all you need
to access your desktops is a web browser.
Can I setup guacamole on windows server 2012. If yes how ?
It should be possible to run the Guacamole Docker container in the Docker Toolbox under Windows Server 2012.
This reduces the overhead compared to a full blown VM like suggested by Bram.
The anwser is no, the manual is made for linux distro (since the guacd daemon is written for Linux).. So i would install it on Ubuntu in vmware on the Windows server. That way it is possible.
ApacheĀ GuacamoleĀ is a clientless remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH.
Visit this link for the install: https://www.mogilowski.net/2020/03/24/windows-10-server-2016-rdp-work-with-guacamole/

Using XRDP to connect linux to Windows PC from LINUX Client

Has anyone successfully used XRDP/freeRDP to remote login to a Windows PC from a LINUX Client? I did some research on the matter and I found there may be incompatibility issues. However those posts were quite old.
I would like to use the latest XRDP or freeRDP
The site says the following:
"The goal of this project is to provide a fully functional Linux terminal server, capable of accepting connections from rdesktop, freerdp, and Microsoft's own terminal server / remote desktop clients.
Unlike Windows NT/2000/2003/2008/2012 server, xrdp will not display a Windows desktop but an X window desktop to the user.
So it sounds like I can communicate between a Linux Box and Windows. But it sounds like the Windows PC can only be the client logging into a Linux Server and not vice-versa."
Is this true?
That's not true. You can using a freeRDP client in Linux connecting to a server on Windows. I've just tried the latest freeRDP code in Ubuntu, and I've tested Win7/Win10, both are OK.
Follow the instruction of freeRDP in the following link:
https://github.com/FreeRDP/FreeRDP/wiki/Compilation
and hope you make it.
Ps: There may be some connectivity issues, like firewall or something, just google it.

Can I start an application in remote machine via RDP client?

I am trying to development a tool to deploy environment with hyper-v, I need to create VMs with template and install specified software in the VM.
But, as I am using the same template so I cannot communicate via IP/hostname, and then I find out I can connect the VM via RDP by giving the VM's name like
axMsRdpClient8NotSafeForScripting1.AdvancedSettings2.RDPPort = 2179;
axMsRdpClient8NotSafeForScripting1.AdvancedSettings7.PCB = vmIDTextBox.Text;
although, I cannot run exe file using the api "ITSRemoteProgram RemoteProgram"
Does anyone knows how to do it? As I have to do it automatically, I cannot use the GUI console. Any suggestions are very appreciated, thank you.
For Windows remote computers, you could use PsExec from Microsoft SysInternals tools:
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
It's free, very lightweight, and does what you want :-).
For Linux, you could use SSH. (which is also available for Windows, but you would need a daemon running on the destination machine, such as FreeSSHd).

Is it possible to set up a GitLab Linux server and work off Windows PCs?

I'm looking at setting up a gitlab server (using a linux machine) with several devs on Windows PCs using it. I basically wanted to know if that's possible? I can't seem to find a definitive answer!
Thanks!
Yes, it's definitely possible. I'm using just the same - GitLab hosted on a Linux server while devs are on both Windows and Linux (VMs running on Windows).
Techically, there's no difference to it. You use SSH and HTTPS for client-server communication which are standard platform independent protocols. It's the same as using github.com, gitlab.com or any other such provider from any operating system.
The place I work has Gitlabs deployed can be on a linux server, while developers can be on either Windows or Linux desktops.
Git makes use of SSH and to connect to remote clients and Windows doesn't support SSH out of the box, however the installer for git comes bundled with all the features you will need to run a shell and connect to a remote server via SSH on windows. It also includes a basic UI, Git-Gui. You can download the installer from http://git-scm.com.

Remote commands execution and file acces in Linux and Windows

Suppose I have a server application installed in a few Linux and Windows machines. Now I would like to control it remotely. That is, I would like to start and stop the application, update the application configuration files, reads the logs remotely.
It looks to be easy in the Linux worlds. I can use ssh, scp, and probably nfs to execute commands in remote Linux machines and access files there. The problem is that I would like to execute commands and access files in remote Linux and Windows machines uniformly from a Windows machine. I need also some scripting capabilities too.
What is the best way to do that?
You can try to use cygwin http://www.cygwin.com/ on your windows machines and install a ssh server with it.
If you need graphical tools, use VNC
there is an OpenSS implementation targeting Windows at http://sshwindows.sourceforge.net/download/
since there is (besides Cygwin/MinGW) no possibility to run bash code (ksh/csh/tcsh code as well) you should make yourself familiar with the windows scripting host.

Resources