![]() ![]() I recently had to repeatedly create new versions of an OVA for testing purposes as changes were made to the code.Deploying an OVA (Open virtualization Appliance) which is located locally on your workstation into your remote Datacenter via VPN isn´t really a good idea.Having a suitable Jumphost, Remotehost, Development-workstation or however you like to call the system that you connect to, to have access to the appropriate tools and applications available, comes in very handy when you reach the limits or get stuck with your local machine. bat file on a Windows machine to instantiate a connection to a Horizon desktop or application with a single click, or use it in a Linux Bash script, I am sure you find this to be a useful tool.Big thanks to Gerrit Lehr, Hilko Lantinga and Alex Lopez for your valuable input and feedback. Whether you use the vmware-view command in a. nonInteractive -unauthenticatioedAccessEnabled=TRUE -display=:0.0 & password=nope -desktopSize=large -serverURL=10.0.0.61 -monitors=1 usr/bin/vmware-view -desktopName=Hrz8ICPA # Start a Horizon session in the background # If it is run remotely xhost + must be run on the GUI # This script will run a horizon desktop indefinitely To mimic a user logging off and reconnecting, I created the following Bash script: The whole point of me doing this was to demonstrate the monitoring software I needed in order to have an active desktop always running. usr/bin/vmware-view -desktopName=Hrz8ICPA -password=nope -desktopSize=large -serverURL=10.0.0.61 -monitors=1 -nonInteractive -unauthenticatioedAccessEnabled=TRUE -display=:0.0 & To do this, I entered xhost + on the command line on the GUI, then I appended -display=:0.0 to it to have it start on graphics display. ![]() ![]() Next, I wanted to be able to start the session from an remote connection that I SSH’ed to the machine. The "&" at the end of the command ran the process in the background so I could run other commands from the command line. usr/bin/vmware-view -desktopName=Hrz8ICPA -password=nope -desktopSize=large -serverURL=10.0.0.61 -monitors=1 -nonInteractive -unauthenticatioedAcccessEnabled=TRUE &Īfter entering the command, I was connected to a Horizon desktop. To test connecting to a Horizon desktop from a Linux desktop, I entered the following: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |