
PCPASS=$(zenity -entry -hide-text -title="PC Password" -text="Enter the Password")

I'm looking for a functionality similar to Microsoft Remote Desktop (RDP) which I use to connect from the Linux machine to the Windows machine I currently have: #! /bin/bash I've searched many questions here and on other portals, all come down to screen sharing (VNC) which is not the functionality I'm looking for: the Mac has a different resolution and different number of displays, obviously.

I don't need (and prefer not to) the MacBook's screen to display anything, I'd like to keep the laptop closed and use it basically as a headless server. I'd like to connect from the Linux computer to the Mac and work on the Mac using my two displays, mouse, and keyboard connected to the Linux computer. I have Linux computer with two screens and (going to have) MacBook laptop with one screen.
