Remote Desktop: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=== Ubuntu-to-Ubuntu ===
=== Connect to Windows via linux using RDP ===
 
Everything is brought together under [mh-ubuntu-settings] Ubuntu Settings > Sharing.
 
The packages it needs underneath are:
sudo apt-get install vino # VNC server; RESTART GNOME after installation
sudo apt-get install remina # VNC client
 
Ubuntu screwed the pooch on vino-server config, wtf you idiots.  It's just some fucking app with no systemd support.  Well fuck if I'm jumping hoops when the next LTS release is weeks away.  Fuck you ubuntu.  Just run the god damned thing directly
 
# allow local connections
gsettings set org.gnome.Vino network-interface lo
# see all settings
gsettings list-keys org.gnome.Vino
# run the fucker
/usr/lib/vino/vino-server &
 
Consider other VNC servers instead that allow startup on boot?
 
=== Older Windows-based RDP ===


* Enable Remote Desktop on the target computer.  Search for "Allow remote desktop", it's in the system properties somewhere.  Turn off the checkbox for "require network auth" or whatever, so you can use u/p.
* Enable Remote Desktop on the target computer.  Search for "Allow remote desktop", it's in the system properties somewhere.  Turn off the checkbox for "require network auth" or whatever, so you can use u/p.

Latest revision as of 19:20, 18 July 2020

Connect to Windows via linux using RDP

  • Enable Remote Desktop on the target computer. Search for "Allow remote desktop", it's in the system properties somewhere. Turn off the checkbox for "require network auth" or whatever, so you can use u/p.
  • You may need to initially remote in to the box via Windows, to allow access from the host and to initialize it.
  • Install and use rdesktop; on ubuntu:
sudo apt install rdesktop
  • Run it. -g lets you match the host, easy way to 4k! WARNING: it eats Windows key, you have two options:
    • Ctrl-Alt-Enter should toggle you out of full screen
    • use Power > Disconnect to get out
    • NOTE you MAY be able to hit Win-Enter before it's stolen but not once you're in the session.
rdesktop hostname.com -g 100% -u admin -p 12345
  • You can actually use AD to authenticate, via kinit. Once you run this, you won't need a password:
   kinit -f #FULL@DOMAIN.NAME#