LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 06-22-2006, 09:38 AM   #1
tuffboynyc
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
cannot run command at boot


I'm running RHEL 4 (3.4.3-9.EL4). I've installed Synergy so that I can control my X Session with the keyboard and mouse attached to a neighboring machine. Problem is I can't get synergy to startup on boot. I've added the startup command to the rc.local file:

[root@pc-ny-43 etc]# cat rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
/usr/bin/synergyc -f --daemon pc-ny-52


If I invoke rc.local after the machine boots, it runs the synergyc command successfully. However on boot alone, it does not.

Obviously I need the synergyc command to run at boot so that I can login to my X Session using my neighboring keyboard.

Thanks in advance...
 
Old 06-22-2006, 11:11 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Maybe you need to do some reading of the Synergy documentation???

http://synergy2.sourceforge.net/

Please review the Autostarting link under Documentation.
 
Old 06-22-2006, 12:34 PM   #3
tuffboynyc
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Original Poster
Rep: Reputation: 0
I tried that, the autostart script that they have there seems to be specific to another flavor of linux. It references an rc.common file which doesn't exist and the rest of the script generates syntax errors.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Run Command After/During Boot revof11 Linux - General 4 06-02-2006 02:26 PM
I would like to run a command on boot. Slith(++1) Linux - General 4 04-13-2006 07:08 AM
run command on boot FNC Linux - General 1 11-13-2005 05:29 AM
Run a command at boot Ace2005 Debian 3 07-24-2005 09:09 AM
Run command on boot id10t Red Hat 1 01-28-2004 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration