linuxdeepin / dde-session-ui

dde-session-ui module
GNU General Public License v3.0
33 stars 57 forks source link

fix: 切换用户异常 #291

Closed waterlovemelon closed 2 years ago

waterlovemelon commented 2 years ago

原因:没有正常获取到session文件中的DISPLAY字段,导致切换用户失败。根因应该是systemd创建session文件的时候缺少了字段。 解决方案:从user文件中获取DISPLAY数据,如果在session中没有找到DISPLAY的,则使用user的DISPLAY。 可以使用DisplayManager服务提供的切换用户接口,有待测试。

Log: 解决切换用户异常的情况 Bug: https://pms.uniontech.com/bug-view-155487.html Influence: Change-Id: I8d61e81dcb7cac7ef16c4a0a0d289494bdbf98fd

github-actions[bot] commented 2 years ago

License: REUSE Compliance Check failed

# MISSING COPYRIGHT AND LICENSING INFORMATION The following files have no copyright and licensing information: * dde-osd/files/dde-osd.desktop * output/results.txt # SUMMARY * Bad licenses: * Deprecated licenses: * Licenses without file extension: * Missing licenses: * Unused licenses: * Used licenses: CC-BY-4.0, CC0-1.0, GPL-3.0-or-later * Read errors: 0 * Files with copyright information: 454 / 456 * Files with license information: 454 / 456 Unfortunately, your project is not compliant with version 3.0 of the REUSE Specification :-(
github-actions[bot] commented 2 years ago

All right about README Check

github-actions[bot] commented 2 years ago

All right about README Check

github-actions[bot] commented 2 years ago

License: REUSE Compliance Check failed

# MISSING COPYRIGHT AND LICENSING INFORMATION The following files have no copyright and licensing information: * dde-osd/files/dde-osd.desktop * output/results.txt # SUMMARY * Bad licenses: * Deprecated licenses: * Licenses without file extension: * Missing licenses: * Unused licenses: * Used licenses: CC-BY-4.0, CC0-1.0, GPL-3.0-or-later * Read errors: 0 * Files with copyright information: 454 / 456 * Files with license information: 454 / 456 Unfortunately, your project is not compliant with version 3.0 of the REUSE Specification :-(
github-actions[bot] commented 2 years ago

All right about README Check