0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Jetson TX2 で Hostname Username が自動で設定される(JetPack 3.3.1/Ubuntu 16.04)

Posted at

問題

  • Jetson TX2 に JetPack 3.3.1(Ubuntu16.04) をインストールする際に username, hostname が勝手に設定されてしまう.(2019/10/16時点)
  • JetPack 4.2.2 (Ubuntu 18.04) では,Jetson の方で初期設定(hostname, username, キーボード設定など)が聞かれ,そこで設定できる

JetPack 公式インストールサイト

やること

古いインストーラ (JetPack 3.3 以前) も試したが,Ubuntu 16.04 の入る JetPack では一旦自動で初期設定がされるので,後で変更する.

Hostname の変更

二箇所のファイルを書き換えて再起動

sudo vi /etc/hostname

old_usernamenew_username とする.

sudo vi /etc/hosts

old_usernamenew_username とする.

Username の変更

ユーザーの追加

sudo adduser new_username

対話形式で色々聞かれるので,適当に埋める.
Full Name などは Enterキー 連打で良い.

sudo 権限の付与

sudo usermod -a -G new_username

video グループに追加

sudo usermod leus -a -G video

これがないと再起動時に GUI がバグる(Jetson特有?).
具体的には左側の Dock が消え,ウィンドウの外枠が表示されなくなった.

その他

初期設定で行う,キーボード設定・地域設定なども「システム設定」から変更する.

参考文献

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?