User-Profile-Image
hankin
  • 5
  • centos7
  • docker
  • mysql
  • PostgreSQL
  • git/gitlab
  • ELK
  • python
    • python-Tornado
    • python-django
  • redis
  • nginx
  • kvm
  • proxmox
  • mongo
  • kubernetes
  • prometheus
  • GlusterFs
  • nfs
  • freeswitch
  • httpd
  • shell脚本
  • linux
  • fastdfs
  • nextcloud
  • openssl
  • openvpn
  • rabbitmq
  • sqlite
  • svn
  • java
  • ubuntu
  • vue2
  • wordpress
  • php
  • IOT物联网
  • 项目
  • 故障处理
  • 树莓派
  • 博客存档
  • 未分类
  • 杂项
  • #1742(无标题)
  • 新视野
  • 分类
    • 项目
    • 树莓派
    • 杂项
    • 未分类
    • 新视野
    • 故障处理
    • 博客存档
    • wordpress
    • vue2
    • ubuntu
    • svn
    • sqlite
    • shell脚本
    • redis
    • rabbitmq
    • python-django
    • python
    • proxmox
    • prometheus
    • PostgreSQL
    • php
    • openvpn
    • openssl
    • nginx
    • nfs
    • nextcloud
    • mysql
    • mongo
    • linux
    • kvm
    • kubernetes
    • java
    • IOT物联网
    • httpd
    • GlusterFs
    • git/gitlab
    • freeswitch
    • fastdfs
    • ELK
    • docker
    • centos7
  • 页面
    • #1742(无标题)
  • 友链
      请到[后台->主题设置->友情链接]中设置。
Help?

Please contact us on our email for need any support

Support
    首页   ›   博客存档   ›   正文
博客存档

deian安装xfce配置远程连接

2022-10-28 23:33:23
1470  0 0

deian安装xfce配置远程连接

安装
apt-get install xfce4
apt-get install xrdp tigervnc-standalone-server -y
重启在控制后台查看是否能进入图形桌面
......
查看3389端口是否运行
ss -natl
防火墙开启端口
ufw allow 3389
防火墙参考https://blog.csdn.net/SunshineScorpio/article/details/124153109
检查xrdp运行状态
systemctl status xrdp提示错误:
[ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied

解决:
adduser xrdp ssl-cert
win rdp 连接闪退
 echo "xfce4-session" >~/.xsession
win rdp 连接黑屏无内容
vim /etc/xrdp/startwm.sh
    unset DBUS_SESSION_BUS_ADDRESS
    unset XDG_RUNTIME_DIR
systemctl restart xrdp
win rdp 连接提示: 执行子进程 dbus-launcn 失败
apt-get install x11-xserver-utils dconf-editor dbus-x11 -y
rdp重新连接
日志相关

/var/log/xrdp.log
/var/log/xrdp-sesman.log
/var/log/messages

设置中文
dpkg-reconfigure locales
以下都选上:
    en_US ISO-8859-1
    zh_CN GB2312
    zh_CN.GBK GBK
    zh_CN.UTF-8 UTF-8

# 查看当前系统默认国家语言
cat /etc/default/locale

安装语言包(前两个中文简体,后面是中文繁体)
sudo apt-get install fonts-arphic-bsmi00lp fonts-arphic-gbsn00lp fonts-arphic-gkai00mp

reboot
修改xrdp默认3389连接端口
修改xrdp配置/etc/xrdp/xrdp.ini
    port=10001
防火墙放行
    ufw allow 3389
重启xrdp
    systemctl restart xrdp
查看端口
    ss -natl |grep 10001
连接    
    ......
其他
VNC® Viewer https://www.realvnc.com/en/connect/download/viewer/
评论 (0)

点击这里取消回复。

欢迎您 游客  

Copyright © 2025 网站备案号 : 蜀ICP备2022017747号
smarty_hankin 主题. Designed by hankin
主页
页面
  • #1742(无标题)
博主
tang.show
tang.show 管理员
linux、centos、docker 、k8s、mysql等技术相关的总结文档
210 文章 2 评论 194519 浏览
测试
测试