Comments (3)
I have followed the steps and installed xrdp on my fedora 29 workstation in hyper v.
Finally enabled the ESM via powershell for my above virtual machine.Now i get the ESM popup to choose resolution but after that throws up error
"Video remoting was disconnected"Can you help.
Same issues here but on Fedora 30
from enhancedsessionmode.
Ok guys, I've figured this one out. I'm on Fedora 30 right now and I've used the script. The issue here is that SELinux is never set to Permissive. Instead it's stuck in Enforcing, which prevents the RDP session to be set. Ofcourse you can configure SELinux to play nice with RDP, but the easiest way is just to set it to permissive.
The issue is in line 8 of the script. This line should be as follows (or it can be added):
sudo sed -i 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/config
It's documented in this bug: https://bugzilla.redhat.com/show_bug.cgi?id=147615. The location that is used by the script is deprecated.
To fix it, first of all disable Enhanced Session, by shutting down the VM. In an elevated PowerShell enter the following command:
Set-VM -VMName "<vmname>" -EnhancedSessionTransportType VMBus
Now boot up the VM and edit the file /etc/selinux/config
, and change SELINUX=enforcing
to SELINUX=permissive
.
After this, shut down the VM and in an elevated PowerShell enable Enhanced Session again:
Set-VM -VMName "<vmname>" -EnhancedSessionTransportType HvSocket
After this you can boot up your VM with Fedora, using ESM!
My only issue right now is that everything that might require elevation in Fedora prompts for me to enter my password, such as powering off the VM. Minor, but something that isn't the case with the default Ubuntu setup from Microsoft.
from enhancedsessionmode.
Hi @w0ndersp00n. Thx for the information. I updated the scripts to use your line instead.
from enhancedsessionmode.
Related Issues (12)
- install_esm_fedora31.sh works on Fedora 32 HOT 3
- CentOS 7.9 - Error on recompiling XRDP HOT 1
- Fedora 34 has been released, will this project support it soon? HOT 8
- Not found with the last fedora 34 SO update HOT 4
- Rebuilding the xrdp package is no longer needed
- Cannot login HOT 5
- Cannot connect to VM after adjuting the size to largeset HOT 4
- Update for F30 HOT 1
- Fedora 30 xrdp 0.9.11 workaround HOT 2
- Audio support HOT 1
- Fedora 31 support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enhancedsessionmode.