Last active
January 15, 2019 21:24
-
-
Save n1ckfg/b56fd9871a2d060808817156b7573906 to your computer and use it in GitHub Desktop.
Persee Ubuntu 16.04 setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | |
*** 1. Enable autologin *** | |
https://askubuntu.com/questions/162722/how-can-i-enable-autologin-for-my-user-account-when-the-option-is-not-there | |
Open this file with root /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf | |
Then append the following code: | |
[SeatDefaults] | |
greeter-session=lightdm-gtk-greeter | |
autologin-user=username | |
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | |
*** 2. Set up ssh *** | |
https://askubuntu.com/questions/162391/how-do-i-fix-my-locale-issue | |
https://askubuntu.com/questions/892447/start-ssh-automatically-on-boot | |
What finally helped was putting to the file /etc/environment: | |
LC_ALL=en_US.UTF-8 | |
LANG=en_US.UTF-8 | |
For some reason it was missing. The outputs for locale and other commands appeared like the variables were properly defined. In other words don't take for granted all the basic stuff is declared where it should be declared. | |
sudo systemctl enable ssh | |
sudo update-rc.d ssh defaults | |
sudo systemctl enable ssh.socket | |
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | |
*** 3. Configure hostname *** | |
https://askubuntu.com/questions/59458/error-message-sudo-unable-to-resolve-host-none | |
That the /etc/hostname file contains just the name of the machine. | |
That /etc/hosts has an entry for localhost. It should have something like: | |
127.0.0.1 localhost.localdomain localhost | |
127.0.1.1 my-machine | |
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | |
*** 4. Install Bonjour / zeroconf *** | |
https://learn.adafruit.com/bonjour-zeroconf-networking-for-windows-and-linux/overview | |
sudo apt-get install avahi-daemon | |
Optionally, to show up in the OS X Finder: | |
sudo apt-get install netatalk | |
To add zeroconf support to Windows, Apple's version comes with iTunes or can be installed separately: | |
http://support.apple.com/kb/DL999 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment