Headless HPZ install

just moving this over for future searching from old facebook group, this post is from march 2020

because this conversation for remote accessing our workstations has been cropping up everywhere, I decided to give HP RGS another chance, and after a lot of tweaking I am now very very happy, so I thought to lay out the config steps needed here:

I am actually suprised by the performance, I am stuck with a 70mbit DSL line, with this I am peaking at around 50mbit with a dell ultrawide at 3440x1440 with 60fps and that pretty stable, and its really really good, if my bandwidth was higher I could run without advanced compression.

This might also be interesting for other software if you want to run headless, or forgot to leave the monitor on but have ssh access…

its worlds apart from anydesk and teamviewer. way way better. and free if you have a HP Z workstation.(not anymore)

  1. install rgs, use provided documentation , its pretty straightforward.

  2. disable display blanking in rgs sender config utillity so you have display output on real screen as well.

  3. in the same config utillity, you can up the max fps to 60 to not be stuck at 30.

  1. if running with a monitor connected and you have a screen with the same resolution at home , you are now ready to go, get your vpn going and connect , voila. doing this, I was able to run compressed 60fps at 35-40 mbit, when I had no screen connected the performance was really bad, and when I rebooted I only saw a black screen.

if you have a different resolution or want to run headless like I am, here comes the tricky part:

-Remove monitor.xml &backup first) from ~/.config/

generate xorg config as root user:

nvidia-xconfig -a --allow-empty-initial-configuration \

–use-display-device=“DFP-0” --connected-monitor=“DFP-0” \

–custom-edid=“DFP-0:/edid.txt”

now create a edid.txt like so:

nano /edid.txt

But what EDID to put here?

sample 1080p EDID:

00 ff ff ff ff ff ff 00 1e 6d f5 56 71 ca 04 00 05 14 01 03 80 35 1e 78 0a ae c5 a2 57 4a 9c 25 12 50 54 21 08 00 b3 00 81 80 81 40 01 01 01 01 01 01 01 01 01 01 1a 36 80 a0 70 38 1f 40 30 20 35 00 13 2b 21 00 00 1a 02 3a 80 18 71 38 2d 40 58 2c 45 00 13 2b 21 00 00 1e 00 00 00 fd 00 38 3d 1e 53 0f 00 0a 20 20 20 20 20 20 00 00 00 fc 00 57 32 34 35 33 0a 20 20 20 20 20 20 20 01 3d 02 03 21 f1 4e 90 04 03 01 14 12 05 1f 10 13 00 00 00 00 23 09 07 07 83 01 00 00 65 03 0c 00 10 00 02 3a 80 18 71 38 2d 40 58 2c 45 00 13 2b 21 00 00 1e 01 1d 80 18 71 1c 16 20 58 2c 25 00 13 2b 21 00 00 9e 01 1d 00 72 51 d0 1e 20 6e 28 55 00 13 2b 21 00 00 1e 8c 0a d0 8a 20 e0 2d 10 10 3e 96 00 13 2b 21 00 00 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 26

my 34inch Dell Ultrawide 3440x1440 EDID:

00 FF FF FF FF FF FF 00 10 AC AA A0 4C 33 4D 30 2F 1B 01 03 80 50 21 78 EA FD 25 A2 58 4F 9F 26 0D 50 54 A5 4B 00 71 4F 81 00 81 80 A9 40 D1 C0 01 01 01 01 01 01 E7 7C 70 A0 D0 A0 29 50 50 20 CA 04 1E 4F 31 00 00 1A 00 00 00 FF 00 46 31 54 31 57 37 42 4B 30 4D 33 4C 0A 00 00 00 FC 00 44 45 4C 4C 20 55 33 34 31 35 57 0A 20 00 00 00 FD 00 30 55 1E 59 20 00 0A 20 20 20 20 20 20 01 9E 02 03 22 F1 4D 90 05 04 03 02 07 16 01 14 1F 12 13 5A 23 09 07 07 67 03 0C 00 20 00 38 44 83 01 00 00 9D 67 70 A0 D0 A0 22 50 50 20 5A 04 1E 4F 31 00 00 1A 9F 3D 70 A0 D0 A0 15 50 50 20 8A 00 1E 4F 31 00 00 1A 58 4D 00 B8 A1 38 14 40 94 2C B5 00 1E 4F 31 00 00 1E 3C 41 B8 A0 60 A0 29 50 50 20 CA 04 1E 4F 31 00 00 1A 56 5E 00 A0 A0 A0 29 50 30 20 35 00 1E 4F 31 00 00 1A 00 00 00 25

my 27 inch DELL UHD 3840x2160 EDID:

00 FF FF FF FF FF FF 00 10 AC BD 40 4C 38 36 33 0A 19 01 04 A5 3C 22 78 3A 28 95 A7 55 4E A3 26 0F 50 54 A5 4B 00 D1 00 D1 C0 B3 00 A9 40 81 80 81 00 71 4F 01 01 4D D0 00 A0 F0 70 3E 80 30 20 35 00 55 50 21 00 00 1A 00 00 00 FF 00 33 32 52 31 46 35 33 37 33 36 38 4C 0A 00 00 00 FC 00 44 45 4C 4C 20 50 32 37 31 35 51 0A 20 00 00 00 FD 00 1D 4B 1F 8C 36 01 0A 20 20 20 20 20 20 01 E2 02 03 1D F1 50 10 1F 20 05 14 04 13 12 11 03 02 16 15 07 06 01 23 09 1F 07 83 01 00 00 56 5E 00 A0 A0 A0 29 50 30 20 35 00 55 50 21 00 00 1A 02 3A 80 18 71 38 2D 40 58 2C 25 00 55 50 21 00 00 1E 01 1D 00 72 51 D0 1E 20 6E 28 55 00 55 50 21 00 00 1E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40

if your client is a windows box you can generate the hex values needed from your clients display : https://www.entechtaiwan.com/util/moninfo.shtm

Select your screen top right and scroll down left to find the RAW values , copy paste into gedit or whatever, find and replace the comma with a space , then delete all line breaks so its just one long line with hex values seperated by spaces.

kudos to this source: xorg - X server on NVIDIA card with no screen - Super User

We just put dummy dongles on all our headless machines and then never have to worry. We always match client monitors, to that of the host sender (or dongle).

I don’t know if you’ve tried Teradici, but the visual quality and network protocol robustness is much higher than RGS. Although if I recall you run RGS in “raw” mode, so visual stuff may not be an issue for you.

yea dongles are ok, i think teradici does a better job at auro resolution matching than hpz

when i wrote this it wss the start the pandemic and i wanted to have my ultrawide resolution to work which the dongle couldnt do and it gave me all kinds of issues.

also for this while it disabled the monitor outs on the gpu, i can just run nvidia-xconfig - a and have everything be back to normal no fumbeling with dummy dongles.