Site Tools


Ubuntu odd things

Window goes off screen

This might happen when you have dual-monitor setup, press alt-tab to bring the focus on the window, the press alt-space to activate window control menu, choose "move", now there you go!


Not exactly an odd issue, happens so often. Switch to console, run `setsid unity`, this "might" fix it, if not, reboot your desktop :D

d-bus error when systemctl --user enable [servername]

sudo apt-get install libpam-systemd
# add server file to:
# ~/.config/systemd/user/srv.service

disable motd for ssh

  • /etc/pam.d/sshd: remove the lines with motd
  • /etc/ssh/sshd_config: PrintMotd should be no, I think this only makes sense when pam is disabled
  • /etc/update-motd.d: this has scripts to generate motd
  • PrintLastLog no in sshd_config: disable last login message
linux/ubuntu/odd.txt · Last modified: 2021-03-21 by dcai