Posts

Showing posts with the label 18.04

Настройка WOL на Ubuntu 18.04

сначала в биос-е включаем POWER-ON: Wake ON lan Редактируем файл который находится в кталоге etc/netplan/*.yaml из под рута должен быть один единственный файл. --------- network: version: 2 renderer: NetworkManager ethernets: enp2s0: match: macaddress: 50:e5:49:b3:fc:97 dhcp4: true wakeonlan: true --------- ---------- - черточки копировать не нужно ))) 50:e5:49:b3:fc:97 заменить на свой MAC адрес сетевой карты потом запускаем поочередно команды: sudo netplan try sudo netplan apply на всякий случай ссылка на источник: https://askubuntu.com/questions/1053302/wake-on-lan-not-working-if-i-turn-of-with-ubuntu

RDP & VNC on ubuntu 18.04

Image
RDP & VNC on ubuntu 18.04 (cuts from sites which had helped me, unsecure! w/o SSH access) sudo apt-get install xrdp sudo apt-get update  #if U love xfce, you can install it as your window-manager for ur remote sessions, but I don't #sudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils $ sudo systemctl disable xrdp $ sudo systemctl stop xrdp $ sudo apt purge xrdp #to get work with rdp on ubuntu 18.04: https://askubuntu.com/questions/1164456/18-04-3-lts-xrdp-login-failed-for-display-0 #allow vnc for tcp sudo ufw allow from any to any port 5900 proto tcp sudo apt install xserver-xorg-core sudo apt install xserver-xorg-input-all И повторяем установку пакета xorgxrdp (and repeat install xorgrdp): $ sudo apt install xorgxrdp #for resolving connection problems on Windows mashines sudo gsettings set org.gnome.Vino require-encryption false Screen sharing which is using VNC protocol you can easily set by using a mouse in the setting Sharing c