-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to connect to Clients without monitor attached (headless linux) #59
Comments
What is invalid about it? I am confused, I have tried several machines with no displays connected and get the same error. All running various versions of Linux Mint and Manjaro Linux. I have no tried with Windows. |
I understand your scenario, but in the near future, we can not create virtual display. It is not a simple job. |
RustDesk seems to be a remote control app more then a screen sharing. Screen sharing usually lacks controlling. While I understand, other rdp/vnc solutions can already do it. And would love to see it eventually make its way into your app. It is a extremely nice app so far, extremely fast, low memory, and I love it. |
google remotedesktop could do it, would you please reconsider this scenario as quite a lot of servers are running without a monitor. Thank you. |
Of course |
As a temp solution, you can install xrdp on Linux, and rdp to Linux using RustDesk port forwarding. |
|
|
|
|
This problem also appears on Windows when the screen is locked. |
Xvfb is a solution. While as methoned in the wiki: Xdummy is a supported by default. The solutions of xrdp and xpra are good references.
|
Try using a dummy HDMI connector as this should enable a display that RustDesk can connect too. |
The virtual monitor solution seems to conflict with real monitor - installing a virtual monitor will disable the output to the real monitor (but maybe it is possible to make the real monitor a secondary display?). This will make it harder to rescue your PC when, for example, the network fails, so that you have to connect a real monitor, which won't output anything if you have a virtual monitor installed already. I guess rustdesk will need a sesman equivalent counterpart? |
Could you please describe it in details? I have installed the XRDP on my Ubuntu server. It works perfectly. |
For windows, a virtual display driver is recommended: |
do you know. Anydesk can do it too. |
Seems all the OS (Windows, Linux and MacOS) will not display rightly when the screen is swich off. However, anydesk will not mind this. So can we wait for the feature in the future? Any plan? Thanks! |
Wondering if we can borrow something from qemu or virtualbox, they both have virtual display driver. @fufesou |
So if I connect an HDMI cable from my machine (Windows 11) to my other computer (Fedora 37 - Gnome, Xorg), would this error be resolved? |
Can you help me pls? If I connect a hdmi cable directly from a computer with windows to a desktop with fedora, this issue will be fixed? |
frankly, do not know |
Alright I'll be testing and share the results here |
#3592 xserver-xorg-video-dummy may be a good solution. |
I was with the same problem. I used VGA dummy plug. It works for me. |
I'm an headless-linux-workstation xrdp user, so I want to remote control the workstation by VNC/XRDP/AnyDesk/RustDesk/SSH and so many protocols I can in order to keep access to it in case of failure. This my temporal and ugly "hack" for RustDesk server without monitor attached:
I already tried the solution of making a custom I hope RustDesk developers could implement a solution similar to xrdp actually does for creating a virtual environment, I think this feature is crucial to be implemented for headless machines in order to switch from AnyDesk. |
If you have an intel integrated graphics, you can turn on the virtual display, and desktop acceleration is available.
https://github.com/medlab/daily-scripts-4-us/blob/main/enable_headless_intel_igpu_4_nomachine.sh |
I think fake hdmi is still simple and efficient, and it can be done for less than 20 yuan. It takes a lot of effort to get virtual output, and all the linux knowledge at the bottom of the box is used.
https://item.m.jd.com/product/100016651011.html To test graphics card acceleration, you can use this https://webglsamples.org/aquarium/aquarium.html
|
Solution for raspberry pi as of September 2023: edit file /boot/config.txt like this: Uncomment -> hdmi_force_hotplug=1 save and reboot your pi. Rust desk should connect now. |
你好,我的i5 4590电脑遇到了这个问题,请问Intel怎么打开虚拟显示呢,如果实在不行就买个fake HDMI了 |
For the RPI5 this doesnt work anymore, you need to add |
OS: Linux Mint 20.1 x64
Kernel: 5.4.0-58
Unable to connect to Linux machines with no monitor attached.
Remote Error:
No Display
The text was updated successfully, but these errors were encountered: