Ubuntu Synergy Client端开机自启方法

最近发现电脑ip地址发生变化,之前设置的synergy自启动无法成功连接,也忘了当初是咋设的,网上找的方法用gdm的好像不大行了,找了半天终于找到之前设置自启动的方法,这里记录一下。

  1. 进入/etc/lightdm目录
cd /etc/lightdm
  1. 创建一个文本文件内容如下,重命名为lightdm.conf
[Seat:*]
autologin-guest=false
autologin-user=xxx   //xxx为你的用户名
autologin-user-timeout=0
display-setup-script=/usr/bin/synergyc 192.168.0.1   //你的server端的ip地址

猜你喜欢

转载自blog.csdn.net/Thinkin9/article/details/122864051