-
Notifications
You must be signed in to change notification settings - Fork 0
linux for noob (me)
run kate while removing log: kate filename 2>/dev/null
run kate and continue using the same terminal: kate filename 2>/dev/null &
#!/bin/sh
xrandr --newmode 2560x1440R 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync
xrandr --addmode HDMI-2 2560x1440R
xrandr --output HDMI-2 --mode 2560x1440R
alt + space : system > startup and shutdown > autostart > Add script... >
will create a sysmlink or copy to/home/guillaume/.config/autostart-scripts/set2560x1440
$HOME/.config/user-dirs.dirs
sudo apt-get install openssh-server
sudo service ssh status
change config: sudo nano /etc/ssh/sshd_config
restart the service: sudo service ssh restart
configure the firewall to enable ssh
https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands
sudo ufw allow from 192.168.0.0/24 to any port 22
get private IP
ip addr show
hostname -I
get public IP: dig +short myip.opendns.com @resolver1.opendns.com
-
install a windowing system compatible with xdrp: xubuntu-desktop:
sudo apt install aptitude
sudo aptitude update && sudo aptitude install xubuntu-desktop -
install xrdp:
sudo apt-get install xrdp