Git Product home page Git Product logo

winapps's Introduction

WinApps for Linux

Latest documentation available at: https://nowsci.com/#/winapps/?id=winapps-for-linux

Run Windows apps such as Microsoft Office/Adobe in Linux (Ubuntu/Fedora) and GNOME/KDE as if they were a part of the native OS, including Nautilus integration for right clicking on files of specific mime types to open them.

Proud to have made the top spot on r/linux on launch day.

How it works

WinApps was created as an easy, one command way to include apps running inside a VM (or on any RDP server) directly into GNOME as if they were native applications. WinApps works by:

  • Running a Windows RDP server in a background VM container
  • Checking the RDP server for installed applications such as Microsoft Office
  • If those programs are installed, it creates shortcuts leveraging FreeRDP for both the CLI and the GNOME tray
  • Files in your home directory are accessible via the \\tsclient\home mount inside the VM
  • You can right click on any files in your home directory to open with an application, too

Currently supported applications

WinApps supports ANY installed application on your system.

It does this by:

  1. Scanning your system for offically configured applications (below)
  2. Scanning your system for any other EXE files with install records in the Windows Registry

Any officially configured applications will have support for high-resolution icons and mime types for automatically detecting what files can be opened by each application. Any other detected executable files will leverage the icons pulled from the EXE.

Note: The officially configured application list below is fueled by the community, and therefore some apps may be untested by the WinApps team.

Adobe Acrobat Pro
(X)
Adobe Acrobat Reader
(DC)
Adobe After Effects
(CC)
Adobe Audition
(CC)
Adobe Bridge
(CS6, CC)
Adobe Creative Cloud
(CC)
Adobe Illustrator
(CC)
Adobe InDesign
(CC)
Adobe Lightroom
(CC)
Adobe Photoshop
(CS6, CC)
Adobe Premiere Pro
(CC)
Command Prompt
(cmd.exe)
Explorer
(File Manager)
Internet Explorer
(11)
Microsoft Access
(2016, 2019, o365)
Microsoft Excel
(2016, 2019, o365)
Microsoft Word
(2016, 2019, o365)
Microsoft OneNote
(2016, 2019, o365)
Microsoft Outlook
(2016, 2019, o365)
Microsoft PowerPoint
(2016, 2019, o365)
Microsoft Project
(2016, 2019, o365)
Microsoft Publisher
(2016, 2019, o365)
Powershell
(Standard, Core)
Visual Studio
(2019 - Ent|Pro|Com)
Windows
(Full RDP session)
ย ย 

Installation

Step 1: Set up a Windows Virtual Machine

The best solution for running a VM as a subsystem for WinApps would be KVM. KVM is a CPU and memory-efficient virtualization engine bundled with most major Linux distributions. To set up the VM for WinApps, follow this guide:

If you already have a Virtual Machine or server you wish to use with WinApps, you will need to merge kvm/RDPApps.reg into the VM's Windows Registry. If this VM is in KVM and you want to use auto-IP detection, you will need to name the machine RDPWindows. Directions for both of these can be found in the guide linked above.

Step 2: Download the repo and prerequisites

To get things going, use:

sudo apt-get install -y freerdp2-x11
git clone https://github.com/Fmstrat/winapps.git
cd winapps

Step 3: Creating your WinApps configuration file

You will need to create a ~/.config/winapps/winapps.conf configuration file with the following information in it:

RDP_USER="MyWindowsUser"
RDP_PASS="MyWindowsPassword"
#RDP_DOMAIN="MYDOMAIN"
#RDP_IP="192.168.123.111"
#RDP_SCALE=100
#RDP_FLAGS=""
#MULTIMON="true"
#DEBUG="true"

The username and password should be a full user account and password, such as the one created when setting up Windows or a domain user. It cannot be a user/PIN combination as those are not valid for RDP access.

Options:

  • When using a pre-existing non-KVM RDP server, you can use the RDP_IP to specify it's location
  • If you are running a VM in KVM with NAT enabled, leave RDP_IP commented out and WinApps will auto-detect the right local IP
  • For domain users, you can uncomment and change RDP_DOMAIN
  • On high-resolution (UHD) displays, you can set RDP_SCALE to the scale you would like [100|140|160|180]
  • To add flags to the FreeRDP call, such as /audio-mode:1 to pass in a mic, use the RDP_FLAGS configuration option
  • For multi-monitor setups, you can try enabling MULTIMON, however if you get a black screen (FreeRDP bug) you will need to revert back
  • If you enable DEBUG, a log will be created on each application start in ~/.local/share/winapps/winapps.log

Step 4: Run the WinApps installer

Lastly, check that FreeRDP can connect with:

bin/winapps check

You will see output from FreeRDP, as well as potentially have to accept the initial certificate. After that, a Windows Explorer window should pop up. You can close this window and press Ctrl-C to cancel out of FreeRDP.

If this step fails, try restarting the VM, or your problem could be related to:

  • You need to accept the security cert the first time you connect (with 'check')
  • Not enabling RDP in the Windows VM
  • Not being able to connect to the IP of the VM
  • Incorrect user credentials in ~/.config/winapps/winapps.conf
  • Not merging install/RDPApps.reg into the VM

Then the final step is to run the installer which will prompt you for a system or user install:

./installer.sh

This will take you through the following process:

Adding pre-defined applications

Adding applications with custom icons and mime types to the installer is easy. Simply copy one of the application configurations in the apps folder, and:

  • Edit the variables for the application
  • Replace the icon.svg with an SVG for the application (appropriately licensed)
  • Re-run the installer
  • Submit a Pull Request to add it to WinApps officially

When running the installer, it will check for if any configured apps are installed, and if they are it will create the appropriate shortcuts on the host OS.

Running applications manually

WinApps offers a manual mode for running applications that are not configured. This is completed with the manual flag. Executables that are in the path do not require full path definition.

./bin/winapps manual "C:\my\directory\executableNotInPath.exe"
./bin/winapps manual executableInPath.exe

Checking for new application support

The installer can be run multiple times, so simply run the below again and it will remove any current installations and update for the latest applications.

./installer.sh

Optional installer command line arguments

The following optional commands can be used to manage your application configurations without prompts:

./installer.sh --user                # Configure applications for the current user
./installer.sh --system              # Configure applications for the entire system
./installer.sh --user --uninstall    # Remove all configured applications for the current user
./installer.sh --system --uninstall  # Remove all configured applications for the entire system

Common issues

  • Black window: This is a FreeRDP bug that sometimes comes up. Try restarting the application or rerunning the command. If that doesn't work, ensure you have MULTIMON disabled.

Shout outs

winapps's People

Contributors

devksingh4 avatar fbartels avatar fmstrat avatar gabrc52 avatar iksaku avatar lawrencegripper avatar modhash avatar pahofmann avatar scaryrawr avatar tiebe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

winapps's Issues

Error with freerdp and installer.sh

I'm using Ubuntu 20.04, and I've installed KVM as described in the Readme file. After some errors opening the RDPWindows through the KVM, I've follow Fmstrat's suggestion (I think it was in #41) and installed windows 10 pro from scratch in KVM.
Got the KVM running, changed the name of the KVM to RDPWindows, remote desktop and changed the registry. After that, when I run the bin/winapps check this occurs:

[19:10:00:244] [32313:32314] [INFO][com.freerdp.core] - freerdp_connect:freerdp_set_last_error_ex resetting error state
[19:10:00:244] [32313:32314] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[19:10:00:245] [32313:32314] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[19:10:00:245] [32313:32314] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[19:10:00:245] [32313:32314] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rail
[19:10:00:245] [32313:32314] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc
[19:10:00:568] [32313:32314] [INFO][com.freerdp.primitives] - primitives autodetect, using optimized
[19:10:00:651] [32313:32314] [ERROR][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex ERRCONNECT_DNS_NAME_NOT_FOUND [0x00020005]

And if I try to run the installer, this happens:

Removing any old configurations...
grep: /home/alexandre-vp/.local/share/applications/zotero.desktop: No such file or directory
grep: /home/alexandre-vp/.local/bin/*: No such file or directory
Installing...
Checking for installed apps in RDP machine (this may take a while)... Finished.
The RDP connection failed to connect or run.

I've tried rebooting (both the KVM and my own computer) several times, to no avail.
Any suggestions of what I can try next?

My config file is like this:
RDP_USER="MyWindowsUser"
RDP_PASS="MyWindowsPassword"
#RDP_DOMAIN="MYDOMAIN"
#RDP_IP="192.168.123.111"
#RDP_SCALE=100
#MULTIMON="true"
#DEBUG="true"

Thanks in advance!

Benchmarks or performance comparisons

It'd be great to see some performance comparisons and if things like hardware acceleration are working or not as part of the readme or in a wiki page. Or people who are running this setup can submit their comparisons in this issue.

virsh start RDPWindows

error: Failed to start domain RDPWindows
error: internal error: Process exited prior to exec: libvirt: QEMU Driver error : Unable to stat RDPWindows.qcow2: No such file or directory

Resolution for High Res Displays and Scroll-able windows

This is a fabulous app. Hello VM**** Fusion for Linux!

Only have 1 issue, also need to pass /dynamic-resolution /scale:180 (for me, I have High Res monitors which I'm sure a lot do! These two switches mean the world! Resize-able window, check! Fonts readable - check! If you can pass those along on your xfreerdp CLI, you're golden. I added it to the install.sh but it only worked for initial setup :(. Thanks and hope you can add these 2 switches for all the apps! I.e. xfreerdp /u:"${RDP_USER}" /p:"${RDP_PASS}" /v:${RDP_IP} /dynamic-resolution /scale:180 +auto-reconnect +home-drive -wallpaper /span /wm-class etc.. etc..

No License

I would be a bit hesitant to modify the files on this repo without a set license. Is there any plans to add an OSS license?

Reduce overhead of Windows VM

Subsystem support: Add a script to remove (and re-add) the Explorer shell and other non-required Windows features to minimize overhead

Shows an error when virsh define kvm/RDPWindows.xml

when i enter the command virsh define kvm/RDPWindows.xml

It gives an error like this
error: Failed to define domain from kvm/RDPWindows.xml
error: An error occurred, but the cause is unknown
I am kind of a noob and just followed the steps in option 1 directly, Running archlinux i3 with linux-ck kernel 5.9.7-1-ck-skylake

do not run libvirtd as user

Running system processes as user is bad practice and is not recommended. Please remove this section and instead run the VM as user domain.

Add License

Could you add a specific license to the project?

WinApps ubuntu 20.10

This is my problem. How to solve it?

(base) geekaia@matrix-desk:~/winapps$ bin/winapps check
[10:27:13:352] [126641:126642] [INFO][com.freerdp.core] - freerdp_connect:freerdp_set_last_error_ex resetting error state
[10:27:13:352] [126641:126642] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[10:27:13:352] [126641:126642] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[10:27:13:352] [126641:126642] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[10:27:13:352] [126641:126642] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rail
[10:27:13:352] [126641:126642] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc
[10:27:13:664] [126641:126642] [INFO][com.freerdp.primitives] - primitives autodetect, using optimized
[10:27:13:672] [126641:126642] [ERROR][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex ERRCONNECT_DNS_NAME_NOT_FOUND [0x00020005]

Windows resizing via remote RDP session?

Hi

I'm using a remote RDP server where everything works great but i can't resize windows. Can maximize and restore, but can't drag from a corner for a specific size.
Lenovo X380, Ubuntu 20.04

Side note, it would be awesome to use a SSH gateway for RDP instead of relying on VPN! (as i do in remmina)

Thanks!

Add an "winapps" catagory for all the apps

also create an catagory name winapps in GNOME/KDE.
This can make all winapps in a seperate catagory
Sometimes it will help users find apps quickly

Example, like this

image

image

A few suggestions

I've done some testing and it works reasonably well so thanks for working on this!

I have a few suggestions to improve the documentation, which will probably help some folks. I guess some of these are more xfreerdp issues but here goes:

  • Xorg vs Wayland. I've noticed (on Fedora 32) that it works more reliably when using gnome on xorg as opposed to wayland. When using wayland, I had weird issues in Excel Visual Basic editor with right-click menus popping up and immediately disappearing. Also regular menus from the menu bar disappeared immediately after clicking. When switching to Xorg, it worked (despite a few screen drawing issues with weird mismatching drop shadows) reasonably well.
  • screen resolution. I have a UHD screen and the rdp apps do not respect the gnome screen scaling so if you have an UDH you should switch to 1920-1080 (with a 120Hz refresh rate).
  • If you have an existing VM, not only does the guest computer name need to match RDPWindows, this is true for the KVM VM name as well!

Add startup screen as FreeRDP loads

In some cases there is a slight delay before FreeRDP initiates and displays the connection. This can cause a user to "restart" an application again, or 're-double-click" a file again. To overcome this, build in a system that shows a loading mechanism prior to the actual FreeRDP display appearing.

This will become more pertinent as the ability to pause a VM when not in use is added.

Can not create KVM Machine on openSUSE Leap 15.2

Hello,

I tried to set the software up like it is discribed in the Readme file. Everthing worked fine until the following command:
virsh define kvm/RDPWindows.xml

I get the following error:
Fehler: Fehler beim Definieren einer Domain von kvm/RDPWindows.xml Fehler: Cannot check QEMU binary /usr/bin/kvm-spice: No such file or directory

The english translation for the first line:
Error: Error while defining a domain from kvm/RDPWindows.xml

What else I have to install or what should I change in the RDPWindows.xml file to get it work.

I use openSuse Leap 15.2 and have installed KVM with YaSt. My desktop enviroment is KDE Plasma.

Would be cool if you could help me.

Mounting home

Files in your home directory are accessible via the \tsclient\home mount inside the VM

This is not good idea. If your VM has virus that encrypts files you may lost all your files, even config files for Gnome. Better way is share one directory to Windows VM except whole home.

Can't use Taskbar after one app was opened

Hi,
after I opened one app, e.g. Outlook, I can't use the taskbar anymore. Seems that the VM is overlaying it.
My taskbar in on the bottom, like in Windows.
Regards,
Shhkid

Can't start RDPWindows

Hello, first of all I have no idea about linux, so I just copy and paste line by line every install instruction. When I start RDPWindows (me or the install.sh script), I get this error
error: Failed to start domain RDPWindows error: internal error: Process exited prior to exec: libvirt: QEMU Driver error : Unable to stat RDPWindows.qcow2: No such file or directory

Running Ubuntu 20.10

Any thoughts?

Pause when not in use

While a virtual machine is required while accessing windows applications, it could be useful to save some cpu cycles (and battery) when the windows subsystem is not required. I suggest to suspend the machine when not in use (as in virsh suspend <domain>), and optionally setting the machine to suspend automatically once booted, so user could launch it in advance but won't suffer from performance lose to virtualization.

Please keep everything in HOME

First Thank you for a fantastic and very cool app!

A couple of thoughts, 1) there should be the option to install everything in home rather than having the executables and .desktop files installed centrally. I edited install to point to ~/.local/bin and ~/.local/share/applications. 2) windows hates to be just killed so please consider adding a bat file to shutdown /s /f /t 0 to shutdown windows easier. I also added a try program to start and close the VM (I'm suing virtualbox).

Again great program and thanks.

install.sh does not recognize office being installed on RDP server

I do not use a local VM, but when I point the install.sh to a server, with patched regedit, it only shows i can run internet explorer through winapps.

I have office 365 installed on the RDP server.

Installing... Checking for installed apps in RDP machine... Configuring Internet Explorer... Finished. Configuring Windows... Finished. Installation complete.

The windows vm can't start

error: Failed to start domain RDPWindows
error: internal error: Process exited prior to exec: libvirt: QEMU Driver error : Unable to stat RDPWindows.qcow2: No existe el archivo o el directorio

Why ~/.winapps instead of ~/.config/winapps?

Title says it all. Seriously, why are people so passionate about clogging user's /home directory with configuration files?

Can this be changed or configured manually by the user?

Other than that, this project looks interesting, thanks for making this! :D

config file

You need to create a ~/.config/winapps/winapps.conf configuration. Exiting...

While I was creating the file โ€โ€โ€โ€~/.config/winapps/winapps.conf

The RDP connection failed to connect or run.

I follow all instructions but you lost me in the step:
Merge kvm/RDPApps.reg into the registry to enable RDP Applications
I don't know how to send the file inside the VM.
But I change the register with regedit.exe. I change the 0 to 1.
Now I made all steps but when I try to run the install script this happen:
image
I don't know what made bad, I don't have installed any of the programs in the list, but I made my customs files with the programs that I installed.
For example, I create a folder inside of apps named "opera-gx", inside I put the icon and the info file, with the route where I installed Opera GX.
But it's not mapped. I don't know if the problem it's my custom file or the error it's because I follow bad the steps.

guest CPU doesn't match specification

On starting the KVM machine, I get a pop up with the following error:
Error starting domain: operation failed: guest CPU doesn't match specification: missing features: ss,fma,movbe,aes,f16c,rdrand,fsgsbase,bmi1,avx2,smep,bmi2,erms,invpcid,pdpe1gb,abm

When I click 'Details', I get the following:

Error starting domain: operation failed: guest CPU doesn't match specification: missing features: ss,fma,movbe,aes,f16c,rdrand,fsgsbase,bmi1,avx2,smep,bmi2,erms,invpcid,pdpe1gb,abm

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 66, in newfn
    ret = fn(self, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 1279, in startup
    self._backend.create()
  File "/usr/lib/python3/dist-packages/libvirt.py", line 1234, in create
    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirt.libvirtError: operation failed: guest CPU doesn't match specification: missing features: ss,fma,movbe,aes,f16c,rdrand,fsgsbase,bmi1,avx2,smep,bmi2,erms,invpcid,pdpe1gb,abm

Thank you in advance!

Removal of apps from host?

How can we remove unwanted apps from the host? Do we just remove the .desktop file from /usr/share/applications, is there another way (this way seems unclean and I'm afraid it might leave some files on the system which will bother later on).

Can't get it to work on Fedora

I'm trying to install this on Fedora 33.

Output of virsh define ./kvm/RDPWindows.xml:

error: Failed to define domain from ./kvm/RDPWindows.xml
error: Cannot check QEMU binary /usr/bin/kvm-spice: No such file or directory

I followed the suggestion here, but now I'm getting this:

error: Failed to define domain from kvm/RDPWindows.xml
error: unsupported configuration: Emulator '/usr/bin/kvm-spice' does not support machine type 'pc-i440fx-bionic'

Is this a bug in RDPWindows.xml? Or do you have any suggestions on what I can do to install it?

Cannot resize windows

This may be an issue with xfreerdp, but I seem completely unable to resize any app windows. I'm simply not getting the handle at the edges or corners to resize the windows.

Outlook ETA

Any ETA on outlook? In my case that's the most wanted app I would like to bring to my Linux machine.

Thanks,

GNOME Crash on POP OS 20.10

I've just installed it (with a pre-existing vm), installation went fine.

But when starting any office app my gnome desktop glitches (windows get moved around and black desktop background) and then the gnome session crashes and I'm forced to log out.

Same behavjour when all gnome-shell-plugins are disabled, anyone else ran into an issue like this?

Create a manual run on install to allow acceptance of certificate

for some reason install.sh would hang for me on checking for installed apps, I looked further into this and it seems its due to the cert for xrdp not being prompted. Here is the output

  Checking for installed apps in RDP machine...[14:25:16:966] [7843:7844] [INFO][com.freerdp.core] - freerdp_connect:freerdp_set_last_error_ex resetting error state
[14:25:16:966] [7843:7844] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[14:25:16:966] [7843:7844] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[14:25:16:966] [7843:7844] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[14:25:16:966] [7843:7844] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rail
[14:25:16:275] [7843:7844] [INFO][com.freerdp.primitives] - primitives autodetect, using optimized
[14:25:16:278] [7843:7844] [INFO][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting error state
[14:25:16:278] [7843:7844] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:25:16:285] [7843:7844] [WARN][com.freerdp.crypto] - Certificate verification failure 'self signed certificate (18)' at stack position 0
[14:25:16:285] [7843:7844] [WARN][com.freerdp.crypto] - CN = RDPWindows
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] - @           WARNING: CERTIFICATE NAME MISMATCH!           @
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] - The hostname used for this connection (192.168.122.29:3389) 
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] - does not match the name given in the certificate:
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] - Common Name (CN):
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] -        RDPWindows
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] - A valid certificate for the wrong name should NOT be trusted!
Certificate details for 192.168.122.29:3389 (RDP-Server):
        Common Name: RDPWindows
        Subject:     CN = RDPWindows
        Issuer:      CN = RDPWindows
        Thumbprint:  bf:8e:c0:d5:0f:e8:05:fc:47:77:51:08:3e:04:94:dd:86:f2:c9:f0:f2:df:1b:3b:f2:ad:53:18:b2:45:2b:2f
The above X.509 certificate could not be verified, possibly because you do not have
the CA certificate in your certificate store, or the certificate has expired.
Please look at the OpenSSL documentation on how to add a private CA to the store.
Do you trust the above certificate? (Y/T/N) y

after accepting the cert and running the script again it works.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.