Sunday, July 5, 2015

XFCE: auto-login

Debian GNU/Linux: Auto-login

Debian GNU/Linux: Auto-login


이 문서는 e[ ⎋Esc ]m[ ⌥Meta ]a[ ⌥Alt ]c[ ^Ctrl ]s[ ⇧Shift ] org-mode로 작성된 글입니다.


System Environments

Operating Systems

  • Main- : OS X Yosemite (10.10.4)
  • Sub- : Debian GNU/Linux Wheezy (7.8)
  • Server: Debian GNU/Linux Wheezy || Squeeze
  • Mobile: iOS 7.1.2

지난 글들에서 볼 수 있듯이, 최근에 Debian이 설치된 \(2^{nd}\) 컴을 날렸다.

이 blog를 참고하는 것 만으로, 웬만한 설치 관련 문제를 해결할 수 있기를 바랐기에, 다시 Debian을 설치하며 알게 된 이 blog에서 빠진 몇 가지 간단한 것들을 추가하려 한다.

Auto-login in Debian GNU/Linux with XFCE

KDE를 쓰면 [System settings]에서 auto-login을 간단하게 설정할 수 있다. XFCE는 가볍고 빠른 만큼 GUI(Graphic User Interface)로 간단히 접근할 수 있는 많은 것들이 누락되어있다. Auto-login도 그 중 하나로 사용자가 직접 Bash(Terminal emulator)에서 설정해야 한다. 내 \(2^{nd}\) 컴에는 개인적인 것들이 거의 없어서, 한 번 이라도 키보드를 덜 쓰려, 아래의 방법으로 auto-login on 상태로 사용하고 있다.

  1. 우선 lightdm package가 필요하다.
    $ sudo apt-get install lightdm
    
  2. 설치가 끝나면, /etc/lightdm/lightdm.conf 파일을 mousepad 같은 적당한 에디터로 열자.
  3. 아래와 같이 쓰여진 부분을 찾아서(⌃Ctrl+f)
    [SeatDefaults]
    #autologin-user=
    #autologin-user-timeout=0
    

    아래처럼 주석 처리 기호인 # 을 지우고, autologin-user= 오른쪽에 사용자의 ID(아래서 Your_ID 로 표한 부분)을 적으면 된다.

    [SeatDefaults]
    autologin-user=Your_ID
    autologin-user-timeout=0
    

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Created: 2015-07-05 Sun 12:41

Emacs 24.3.1 (Org mode 8.2.10)

No comments:

Post a Comment