2021年8月27日 星期五

Linux 不透過 Display manager 完成自動登入及執行 startx 進入 xwindow 圖形界面

某台電腦需要自動登入及進入 xwindow 才能啟動要用的功能,

找到下方這篇文章可以透過 systemd 的本機自動登入功能,

再加上登入後自動執行 startx 完成自動進入 xwindow 圖形界面環境。

Autologin and startx without a display manager.

https://forums.bunsenlabs.org/viewtopic.php?id=5544

2021年8月15日 星期日

Git gui 使用有 passphrases 的 ssh key 連到 GitHub

因為 2021/08/13 後,github 不給用 https 加密碼方式連線,

只能用 ssh key 的方式。

但是照著步驟一直失敗

Pushing to ssh://github.com/myname/project.git
myname@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

在archlinux 中使用 clonezilla 備份非系統磁碟

因為系統開機中,不想重開啟使用 Clonezilla live USB。

有個方法是開 VirtualMachine 用 Clonezilla Live ISO 開機後再連接要備份的和

儲存的裝置,但是感覺還是有點麻煩。

所以想直接拿出 Clonezilla live ISO 檔案內的相關檔案,利用 chroot 改變根目錄直接執行。

因為 ram 夠大,所以全部在 /dev/shm 下操作