Skip to content
This repository has been archived by the owner on Jan 29, 2021. It is now read-only.

openSUSE VM on Windows 10 cannot have a native resolution higher than 1024x768 #107

Closed
zlatko-michailov opened this issue Mar 30, 2020 · 3 comments

Comments

@zlatko-michailov
Copy link
Member

Hi,

This issue isn't about XRDP. It is about the Hyper-V video driver. It is probably not your area, but I'm hoping you guys have dealt with it. If not, I'll appreciate it if you can hook me up with the right Microsoft team.

Here's my setup: I am running an openSUSE (Tumbleweed) VM on my Windows 10 laptop. I am connecting through the native Virtual Machine Connection. The problem is that I cannot bring the resolution above 1024x768.

I suspect the Linux kernel queries the Hyper-V video driver, and it firmly responds that no higher resolution is supported. For instance,

xrandr  --screen 0 --fb 1600x1200

produces:

xrandr: screen cannot be larger than 1024x768 (desired size 1600x1200)

So, is there any way to force an override of that maximum?

P.S. I used to use XRDP. I've set it up twice - the process is not easily reproduceable. It takes some trial-and-error. Then, every time I want to connect, it never works until I log in natively first.

@zlatko-michailov zlatko-michailov changed the title openSUSE VM on Windows 10 cannot have a ntaive resolution higher than 1024x768 openSUSE VM on Windows 10 cannot have a native resolution higher than 1024x768 Mar 30, 2020
@zlatko-michailov
Copy link
Member Author

I am reading your wiki, and I notice this screenshot - https://raw.githubusercontent.com/Microsoft/linux-vm-tools/master/wiki/media/vmconnect.PNG. That's pretty much what I'm looking for. How did you make the Ubuntu VM offer the user to chose a resolution?

@stefanjarina
Copy link

stefanjarina commented Dec 19, 2020

In case anyone is reading this now and is wondering about how to get it working in openSUSE, I just submitted pull request for it with working script: #128

There is version for Tumbleweed and Leap 15.2. These two versions are working. did not test it with Leap 15.0 or 15.1 though. One caveat is that shutdown from xrdp session seems not to work, no idea why yet

@cwilhit
Copy link
Contributor

cwilhit commented Jan 28, 2021

This repo is being archived, so closing this issue.

@cwilhit cwilhit closed this as completed Jan 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants