LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2011, 02:39 AM   #1
dancer_69
LQ Newbie
 
Registered: May 2011
Posts: 16

Rep: Reputation: Disabled
Irexec doesn't start at boot, but starts after relogin to WM


Hello,
I'm trying to make lircd and irexec to start automatic at boot, but I've managed to succeed only with lircd.
After a lot of search and different actions, lircd starts at boot time after I put on /etc/rc.local the above:
Code:
sleep 15
service lirc restart
I tried to put a similar line for irexc
Code:
sleep 10
irexec -d /home/zaxus/.lircrc
but this doesn't work(I tried without sleep and with sleep 10, but didn't change anything)
From the output of "ps -ef|grep -v grep|grep -i irexec" I can tell that doesn't load.
If I logout and login again, both lircd and irexec starting.
This happens after I added the following script to startup applications:
Code:
#!/bin/bash
# Launcher for IREXEC because it's STUPID and won't launch properly in startup scripts!
killall lircd
sleep 3
/usr/bin/lircd
sleep 3
irexec -d ~/.lircrc
exit 0
So the only problem which remain is to find a way to make irexec to start and on boot.
Any ideas or help for a workaround?
 
Old 05-30-2011, 08:39 AM   #2
dancer_69
LQ Newbie
 
Registered: May 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
I've managed to make both lircd and irexec working after a reboot with these on rc.local:

Code:
service lirc restart
sleep 10
/usr/bin/irexec -d ~/.lircrc
sleep 15
exit 0
I had the sleep functions above the commands. Seems that needed to be after them.

I have another related with lirc problem, with irxevent. I can run it without to get eny error, but doesn't respond to the remote's buttons.
I want to use it mostly for simulate the arrows and enter keys to navigate on desktop. So I can use another similar program if there is any.
Any ideas on that?
 
Old 09-10-2011, 02:52 AM   #3
kambo_rambo
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
wow thanks. i been looking everywhere trying to find out why irexec daemon wouldn't start in startup scripts, but it turns out its not just me
 
  


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
[SOLVED] Grub Loader -> Grub Page - > Linux Starts Up -> Erorrrrrrrrrr... Doesn't Start Up! Hi_This_is_Dev Linux - Server 5 09-07-2009 01:39 PM
Installed ubuntu dual boot, but grub doesn't start instead XP starts normally abhishekpapanna Ubuntu 6 12-07-2008 02:40 PM
NVIDIA Driver doesn't start automaticly with kdm but starts with startx zahikel Linux - Software 7 08-01-2008 12:49 PM
Gdesklet Doesn't start up on boot Neo-Leper Linux - Desktop 2 07-04-2007 08:14 AM
Lirc problem, irexec won't start Rajahuroman Linux - Hardware 1 08-14-2004 07:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:33 PM.

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