question

Techie7331-6619 avatar image
0 Votes"
Techie7331-6619 asked Techie7331-6619 commented

Enhanced Session Mode Centos 8 on Hyper-V Core 2019

Since my previous inquiry was vague at best I'll write it down more detailed.

I'm trying to get clipboard working for centos 8 in a hyper-v environment. After searching for a short while I came to understand that I need Enhanced session mode for this to work. This does not seem to be the case for centos 8 it seems.

I've used the "3 rule method" where I enable the policy under the main settings in hyper-v settings and I enabled it for users as well. I have it also checked (guest additions) for the vm as well. I have changed the vmbus to hvsocket as well, so now that the windows side is in order I'm stuck at what to do on centos 8's side.

I've tried to find help from other sources like fedora, centos 7 and even RHELL itself but i'm getting conflicted information, where someone says that it doesn't work and I'll need to use xrdp to set up a reversed rdp connection to the host which should allow me to use clipboard in that way. But that is not exactly the best way to handle it but it's still a valid option. There is also the fact that this information was from a forum that was 4 years old by now so a lot might have changed since then.

So what I really want to if it is even possible in the first place and secondly what I need to do or what guides I can follow to allow me to do it.

Any help would hugely appreciated!

edit: I have since asking this question figured out that ESM is RDP on windows. So all I need to do is making sure that RDP on windows/server side works and is listening on port 3389 and install an equivalent on centos 8 called xrdp and all other programs it needs. I'm currently testing it out with a script that I found here: https://github.com/microsoft/linux-vm-tools/blob/cb07b3eaeb89822ebc6eaddb10f3932bb1879f47/ubuntu/20.04/install.sh on an Ubuntu 20.04 VM made with express settings. If this one works I'm going to try and reverse engineer it to centos 8's standars, unless there is such a script already out there.

edit2: Ubuntu 20.04 has been succesfully session mode enabled!

While I'm a step closer to my goal any tips would still be very appreciated.

windows-server-2019windows-server-hyper-vwindows-10-hyperv
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Have you got any progress on your issue now? If yes, welcome to feedback. If you need assistance, it's recommended to open a case with MS, as the environment is complex and I can find few information via the Internet.

Below is the link to open a case with MS:

https://support.microsoft.com/en-us/gp/customer-service-phone-numbers

Thanks for your time!
Best Regards,
Anne


If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



0 Votes 0 ·

I haven't found much of a solution yet except a script meant for centos 7 that has a recompilation issue in it's script. The script in question comes from here https://github.com/secana/EnhancedSessionMode . I sadly do not know any c-code so I cannot fix it myself with gcc unless I know exactly what the person did. I went for Ubuntu and it works now. It's just a shame that I couldn't make it work on either centos 7 nor 8 because they both provide a lot more tools. They do work on virtualbox and I assume VMsphere as well. So it definitely is a hyper-v problem.

0 Votes 0 ·

0 Answers