博文背景
ubuntu下一直没找到优秀的远程桌面方案,发现todesk是个不错的选择。
具体操作
1.查看DISPLAY变量
ps -ef | egrep gnome-shell | egrep $USER
cat /proc/xxx/environ | tr '\0' '\n' | egrep DISPLAY
2.配置gnome桌面的自动登录
cat /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 = ubuntu
3.在gnome桌面下启动todesk工具
DISPLAY=xxx todesk
该博文介绍了在Ubuntu系统中如何找到并配置远程桌面工具Todesk。首先,通过检查DISPLAY变量来确认桌面环境。接着,配置Gnome桌面实现自动登录,确保远程连接时的顺利。最后,设置DISPLAY环境变量以在Gnome环境下启动Todesk,提供了一种便捷的远程访问方式。
1万+

被折叠的 条评论
为什么被折叠?



