Package Details: sunloginclient 11.0.1.44968-2

Git Clone URL: https://aur.archlinux.org/sunloginclient.git (read-only, click to copy)
Package Base: sunloginclient
Description: Proprietary software that supports remote control of mobile devices, Windows, Mac, Linux and other systems.(GUI version)
Upstream URL: https://sunlogin.oray.com
Keywords: control remote sunlogin 向日葵
Licenses: custom
Provides: sunlogin
Submitter: yjun
Maintainer: yjun (zhullyb)
Last Packager: yjun
Votes: 9
Popularity: 0.040254
First Submitted: 2020-06-13 13:40 (UTC)
Last Updated: 2022-03-15 07:09 (UTC)

Pinned Comments

Zhaoye commented on 2021-01-21 03:30 (UTC) (edited on 2021-01-22 03:35 (UTC) by Zhaoye)

——注:本楼中,“Sunlogin”即指代“向日葵远程控制”。

为使Sunlogin控制在用户登录前及注销后出现的SDDM界面,执行以下命令:

sudo sh -c 'echo "/usr/bin/xhost +" >> /usr/share/sddm/scripts/Xsetup'

参考于:https://forums.nomachine.com/topic/launch-virtual-desktops-without-0

如果仍然不能控制SDDM,确认你的网络能够在用户登录前自动连接(常见于只有WiFi连接的情况)

yjun commented on 2020-06-13 13:52 (UTC) (edited on 2021-12-07 09:21 (UTC) by yjun)

需要启动对应的服务才能使用:systemctl start runsunloginclient,也可以参考安装末的提示

目前的问题:

  1. 如果遇到无法远程连接,控制Arch(Arch 为被控端),可以试试执行 xhost + 或者重启一下桌面

  2. 如果遇到开机自启动后客户端连接不上的情况,参考以下链接: https://wiki.archlinux.org/index.php/Systemd#Running_services_after_the_network_is_up , 确保对应网络管理器的服务已经设置开机启动.

  3. 向日葵客户端在启动的时候会屏蔽混成器compositor, 可能会导致plasma桌面没有动画, 这个问题可以通过设置 System Settings- Display and Monitor - Compositor, 勾掉 Allow application to block compositing 选项解决

Latest Comments

Universebenzene commented on 2022-04-20 03:26 (UTC)

反正11.0.1直观上不如之前的版本好用,似乎是验证复杂了,链接速度明显迟了。

给隔壁Gentoo打包的时候测试被连结直接报密码验证三次失败连上去是死的动不了,还被系统判定输错三次密码连登录/sudo都要被卡10分钟。当然人家向日葵本来也没义务给没打算支持的发行版操心就是

yjun commented on 2022-04-20 03:18 (UTC)

@bilabila

我在 @archlinuxcn Telegram 群里也看到过@Coldcen类似的反馈,同样也是 WM(看着也像是I3WM),用11.0.1无法远程控制其他远程主机,退回 11.0.0 工作正常。

目前在我的 Kde plasma上工作正常,暂时不知道I3WM工作不正常是啥原因。

可以试试去向日葵技术工单反馈,毕竟是私有软件,只能找官方解决:(.

bilabila commented on 2022-04-19 13:46 (UTC)

i3wm,startx启动X,使用 向日葵11.0.1无法被连接。 回退 向日葵11.0.0解决, 对应aur commit:feb7475 Fix lack of libcrypt.so.1 library

yjun commented on 2022-04-13 09:20 (UTC)

@lqs 软件bug可以去向日葵技术工单反馈

lqs commented on 2022-04-12 06:37 (UTC)

manjaro 运行没问题。但经常崩溃,一般时间点在鼠标在窗口边缘,且伴随 chrome 等一起崩溃,系统任务管理器没有崩溃。 可能是 AUR 软件或大内存软件或图形的问题?

yjun commented on 2022-03-15 06:57 (UTC) (edited on 2022-03-15 06:58 (UTC) by yjun)

@FlyInWind 看报错,貌似是xorg 的intel驱动导致的,根据archwiki的建议,你可以试试卸载 xf86-video-intelxf86-vdideo-*相关的包,这样Xorg会fallback到 modesetting,就不需要单独配置了

https://wiki.archlinux.org/title/Intel_graphics#Installation

Note: Some (Debian & Ubuntu, Fedora, KDE) recommend not installing the xf86-video-intel driver,
and instead falling back on the modesetting driver for Gen4 and newer GPUs (GMA 3000 from 2006 and newer). 
See [1], [2], Xorg#Installation, and modesetting(4). 
However, the modesetting driver can cause problems such as Chromium Issue 370022 and vsync jitter/video stutter in mpv.

FlyInWind commented on 2022-03-14 13:29 (UTC)

@yjun 工单找技术确实解决了。最后解决方法的链接 https://unix.stackexchange.com/questions/667911/intel-modesetting-driver-screen-tearing 配置 Section "Device" Identifier "modesetting" Driver "modesetting" Option "TearFree" "True" EndSection

yjun commented on 2022-03-10 06:34 (UTC)

@FlyInWind 可能是bug,反馈软件问题到向日葵技术工单

FlyInWind commented on 2022-03-03 13:02 (UTC) (edited on 2022-03-03 15:13 (UTC) by FlyInWind)

求助连上后画面会闪屏。被连接端是 archlinux,kde 桌面,连接端不管是 windows 还是 linux ,连上后画面就一直闪烁,用起来极为难受。以前如果被连接端打开向日葵界面的话,桌面特效会被关闭,这样就不会闪烁了,但是现在这样做不行了(我没有取消勾选 屏蔽混成器)

yjun commented on 2022-02-24 07:28 (UTC)

sunloginclient 11.0.1.44968 仍然依赖 libcrypt.so.1

$ ldd /opt/sunlogin/bin/sunloginclient | grep libcrypt
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f736f19b000)

Universebenzene commented on 2022-02-18 09:33 (UTC) (edited on 2022-02-18 09:33 (UTC) by Universebenzene)

@ilovesusu 请确保glibc升级到2.35版本。Arch用户直接 pacman -Syu 把系统滚到最新

其他另起炉灶的衍生发行版等他们官方更新了glibc再来装这个

ilovesusu commented on 2022-02-18 09:15 (UTC)

安装的时候提示

错误:无法提交处理 (有冲突的文件)
libxcrypt-compat: 文件系统中存在 /usr/lib/libcrypt.so.1 (由 glibc 所有)

Universebenzene commented on 2022-02-16 00:58 (UTC) (edited on 2022-02-17 07:08 (UTC) by Universebenzene)

试了下加了这个依赖以后向日葵客户端可以开起来,但是好像没法从登录账号里找到设备在线,远控别人也时灵时不灵的,看来还是等官方才好……

====

好像是这两天一早官方服务器都不稳……

Universebenzene commented on 2022-02-16 00:50 (UTC)

@yjun 官方肯定等Ubuntu和CentOS之流也更新glibc 2.35以后再说了。咱这就这么用罢

yjun commented on 2022-02-16 00:28 (UTC)

@Universebenzene AUR的 libxcrypt-compat 补上了 缺少的libcrypt.so.1, 暂时先将这个包作为依赖,修复问题,最终还是看向日葵官方怎么处理。

Universebenzene commented on 2022-02-15 02:55 (UTC)

此外我还试了强行做软链接把libcrypt.so.1链接到新的libcrypt.so上(这个库现在是libxcrypt的),结果报 sunloginclient: /usr/lib/libcrypt.so.1: versionGLIBC_2.2.5' not found (required by sunloginclient)` 。只能说惨剧了。提交工单反馈试试罢

yjun commented on 2022-02-15 02:09 (UTC) (edited on 2022-02-15 02:19 (UTC) by yjun)

glibc 2.35 及以后的版本不再包含 crypt 相关的动态链接库(libcrypt.so.1)

终端启动提示报错 sunloginclient: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory 就是以上原因造成的。

https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=NEWS;hb=HEAD

https://github.com/archlinux/svntogit-packages/blob/packages/glibc/repos/core-x86_64/PKGBUILD#L68

Universebenzene commented on 2022-02-15 01:27 (UTC)

悲剧,glibc今一升级就跑不起来了

yjun commented on 2022-01-13 05:06 (UTC)

@facet 可能是bug,反馈软件问题到向日葵技术工单

facet commented on 2022-01-12 16:55 (UTC) (edited on 2022-01-12 18:12 (UTC) by facet)

一打开就提示输入解锁密码(问题是我还没设置啊), 猜测是没有正确定位到配置文件, 因为偶尔能在状态栏右键进行设置(大部分时候右键菜单只有一项解锁向日葵), 但设置无法保存, 不过不知道怎么解决

5long commented on 2022-01-04 17:04 (UTC)

刚刚从这个 AUR 包的 PKGBUILD 里抄袭了一部分到 https://aur.archlinux.org/packages/sunloginremote/ , 但愿不会介意(

Universebenzene commented on 2021-11-20 16:11 (UTC)

@yjun 我的妈居然真的能改对……大佬牛X OTZ

yjun commented on 2021-11-20 13:41 (UTC) (edited on 2021-11-21 07:02 (UTC) by yjun)

@Universebenzene 确实像你说的那样, 从 [updpkg] sunloginclient 11.0.0.35346 开始就有这个问题,当时试了一下修改oray_rundaemon里的硬编码路径,没成功,当时发现改service处理一下也能跑就没管了:)。 今天试着修了一下pkgbuild: fixed evil hardcode path in oray_rundaemon binary file, 把 /usr/local 替换成 /opt(用'/'在前面补齐),发现可行, 就这样吧(跑路了

Universebenzene commented on 2021-11-18 12:57 (UTC) (edited on 2021-11-18 13:00 (UTC) by Universebenzene)

心血来潮查了下发现修改 oray_rundaemon 二进制文件的那句sed好像没生效(78-79行),修改前后这文件的散列值完全一样

也就是修改oray_rundaemon里的sunloginclient的路径失败了。应该就是这个原因导致官方脚本只启动oray_rundaemon -m server 就可以顺便把 sunloginclient -m server 给开起来,而咱们AUR这的脚本还得同时执行两个命令才行

vim -b 了一下,好像要改对的话相当棘手

可能大佬一早就发现这个问题了所以才自己重写了service。虽然我还是好奇有没有修改成功的可能

Universebenzene commented on 2021-10-17 11:12 (UTC) (edited on 2021-10-17 11:18 (UTC) by Universebenzene)

@ATENZC manjaro用户的话我确实不知道有什么算是通常渠道去学的。manjaro wiki我也没怎么看过。有问题先搜索引擎罢

ATENZC commented on 2021-10-17 03:03 (UTC)

@Universebenzene Universebenzene systemctl enable runsunloginclient 可以的 新手小白 这样打命令应该从哪里学到??

my2018 commented on 2021-10-10 00:02 (UTC)

非常感谢分享,很好用的软件,软件丰富,安装过程简单,社区大佬多,这就是我喜欢用arch的理由。

maayii commented on 2021-10-02 07:14 (UTC)

    一直都是x11,还是连接不上。 (ノへ~、)
>> loginctl show-session 12 -p Type                                             ✔ 
Type=x11

yjun commented on 2021-10-02 01:57 (UTC) (edited on 2021-10-02 01:58 (UTC) by yjun)

@maayii

2021-10-01 23:09:49.735 * Error *   xdu_get: XOpenDisplay :0 failed
2021-10-01 23:09:49.736 * Error *   xdu_get: XOpenDisplay :0 failed
2021-10-01 23:09:49.736 * Error *   get_all_monitor_info: Can't open display :0
2021-10-01 23:09:49.736 * Error *   get monitor info failed

sunloginclient 目前仅支持 X11, 试试从 wayland 且切换到 X11, 看看行不行

maayii commented on 2021-10-01 15:15 (UTC)

​ 服务端显示桌面时就会断开连接,尝试过xhost +,但是没有效果。以下分别是sunlogin_service.log和desktop.log。请问可能是什么出了问题? 桌面环境gnome-manjaro

sunlogin_service.log

2021-10-01 23:02:46.959 - Info  -   [PluginStream] MultiChannel connection 180.103.181.79:443 logged
2021-10-01 23:02:46.959 - Info  -   PostPluguinLogImpl, event: control_start, plugin: desktop
2021-10-01 23:02:46.959 - Info  -   [http call3] new call id:33, url:https://sl-log.oray.net/slclientlog
2021-10-01 23:02:46.959 - Info  -   [http call3] id:33 create new connection : https://sl-log.oray.net:443
2021-10-01 23:02:46.970 - Info  -   attempt to connect server sl-log.oray.net:443(47.114.98.5:443)
2021-10-01 23:02:47.099 - Info  -   [http call3] id:33, url:https://sl-log.oray.net/slclientlog, status code:200
2021-10-01 23:02:47.715 - Info  -   [oray][erroCode] errorcode=oray_errorcode(0), product=0, type=0, inner code=0 [Disconnect_impl:254]
2021-10-01 23:02:47.715 - Info  -   [oray][erroCode] errorcode=oray_errorcode(0), product=0, type=0, inner code=0 [Disconnect_impl:121]
2021-10-01 23:02:47.715 - Info  -   [oray][erroCode] errorcode=transf(0), product=0, type=0, inner code=0 [HandleDisconnect:1041]
2021-10-01 23:02:47.715 - Info  -   [PluginStream] MultiChannel disconnected server 180.103.181.79:443,error code:0
2021-10-01 23:02:47.715 - Info  -   [service] delete MultiChannelStream USw8jVvLl1nrK9hHMknU9aiyUYq1QztP
2021-10-01 23:02:47.715 - Info  -   [oray][erroCode] errorcode=errorcode(0), product=0, type=0, inner code=0 [OnDisconnect:309]
2021-10-01 23:02:47.716 - Info  -   PostPluguinLogImpl, event: control_end, plugin: desktop
2021-10-01 23:02:47.716 - Info  -   [http call3] new call id:34, url:https://sl-log.oray.net/slclientlog
2021-10-01 23:02:47.716 - Info  -   [oray][erroCode] errorcode=transf(0), product=0, type=0, inner code=0 [Handle:647]
2021-10-01 23:02:47.716 +Warning+   [MultiChannel] unbind forward stream(errorcode 0) @ 651
2021-10-01 23:02:47.716 - Info  -   [http call3] id:34 use old connection : https://sl-log.oray.net:443
2021-10-01 23:02:47.746 - Info  -   [http call3] id:34, url:https://sl-log.oray.net/slclientlog, status code:200
2021-10-01 23:03:02.746 - Info  -   [http call3] disconnect, error( 11 )
2021-10-01 23:03:59.576 +Warning+   [passive:keepalive:] 180.103.181.79:4118 disconnect by keepalive timeout(3359597>=3286675+60002)
2021-10-01 23:03:59.577 +Warning+   [oray][erroCode] errorcode=ORAY_ERROR_PHSTREAM_KEEPALIVE_TIMEOUT(57351), product=0, type=3, inner code=7 [Done:141]
2021-10-01 23:03:59.577 - Info  -   [oray][erroCode] errorcode=oray_errorcode(57351), product=0, type=3, inner code=7 [Disconnect_impl:73]
2021-10-01 23:03:59.577 - Info  -   [udp] Disconnect
2021-10-01 23:03:59.577 - Info  -   [udp] SendDisconnect
2021-10-01 23:03:59.577 - Info  -   [P2PAccepter] 180.103.181.79:4118 disconnected,error code:57351
2021-10-01 23:03:59.577 - Info  -   [LoginUtils] tcp handler size: 0, udp handler size: 0
desktop.log

2021-10-01 23:09:49.731 - Info  -   attempt to connect server 127.0.0.1:35845(127.0.0.1:35845)
2021-10-01 23:09:49.734 - Info  -   cmd:initialization date:{
   "blackscreen" : false,
   "enablerecord" : false,
   "exitlock" : false,
   "index" : 6,
   "mode" : 2,
   "path" : "",
   "save_record_type" : 0,
   "vip_session" : "65vMlvNTbuSSaS8WptapgkwzcxiITAHU"
}

2021-10-01 23:09:49.734 - Info  -   cmd:InitInstance date:
2021-10-01 23:09:49.735 * Error *   xdu_get: XOpenDisplay :0 failed
2021-10-01 23:09:49.736 * Error *   xdu_get: XOpenDisplay :0 failed
2021-10-01 23:09:49.736 * Error *   get_all_monitor_info: Can't open display :0
2021-10-01 23:09:49.736 * Error *   get monitor info failed

Universebenzene commented on 2021-09-11 07:40 (UTC) (edited on 2021-09-11 07:40 (UTC) by Universebenzene)

@ATENZC 如果要每次开机都用的话, systemctl enable runsunloginclient 设开机自启服务,这个命令没有用么

ATENZC commented on 2021-09-11 07:37 (UTC)

第一次装MANJARO ,现在被向日葵有点困扰到了,每次开机必须执行systemctl startrunsunloginclient.service 否则就不能启动 点图标没反应 更别提开机自启了 头痛

Universebenzene commented on 2021-08-21 17:37 (UTC) (edited on 2021-08-21 17:38 (UTC) by Universebenzene)

@zjsxwc 你这报错看上去好像是服务都没开启

安装后的输出提示看了没。置顶消息和评论区都说过很多次要开启runsunloginclient服务的

zjsxwc commented on 2021-08-21 08:54 (UTC)

不能运行: $ sunloginclient 2021-08-21 16:53:47.590 - Info - version:11.0.0.36662 @ 525 [rpcclient]rpcclient_default::connect is error

(sunloginclient:16059): Gtk-CRITICAL **: 16:53:47.800: gtk_main_quit: assertion 'main_loops != NULL' failed m_iEpfd == -1, at WaitCompleted. m_iEpfd == -1, at WaitCompleted.

yjun commented on 2021-03-27 13:48 (UTC)

@Dbv 增加features 请去 向日葵的客服工单 https://console.oray.com/center/workorder, 这里只能解决pkgbuild打包的相关问题:)

Dbv commented on 2021-03-06 17:28 (UTC)

高分屏支持!!谢谢!! 目前小新pro13+gnome3.38,100%缩放,用tweak调字体到175%,但是看起来小小的。 想知道是不是我需要设置一下,就像wine那种?

yjun commented on 2021-02-06 03:24 (UTC)

@szy132 感谢提醒,已加 icoutils 到 makedepends

szy132 commented on 2021-02-06 02:21 (UTC)

==> Starting package()... /home/szy/.cache/yay/sunloginclient/PKGBUILD: line 46: icotool: command not found ==> ERROR: A failure occurred in package(). Aborting... error making: sunloginclient

找不到icotool工具,需要安装icoutils, 应该把这个软件添加到依赖吧?

yjun commented on 2021-01-21 09:31 (UTC)

@Zhaoye 感谢,已置顶.

Zhaoye commented on 2021-01-21 03:30 (UTC) (edited on 2021-01-22 03:35 (UTC) by Zhaoye)

——注:本楼中,“Sunlogin”即指代“向日葵远程控制”。

为使Sunlogin控制在用户登录前及注销后出现的SDDM界面,执行以下命令:

sudo sh -c 'echo "/usr/bin/xhost +" >> /usr/share/sddm/scripts/Xsetup'

参考于:https://forums.nomachine.com/topic/launch-virtual-desktops-without-0

如果仍然不能控制SDDM,确认你的网络能够在用户登录前自动连接(常见于只有WiFi连接的情况)

Alkaido commented on 2020-12-25 10:51 (UTC)

打不开的话就看安装后的信息 运行systemctl start runsunloginclient就可以打开了

yjun commented on 2020-11-12 06:53 (UTC) (edited on 2020-11-12 06:53 (UTC) by yjun)

@huabeifeng 编译webkitgtk的问题去https://aur.archlinux.org/packages/webkitgtk/ 反馈,不想编译可以直接安装打包好的二进制包,比如 可以从archlinuxcn源安装

huabeifeng commented on 2020-11-12 06:01 (UTC)

在编译的时候出现了一个问题,导致退出了编译

生成时出错: webkitgtk

  CXX      DerivedSources/WebCore/libWebCore_la-CSSGrammar.lo
  CXX      DerivedSources/WebCore/libWebCore_la-CSSPropertyNames.lo
  CXX      DerivedSources/WebCore/libWebCore_la-CSSValueKeywords.lo
DerivedSources/WebCore/CSSGrammar.cpp:160:10: 致命错误:CSSGrammar.hpp:没有那个文件或目录
  160 | #include "CSSGrammar.hpp"
      |          ^~~~~~~~~~~~~~~~
编译中断。
make[1]: *** [GNUmakefile:66108:DerivedSources/WebCore/libWebCore_la-CSSGrammar.lo] 错误 1
make[1]: *** 正在等待未完成的任务....
make[1]: 离开目录“/tmp/makepkg/webkitgtk/src/build-gtk”
make: *** [GNUmakefile:30360:all] 错误 2
==> 错误: 在 build() 中发生一个错误。
    正在放弃...

这是我的编译环境

内核      : Linux 5.8.14-arch1-1 (x86_64)
版本      : #1 SMP PREEMPT Wed, 07 Oct 2020 23:59:46 +0000
C 库     : GNU C库 / (GNU libc) 2.32
发行版   : Arch Linux

-编译器-
C (GCC)  : 10.2.0

-工具-
make        : 4.3
GDB      : (GDB) 10.1
QMake      : 3.1
CMake      : 3.18.4

我不知道你们有没有出现这种问题,我也不了解为什么我会出现这种问题.

yjun commented on 2020-10-23 02:12 (UTC)

@Everett 请看安装结尾的提示,是runsunloginclient 这个服务,不是runsunlogin(捂脸)

Everett commented on 2020-10-23 01:18 (UTC) (edited on 2020-10-23 03:16 (UTC) by Everett)

请问一下,找不到runsunlogin这个服务怎么办? (这玩意儿怎么回复啊,问题已经解决,多谢@yjun)

ety001 commented on 2020-10-06 09:26 (UTC)

又测试一下,发现如果是把电脑绑定到帐号上,而不是使用识别码和控制码登录的话,那么在第一次连接的时候,要等大约1--2分钟,之后再连接就是秒连。

使用识别码和控制码登录,则每次都要等1--2分钟。

ety001 commented on 2020-10-06 09:09 (UTC)

刚才坐在这里睡着了,醒过来发现虽然手机弹层显示已断开,但是背景已经显示出来了电脑桌面。

然后我又测试了几次,发现在 p2p连接成功 这个信息这里要卡住大约2分钟,然后才会显示桌面。显示桌面后,操作什么的都很流畅。

很奇怪。

另外,我执行过 xhost +,显示 access control disabled, clients can connect from any host

yjun commented on 2020-10-06 09:00 (UTC)

@ety001 执行一下 xhost +, 或者重启一下桌面

ety001 commented on 2020-10-06 07:18 (UTC)

大家有遇到过已经连接成功,但是一直不显示桌面的情况吗?

看日志也看不出什么问题。

下面是我的 desktop.log

2020-10-06 15:05:04.881 - Info  -       version:10.1.1.38139                                                            
2020-10-06 15:05:04.882 - Info  -       Plugin desktop is starting...                                                   
2020-10-06 15:05:04.882 - Info  -       attempt to connect server 127.0.0.1:33603(127.0.0.1:33603)                      
2020-10-06 15:05:04.884 - Info  -       cmd:initialization date:{                                                       
   "blackscreen" : false,                                                                                               
   "enablerecord" : false,                                                                                              
   "exitlock" : false,                                                                                                  
   "index" : 9,                                                                                                         
   "mode" : 2,                                                                                                          
   "path" : "",                                                                                                         
   "save_record_type" : "0"                                                                                             
}

2020-10-06 15:05:04.884 - Info  -       cmd:InitInstance date:
2020-10-06 15:05:04.934 - Info  -       xdu_get: XOpenDisplay :0 succeed
2020-10-06 15:05:05.011 - Info  -       Start Desktop Msloop

2020-10-06 15:05:05.013 - Info  -       [desktop] OnEnumUser
2020-10-06 15:05:05.013 - Info  -       enum user list console(ety001)([*]1000, ety001);
2020-10-06 15:05:05.069 - Info  -       [desktop] switch host OK
2020-10-06 15:05:05.124 - Info  -       [desktop] OnCtrlMessage ctrl 1,type 1
2020-10-06 15:05:05.126 - Info  -       [desktop] OnCtrlMessage ctrl 1,type 3
2020-10-06 15:05:05.127 - Info  -       [desktop] OnCtrlMessage ctrl 1,type 6
2020-10-06 15:05:05.128 - Info  -       [desktop] OnCtrlMessage ctrl 1,type 7
2020-10-06 15:05:05.129 - Info  -       [desktop] receive Enum Screen Request
2020-10-06 15:05:05.129 - Info  -       enum_monitors
2020-10-06 15:05:05.162 - Info  -       monitor 0 name=DVI-D-0 x=2560, y=0 width=1080 height=1920
2020-10-06 15:05:05.162 - Info  -       monitor 1 name=DP-0 x=0, y=0 width=2560 height=1440
2020-10-06 15:05:05.162 - Info  -       [208993] ScreenCapture::Reset()
2020-10-06 15:05:05.162 - Info  -       [208993] ScreenCapture::Stop()
2020-10-06 15:05:05.162 - Info  -       [desktop] screen rect:(0, 0, 3640, 1920), bpp:32
2020-10-06 15:05:05.162 - Info  -       [desktop] XcbShmExtension:1
2020-10-06 15:05:05.162 - Info  -       [ScreenCapture] real size(1080, 1920)
2020-10-06 15:05:05.163 - Info  -       [DesktopMonitorServer] set comperssion1
2020-10-06 15:05:05.164 - Info  -       [209030] ScreenCapture::Start()
2020-10-06 15:05:05.164 - Info  -       [209030] ScreenCapture::Reset()
2020-10-06 15:05:05.164 - Info  -       [209030] ScreenCapture::Stop()
2020-10-06 15:05:05.167 - Info  -       [desktop] screen rect:(0, 0, 3640, 1920), bpp:32
2020-10-06 15:05:05.167 - Info  -       [desktop] XcbShmExtension:1
2020-10-06 15:05:05.167 - Info  -       [ScreenCapture] real size(1080, 1920)
2020-10-06 15:05:05.167 - Info  -       [ScreenCaptureSend] GetInitBuffer()
2020-10-06 15:05:05.167 - Info  -       [209030] ScreenCapture::Start()
2020-10-06 15:05:05.167 - Info  -       [209030] ScreenCapture::Reset()
2020-10-06 15:05:05.168 - Info  -       [209030] ScreenCapture::Stop()
2020-10-06 15:05:05.168 - Info  -       [desktop] screen rect:(0, 0, 3640, 1920), bpp:32
2020-10-06 15:05:05.168 - Info  -       [desktop] XcbShmExtension:1
2020-10-06 15:05:05.168 - Info  -       [ScreenCapture] real size(1080, 1920)
2020-10-06 15:05:05.279 - Info  -       [DesktopMonitorServer] [15]============= first frame ==============

yjun commented on 2020-09-28 05:20 (UTC) (edited on 2020-09-28 05:25 (UTC) by yjun)

@18TooShort 问题复现了,确实有这个问题; 给systemd-service 添加了network-online.target依赖 https://aur.archlinux.org/cgit/aur.git/commit/?h=sunloginclient&id=714eddec5ec7c1757bfcab94c259dedaacdbe1eb, 试过可以解决问题, yay -S sunlogin 更新即可.

systemctl enable runsunloginclient.service 使能开机启动

18TooShort commented on 2020-09-27 15:03 (UTC)

@yjun 是开机启动后,向日葵里面的开机自启没有生效,我在xfce里面添加了login后启动,每次启动都是连接不成功,然后等待重试(重试后也可以),右键退出后重新打开了就可以了,现在怀疑是不是网络启动的问题。我之前试过一登陆就开启向日葵然后退出再进是可以的

yjun commented on 2020-09-27 02:14 (UTC)

@18TooShort 我这边没有问题,重新启动指的是啥,重启gui客户端,还是重启 systemd-service服务,还是重启电脑

18TooShort commented on 2020-09-26 17:39 (UTC)

开机启动后第一次总是连接不上,得退出重新启动才行,是只有我才有这种情况吗

gxy commented on 2020-09-24 03:12 (UTC)

@jyun 原来如此,辛苦了。

yjun commented on 2020-09-21 10:46 (UTC)

@gxy 向日葵官方不支持Arch Linux,我也并非向日葵官方人员,没法解决,具体的需求请去向日葵的工单系统 https://console.oray.com/center/workorder AUR主要还是接受打包的问题。[╯•́•̀╰]让我静静

gxy commented on 2020-09-21 06:58 (UTC)

提几个功能需求: 1。文件互传的功能, 2。打通剪贴板,目前已经有文字对话框了,打通剪贴板应该并不难

gxy commented on 2020-09-21 06:53 (UTC)

前几天的反馈很快就解决了,看来开发团队很给力。

信仰已经充值。。。

yjun commented on 2020-09-14 06:52 (UTC)

@gxy 我更新了pkgrel, 你再试试安装一下

gxy commented on 2020-09-14 03:52 (UTC) (edited on 2020-09-14 03:53 (UTC) by gxy)

:: (1/1) 正在解析 SRCINFO: sunloginclient
==> 正在创建软件包:sunloginclient 10.1.1.38139-1 (2020年09月14日 星期一 11时52分09秒)
==> 获取源代码...
  -> 找到 SunloginClient-10.1.1.38139_amd64.deb
  -> 找到 LICENSE
  -> 找到 sunlogin-client-xhost.desktop
==> 正在验证 source 文件,使用sha256sums...
    SunloginClient-10.1.1.38139_amd64.deb ... 通过
    LICENSE ... 失败
    sunlogin-client-xhost.desktop ... 通过
==> 错误: 一个或多个文件没有通过有效性检查!
下载源文件时出错: sunloginclient

yjun commented on 2020-09-12 12:48 (UTC)

@Coda Thx, fixed:)

Coda commented on 2020-09-12 11:14 (UTC)

是否忽略的校验值位置错了?LICENSE的校验值应该在第二行,目前错误的值为:‘92e7d2f15a704ede109a930711d1a70ef8e090f281179a669d8e60c40a736d04’

yjun commented on 2020-09-12 05:38 (UTC)

@Coda 已设置忽略LICENSE的校验检查, 谢谢

Coda commented on 2020-09-12 04:57 (UTC) (edited on 2020-09-12 04:57 (UTC) by Coda)

sunloginclient 10.1.1.38139-1版本会出现LICENSE校验不通过,使用'sha256sum ~/.cache/yay/sunloginclient/LICENSE'得到正确的校验值,使用命令'yay sunloginclient --editmenu'手动更新,并编辑校验值第二行为上述得到的值,即可校验通过。

yjun commented on 2020-08-30 12:29 (UTC) (edited on 2020-08-30 12:30 (UTC) by yjun)

@RRRRRm 你试试最新的版本看看有没有问题.

RRRRRm commented on 2020-08-25 17:10 (UTC)

报错:

2020-08-26 00:55:21.677 - Info  -   version:10.0.2.24779
lua::call() attempt to call global `on_init' (not a function)

zsh: segmentation fault (core dumped)  sunloginclient

coredumpctl gdb 查看:

           PID: 72157 (sunloginclient)
           UID: 1000 (bear)
           GID: 1000 (bear)
        Signal: 11 (SEGV)
     Timestamp: Wed 2020-08-26 00:55:22 CST (4min 58s ago)
  Command Line: sunloginclient
    Executable: /opt/sunlogin/bin/sunloginclient
 Control Group: /user.slice/user-1000.slice/user@1000.service/vte-spawn-03a0b5f1-2ed9-4646-83>
          Unit: user@1000.service
     User Unit: vte-spawn-03a0b5f1-2ed9-4646-83da-374f462b255c.scope
         Slice: user-1000.slice
     Owner UID: 1000 (bear)
       Boot ID: c393669c84f34ceaa001d880ee979b7f
    Machine ID: 7d77e910f324497eb229a67c5c59f2e8
      Hostname: dionysus
       Storage: /var/lib/systemd/coredump/core.sunloginclient.1000.c393669c84f34ceaa001d880ee>
       Message: Process 72157 (sunloginclient) of user 1000 dumped core.

                Stack trace of thread 72157:
                #0  0x00007fde1f49c37e XCreateSimpleWindow (libX11.so.6 + 0x2037e)
                #1  0x00000000004f5eb6 n/a (sunloginclient + 0xf5eb6)
                #2  0x00000000004f62c9 n/a (sunloginclient + 0xf62c9)
                #3  0x000000000045daac n/a (sunloginclient + 0x5daac)
                #4  0x000000000062b19f n/a (sunloginclient + 0x22b19f)
                #5  0x0000000000496d23 n/a (sunloginclient + 0x96d23)
                #6  0x000000000062b19f n/a (sunloginclient + 0x22b19f)
                #7  0x000000000044c2d0 n/a (sunloginclient + 0x4c2d0)
                #8  0x000000000044bc94 n/a (sunloginclient + 0x4bc94)
                #9  0x0000000000445746 n/a (sunloginclient + 0x45746)
                #10 0x0000000000433047 n/a (sunloginclient + 0x33047)
                #11 0x00007fde1e475152 __libc_start_main (libc.so.6 + 0x28152)
                #12 0x0000000000444747 n/a (sunloginclient + 0x44747)

                Stack trace of thread 72158:
                #0  0x00007fde1e54d5de epoll_wait (libc.so.6 + 0x1005de)
                #1  0x000000000044b3e8 n/a (sunloginclient + 0x4b3e8)
                #2  0x000000000058917b n/a (sunloginclient + 0x18917b)
                #3  0x000000000084404b n/a (sunloginclient + 0x44404b)
                #4  0x000000000084444e n/a (sunloginclient + 0x44444e)
                #5  0x00007fde1e61f3e9 start_thread (libpthread.so.0 + 0x93e9)
                #6  0x00007fde1e54d293 __clone (libc.so.6 + 0x100293)

                Stack trace of thread 72164:
                #0  0x00007fde1e6256a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6>
                #1  0x00007fde1634390c n/a (iris_dri.so + 0x4ae90c)
                #2  0x00007fde16342308 n/a (iris_dri.so + 0x4ad308)
                #3  0x00007fde1e61f3e9 start_thread (libpthread.so.0 + 0x93e9)
                #4  0x00007fde1e54d293 __clone (libc.so.6 + 0x100293)

                Stack trace of thread 72160:
                #0  0x00007fde1e54d5de epoll_wait (libc.so.6 + 0x1005de)
                #1  0x000000000044b3e8 n/a (sunloginclient + 0x4b3e8)
                #2  0x000000000044b89b n/a (sunloginclient + 0x4b89b)
                #3  0x000000000057e736 n/a (sunloginclient + 0x17e736)
                #4  0x00007fde1e61f3e9 start_thread (libpthread.so.0 + 0x93e9)
                #5  0x00007fde1e54d293 __clone (libc.so.6 + 0x100293)

                Stack trace of thread 72163:
                #0  0x00007fde1e514c51 clock_nanosleep@@GLIBC_2.17 (libc.so.6 + 0xc7c51)
                #1  0x00007fde1e51a137 __nanosleep (libc.so.6 + 0xcd137)
                #2  0x00007fde1e545419 usleep (libc.so.6 + 0xf8419)
                #3  0x00000000004c6ce4 n/a (sunloginclient + 0xc6ce4)
                #4  0x000000000057e736 n/a (sunloginclient + 0x17e736)
                #5  0x00007fde1e61f3e9 start_thread (libpthread.so.0 + 0x93e9)
                #6  0x00007fde1e54d293 __clone (libc.so.6 + 0x100293)

                Stack trace of thread 72173:
                #0  0x00007fde1e54246f __poll (libc.so.6 + 0xf546f)
                #1  0x00007fde1e37b168 n/a (libglib-2.0.so.0 + 0xa0168)
                #2  0x00007fde1e32c221 g_main_context_iteration (libglib-2.0.so.0 + 0x51221)
                #3  0x00007fde1400de5e n/a (libdconfsettings.so + 0x4e5e)
                #4  0x00007fde1e355511 n/a (libglib-2.0.so.0 + 0x7a511)
                #5  0x00007fde1e61f3e9 start_thread (libpthread.so.0 + 0x93e9)
                #6  0x00007fde1e54d293 __clone (libc.so.6 + 0x100293)

                Stack trace of thread 72165:
                #0  0x00007fde1e6256a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6>
                #1  0x00007fde1634390c n/a (iris_dri.so + 0x4ae90c)
                #2  0x00007fde16342308 n/a (iris_dri.so + 0x4ad308)
                #3  0x00007fde1e61f3e9 start_thread (libpthread.so.0 + 0x93e9)
                #4  0x00007fde1e54d293 __clone (libc.so.6 + 0x100293)

                Stack trace of thread 72166:
                #0  0x00007fde1e6256a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6>
                #1  0x00007fde1634390c n/a (iris_dri.so + 0x4ae90c)
                #2  0x00007fde16342308 n/a (iris_dri.so + 0x4ad308)
                #3  0x00007fde1e61f3e9 start_thread (libpthread.so.0 + 0x93e9)
                #4  0x00007fde1e54d293 __clone (libc.so.6 + 0x100293)

                Stack trace of thread 72169:
                #0  0x00007fde1e628248 do_futex_wait.constprop.0 (libpthread.so.0 + 0x12248)
                #1  0x00007fde1e628373 __new_sem_wait_slow.constprop.0 (libpthread.so.0 + 0x1>
                #2  0x00000000006be769 n/a (sunloginclient + 0x2be769)
                #3  0x0000000000682ef9 n/a (sunloginclient + 0x282ef9)
                #4  0x000000000068287d n/a (sunloginclient + 0x28287d)
                #5  0x00000000006be3d9 n/a (sunloginclient + 0x2be3d9)
                #6  0x00007fde1e61f3e9 start_thread (libpthread.so.0 + 0x93e9)
                #7  0x00007fde1e54d293 __clone (libc.so.6 + 0x100293)

                Stack trace of thread 72170:
                #0  0x00007fde1e54246f __poll (libc.so.6 + 0xf54

           PID: 72157 (sunloginclient)
           UID: 1000 (bear)
           GID: 1000 (bear)
        Signal: 11 (SEGV)
     Timestamp: Wed 2020-08-26 00:55:22 CST (4min 58s ago)
  Command Line: sunloginclient
    Executable: /opt/sunlogin/bin/sunloginclient
 Control Group: /user.slice/user-1000.slice/user@1000.service/vte-spawn-03a0b5f1-2ed9-4646-83>
          Unit: user@1000.service
     User Unit: vte-spawn-03a0b5f1-2ed9-4646-83da-374f462b255c.scope
         Slice: user-1000.slice
     Owner UID: 1000 (bear)
       Boot ID: c393669c84f34ceaa001d880ee979b7f
    Machine ID: 7d77e910f324497eb229a67c5c59f2e8
      Hostname: dionysus
       Storage: /var/lib/systemd/coredump/core.sunloginclient.1000.c393669c84f34ceaa001d880ee>
       Message: Process 72157 (sunloginclient) of user 1000 dumped core.

                Stack trace of thread 72157:
                #0  0x00007fde1f49c37e XCreateSimpleWindow (libX11.so.6 + 0x2037e)
                #1  0x00000000004f5eb6 n/a (sunloginclient + 0xf5eb6)
                #2  0x00000000004f62c9 n/a (sunloginclient + 0xf62c9)
                #3  0x000000000045daac n/a (sunloginclient + 0x5daac)
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/sunlogin/bin/sunloginclient...
(No debugging symbols found in /opt/sunlogin/bin/sunloginclient)
[New LWP 72157]
[New LWP 72158]
[New LWP 72164]
[New LWP 72160]
[New LWP 72163]
[New LWP 72173]
[New LWP 72165]
[New LWP 72166]
[New LWP 72169]
[New LWP 72170]
[New LWP 72172]
[New LWP 72167]
[New LWP 72171]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
--Type <RET> for more, q to quit, c to continue without paging--
Core was generated by `sunloginclient'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fde1f49c37e in XCreateSimpleWindow () from /usr/lib/libX11.so.6
[Current thread is 1 (Thread 0x7fde1d67be40 (LWP 72157))]
(gdb) bt
#0  0x00007fde1f49c37e in XCreateSimpleWindow () at /usr/lib/libX11.so.6
#1  0x00000000004f5eb6 in  ()
#2  0x00000000004f62c9 in  ()
#3  0x000000000045daac in  ()
#4  0x000000000062b19f in  ()
#5  0x0000000000496d23 in  ()
#6  0x000000000062b19f in  ()
#7  0x000000000044c2d0 in  ()
#8  0x000000000044bc94 in  ()
#9  0x0000000000445746 in  ()
#10 0x0000000000433047 in  ()
#11 0x00007fde1e475152 in __libc_start_main () at /usr/lib/libc.so.6
#12 0x0000000000444747 in  ()
(gdb) bt
#0  0x00007fde1f49c37e in XCreateSimpleWindow () at /usr/lib/libX11.so.6
#1  0x00000000004f5eb6 in  ()
#2  0x00000000004f62c9 in  ()
#3  0x000000000045daac in  ()
#4  0x000000000062b19f in  ()
#5  0x0000000000496d23 in  ()
#6  0x000000000062b19f in  ()
#7  0x000000000044c2d0 in  ()
#8  0x000000000044bc94 in  ()
#9  0x0000000000445746 in  ()
#10 0x0000000000433047 in  ()
#11 0x00007fde1e475152 in __libc_start_main () at /usr/lib/libc.so.6
#12 0x0000000000444747 in  ()
(gdb) bt
#0  0x00007fde1f49c37e in XCreateSimpleWindow () at /usr/lib/libX11.so.6
#1  0x00000000004f5eb6 in  ()
#2  0x00000000004f62c9 in  ()
#3  0x000000000045daac in  ()
#4  0x000000000062b19f in  ()
#5  0x0000000000496d23 in  ()
#6  0x000000000062b19f in  ()
#7  0x000000000044c2d0 in  ()
#8  0x000000000044bc94 in  ()
#9  0x0000000000445746 in  ()
#10 0x0000000000433047 in  ()
#11 0x00007fde1e475152 in __libc_start_main () at /usr/lib/libc.so.6
#12 0x0000000000444747 in  ()

adamzyg commented on 2020-06-24 14:06 (UTC)

赞~

yjun commented on 2020-06-18 17:28 (UTC) (edited on 2020-06-18 17:30 (UTC) by yjun)

@Ethereal52 请看看安装结束的提示,你要启动相应的服务 systemctl start runsunlogin

Ethereal52 commented on 2020-06-18 17:09 (UTC)

安装后不能正常运行 $ sunloginclient 2020-06-19 01:03:07.898 - Info - version:10.0.2.24779 (sunloginclient:22718): Gtk-CRITICAL **: 01:03:08.186: gtk_main_quit: assertion 'main_loops != NULL' failed

yjun commented on 2020-06-13 13:52 (UTC) (edited on 2021-12-07 09:21 (UTC) by yjun)

需要启动对应的服务才能使用:systemctl start runsunloginclient,也可以参考安装末的提示

目前的问题:

  1. 如果遇到无法远程连接,控制Arch(Arch 为被控端),可以试试执行 xhost + 或者重启一下桌面

  2. 如果遇到开机自启动后客户端连接不上的情况,参考以下链接: https://wiki.archlinux.org/index.php/Systemd#Running_services_after_the_network_is_up , 确保对应网络管理器的服务已经设置开机启动.

  3. 向日葵客户端在启动的时候会屏蔽混成器compositor, 可能会导致plasma桌面没有动画, 这个问题可以通过设置 System Settings- Display and Monitor - Compositor, 勾掉 Allow application to block compositing 选项解决