§2023-06-20
Using Dedian bullseye server image, and make it into a desktop
sudo apt update
&& sudo apt -y upgrade
sudo useradd -m -G sudo -u 1026 alexlai
sudo useradd -m -d /opt/xfs/home/alexlai -G wheel -u 1026 -s /bin/bash alexlai
# /sbin/useradd -m -G sudo,tty,disk,dialout,audio,video,plugdev,games,users,systemd-journal,input,netdev,docker -u 1026 -s /bin/bash alexlai root@orangepi5plus:/home/orangepi# id alexlai uid=1026(alexlai) gid=1026(alexlai) groups=1026(alexlai),5(tty),6(disk),20(dialout),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),999(systemd-journal),102(input),107(netdev),996(docker) i
$ sudo chsh -s /bin/bash alexlai
sudo ln -sf /usr/share/zoneinfo/Asia/Taipei /etc/localtime
sudo nano /etc/locale.gen, ucomment en_US.UTF-8, ja_JP.UTF-8, zh_TW.UTF-8
sudo locale-gen
sudo localectl set-locale LANG=en_US.UTF-8
sudo apt update
sudo apt install -y ttf-mscorefonts-installer fonts-noto-cjk fonts-noto-cjk-extra fonts-ipafont fonts-ipaexfont
for archlinux
sudo pacman -S adobe-source-han-sans-jp-fonts adobe-source-han-serif-tw-fonts
sudo apt install --install-recommends -y budgie-desktop tilix fcitx5 fcitx5-mozc fcitx5-config-qt chromium xfsprogs gdm3 (lightdm, gdm3 not working)
--install-suggests
--> works again, and it it more modern likesudo dpkg-reconfigure gdm3
sudo pacman -S lightdm lightdm-gtk-greeter
Configuration file '/etc/pulse/client.conf'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** client.conf (Y/I/N/O/D/Z) [default=N] ?
sudo apt install sddm tilix firefox-esr
else no terminal applicationJun 20 16:02:03 pi5PlusBullseye gnome-session-c[2444]: cannot open display: :0
Jun 20 16:02:03 pi5PlusBullseye gnome-session[2445]: Unable to init server: Could not connect: Connection refused
Jun 20 16:02:03 pi5PlusBullseye gnome-session-c[2445]: cannot open display: :0
Jun 20 16:02:03 pi5PlusBullseye gnome-session[2425]: gnome-session-binary[2425]: WARNING: software acceleration check failed: Child process exited with code 1
Jun 20 16:02:03 pi5PlusBullseye gnome-session-binary[2425]: WARNING: software acceleration check failed: Child process exited with code 1
Jun 20 16:02:03 pi5PlusBullseye gnome-session[2446]: Unable to init server: Could not connect: Connection refused
Jun 20 16:02:03 pi5PlusBullseye gnome-session-f[2446]: Cannot open display:
- install kde-plasma
- `sudo apt install tasksel`
- `sudo tasksel`
- hang at `Preparing to configure pulseaudio (arm64)` about 78% finished!
- install fcitx5, tilix
- `sudo apt install fcitx5 fcitx5-mozc fcitx5-config-qt fcitx5-gtk fcitx5-configtool` fcitx5-gtk is required for chromium
- `$ sudo pacman -S fcitx5 fcitx5-mozc fcitx5-config-qt fcitx5-gtk fcitx5-configtool`
- nano ~/.bashrc
```bash
# fcitx5
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
# fix tilix error
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
source /etc/profile.d/vte.sh
fi
sudo apt install build-essential
¶Uknown issues: