zsh cause remote desktop fail on linux

Posted in :

昨天心血來潮, 透過下面的指令修改了 default shell to zsh:

How to make ZSH the default shell?
https://askubuntu.com/questions/131823/how-to-make-zsh-the-default-shell

chsh -s $(which zsh)

沒想到居然造成安裝在 linux server 裡的 xrdp desktop 在登入完帳號/密碼後就掛掉, 無法登入.

解法, 再切回來 bash

chsh -s $(which bash)

相關文章

Linux VM 上安裝桌面環境
https://stackoverflow.max-everyday.com/2023/02/linux-vm-xrdp-desktop/

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *