Remote Desktop: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 1: Line 1:
=== Ubuntu-to-Ubuntu ===
=== Ubuntu-to-Ubuntu ===


Everything is brought together under Ubuntu Settings > Sharing.
Everything is brought together under [mh-ubuntu-settings] Ubuntu Settings > Sharing.


The packages it needs underneath are:
The packages it needs underneath are:
Line 7: Line 7:
  sudo apt-get install remina # VNC client
  sudo apt-get install remina # VNC client


Use mh-ubuntu-settings to get started, it's pretty easy.
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 ===
=== Older Windows-based RDP ===

Revision as of 21:04, 8 June 2020

Ubuntu-to-Ubuntu

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.
  • 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#