ubuntu 24.04 向日葵桌面版安装

向日葵桌面版

ubuntu24.04向日葵无法安装,缺少依赖。向日葵缺少依赖,“有未能满足的依赖关系”。解决方案。

1. 下载本体

mkdir oraysun && cd oraysun
wget https://d.oray.com/sunlogin/linux/SunloginClient_15.2.0.63062_amd64.deb

2. 下载依赖

桌面版依赖,使用23.04中或者22.04(LTS)中的包替代

# 23.04
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openldap/libldap2_2.6.3+dfsg-1~exp1ubuntu2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gconf/gconf-service_3.2.6-8ubuntu1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gconf/gconf-service-backend_3.2.6-8ubuntu1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gconf/gconf2-common_3.2.6-8ubuntu1_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gconf/libgconf-2-4_3.2.6-8ubuntu1_amd64.deb

二选一即可

# 22.04
wget http://security.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-2.5-0_2.5.16+dfsg-0ubuntu0.22.04.2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gconf/gconf-service_3.2.6-7ubuntu2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gconf/gconf-service-backend_3.2.6-7ubuntu2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gconf/gconf2-common_3.2.6-7ubuntu2_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gconf/libgconf-2-4_3.2.6-7ubuntu2_amd64.deb

3. 改gdm配置

2024.06.12
注意:开始自动登录会引发bug(https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/2064177)
表现为:部分应用无法调整大小,窗口没有阴影,点击窗口可能导致最小化等
临时解决办法:开机之后,先注销,再登录一次

# 获取当前用户名
username=$(whoami)
# 使用sed进行替换
sudo sed -i -e 's/^#WaylandEnable=false/WaylandEnable=false/' \
            -e 's/^#\s*AutomaticLoginEnable\s*=\s*true/AutomaticLoginEnable = true/' \
            -e "s/^#\s*AutomaticLogin\s*=\s*user1/AutomaticLogin = $username/" /etc/gdm3/custom.conf

即在/etc/gdm3/custom.conf修改如下

[daemon]
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false
# Enabling automatic login
AutomaticLoginEnable = true
AutomaticLogin = yourusername

4. 安装

sudo dpkg -i *.deb
sudo systemctl restart gdm

5. 使用

打开向日葵,如有提示弹窗内容错位,可按ALT+F4退出弹窗。

0、本文仅适用于Ubuntu 24.04,其他版本或其他问题请联系向日葵客服。
1、已通过工单进行反馈,客服表示会尽快适配。
2、如果不想改gdm配置文件中的自动登录,可以先用ToDesk。
3、如果不想安装依赖的deb包,也可以解包修改control文件去除依赖,并把相应的库文件放入libs文件夹中。
4、运行代码前确保知晓代码含义,以及去除CSDN添加的尾巴。
5、本文仅做技术交流,因任何原因导致的任何问题,本文概不负责。

你可能感兴趣的:(Ubuntu,ubuntu,linux,远程工作,向日葵,远程桌面)