最近发现电脑ip地址发生变化,之前设置的synergy自启动无法成功连接,也忘了当初是咋设的,网上找的方法用gdm的好像不大行了,找了半天终于找到之前设置自启动的方法,这里记录一下。
- 进入
/etc/lightdm
目录
cd /etc/lightdm
- 创建一个文本文件内容如下,重命名为
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地址