问题描述
我有一个 Red Had Enterprise Linux 5 和一个 CentOS 5 机器,我试图将它们配置为在启动时自动连接到协同服务器.我已按照 http://synergy2.sourceforge.net/autostart.html 的指南进行操作,并且配置它们的方式与我配置以前的 Ubuntu 7.10 盒子的方式相同,但这似乎只是让我走到了一半.目前,synergy 在登录屏幕上连接,但一旦我登录,它就不会恢复.
I have a Red Had Enterprise Linux 5 and a CentOS 5 box, both of which I am trying to configure to automatically connect to a synergy server on startup. I have followed the guide at http://synergy2.sourceforge.net/autostart.html and configured them the same way I configured previous Ubuntu 7.10 boxes, and this only seems to get me half way there. Currently, synergy connects at the login screen, but once I login, it doesn't come back up.
我在/etc/gdm/{Init,PostLogin,PreSession}/Default 中添加了以下几行:
I added the following lines to /etc/gdm/{Init,PostLogin,PreSession}/Default :
/usr/bin/killall synergyc
sleep 1
/usr/bin/synergyc fried-chicken # Init,PreSession only
所有文件都归 root:root 所有,拥有 755 权限,我只是不确定我在这里缺少什么.
All files are owned by root:root with 755 permissions, I'm just not sure what I'm missing here.
推荐答案
这篇关于在 RHEL/CentOS 上自动启动 synergy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!