You are not logged in.
Hi
I want execute irexec -d with rc.local but it doen't work
#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
irexec -d
[root@MediaBox ~]# cat /etc/inittab
#
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
id:3:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
c1:2345:respawn:/sbin/agetty 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty 38400 vc/6 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
x:5:respawn:/usr/bin/xdm -nodaemon
# End of file
[root@MediaBox ~]#
Help me pls
Offline
Hi root_tux_linux,
I'm not sure, but try to specify the full path of the command
Offline
I'm not sure, but, doesn't irexec need X to work? so, executing it by rc.local, won't work. Have you tried starting it from a xterm (konsole,...)?
Offline
if it needs X then u could use the gnome autostart system ... xfce uses the sae as well ... i'm not sure but kde might use the same base as well .... add via their respective menu options..
gnome: System > Prefernces > sessions
xfce: *Session* i can't remember, sorry ..
the same is for kde, most liekly under session management, of some sort...
gnome's directory is .. /noriko/.config/autostart | i think xfce uses that as well, i'm not sure about kde,,,
they are just desktop files: gaim.desktop
[Desktop Entry]
Name=No name
Encoding=UTF-8
Version=1.0
Exec=gaim
X-GNOME-Autostart-enabled=true
The.Revolution.Is.Coming - - To fight, To hunger, To Resist!
Offline
irexec dont need X...
[root@MediaBox ~]# /etc/rc.d/gdm stop
:: Stopping GDM [DONE]
[root@MediaBox ~]#
[root@MediaBox ~]# irexec -d && ps -ae | grep irexec
3374 ? 00:00:00 irexec
[root@MediaBox ~]#
HELP
Offline
I don't use lirc anymore, but i'm quite sure that what i made, was putting irexec in the autostart folder (KDE)
Offline
I installed now KDE an put a link tu irexec and now it works ^^
Offline