在RHEL / CentOS上自动启动协同 [英] Starting synergy automatically on RHEL/CentOS
问题描述
我有一个Red Had Enterprise Linux 5和一个CentOS 5框,我想要配置它们在启动时自动连接到协同服务器。我已按照 http://synergy2.sourceforge.net/autostart.html 中的指南操作,配置它们与我配置以前的Ubuntu 7.10框相同的方式,这只是似乎让我一半的路。目前,协同连接在登录屏幕,但一旦我登录,它不会回来。
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} /默认:
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上自动启动协同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!