查看: 54|回覆: 0

[Debian] debian安装最小桌面,中文和 浏览器

[複製鏈接]

1

主題

0

回帖

0

積分

热心网友

金币
0
閲讀權限
220
精華
0
威望
0
贡献
0
在線時間
0 小時
註冊時間
2011-5-21
發表於 2023-3-14 22:37:00 | 顯示全部樓層 |閲讀模式

debian安装最小桌面,适合vnc使用

apt -y update
apt -y upgrade

# 安装中文

apt -y install aptitude
aptitude install locales
dpkg-reconfigure locales
nano /etc/default/locale

apt install -y xfonts-intl-chinese xfonts-wqy ttf-wqy-zenhei
apt install -y fcitx fcitx-googlepinyin
apt install -y ibus ibus-gtk ibus-pinyin

 # 安装桌面、VNC 和 xrdp

# Install X, LXDE programs
apt install -y xorg lxde-core vnc4server

# Start VNC to create config file xtigervncviewer
vncserver :0

# Then stop VNC
vncserver -kill :0

# Edit config file to start session with LXDE:
nano ~/.vnc/xstartup

# Add this at the bottom of the file:
lxterminal &
/usr/bin/lxsession -s LXDE &

# Restart VNC
vncserver :0

----------------------------------
apt install -y xrdp
service xrdp restart

远程桌面没有正确关闭,导致xrdp登陆失败

nano /etc/xrdp/sesman.ini
[Sessions]
X11DisplayOffset=10
MaxSessions=50
KillDisconnected=1
IdleTimeLimit=0
DisconnectedTimeLimit=0

将最大会话限制该大 MaxSessions= 50
将断开连接时关闭会话进程 KillDisconnected =1

service xrdp restart

----------------------------------

# 安装浏览器
# apt install -y iceweasel

cd /opt
wget https://releases.mozilla.org/pub/firefox/releases/105.0.2/linux-x86_64/zh-CN/firefox-105.0.2.tar.bz2
wget https://releases.mozilla.org/pub/firefox/releases/111.0/linux-x86_64/zh-CN/firefox-111.0.tar.bz2
tar -jxvf firefox-105.0.2.tar.bz2
ln -s /opt/firefox/firefox /usr/bin/firefox

 


https://www.google.com/chrome

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

apt install -y ./google-chrome-stable_current_amd64.deb

 



来源:https://www.cnblogs.com/yisuo/p/17216736.html
回覆

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即注册

本版積分規則

相关侵权、举报、投诉及建议等,请发 E-mail:qiongdian@foxmail.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部