You are not logged in.

#1 2006-03-09 05:12:42

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

entrance not starting

hi i installed e17 from cvs. entrance comes with a default script in init.d/ i moved it to rc.d/ and added it to daemons in rc.conf. but it doesn't start. at boot up i don't get any errors.

here is the script:

#!/bin/sh 
#
# Originally based on: gdm /etc/init.d script on debian
#
# THIS DOESN'T WORK YET atmos - May 6, 2002
# THIS DOES WORK! atmos - May 27, 2002
# THIS WORKS WITH LSB! azundris - May 23, 2004

# /etc/init.d/entrance
#
### BEGIN INIT INFO
# Provides:          entrance
# Required-Start:    $remote_fs
# X-UnitedLinux-Should-Start: ypbind hwscan $syslog gpm
# Required-Stop:
# Default-Start:     5
# Default-Stop:
# Description:       X Display Manager
### END INIT INFO

set -e

# HEED_DEFAULT_DISPLAY_MANAGER to "false."
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/e17/sbin:/opt/e17/bin
DAEMON=/opt/e17/sbin/entranced
PIDFILE=/var/run/entranced.pid

test -x $DAEMON || exit 0

case "$1" in
  start)
        echo -n "Becoming entranced: entrance"
        $DAEMON
        echo "."
  ;;
  stop)
        echo -n "Stopping Entrance: entrance"
        kill -9 `cat $PIDFILE`
        echo "."
  ;;
  restart)
        $0 stop
        $0 start
  ;;
  *)
        echo "Usage: $0 {start|stop|restart}"
        exit 1
  ;;
esac

exit 0

what can i change to make it start up?

Offline

#2 2006-03-09 13:51:53

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: entrance not starting

Are you sure that it does not start? type

/etc/rc.d/entrance start
ps -edf | tail

is there entranced at the end?
because the script is not Arch standard script so arch will not tell you if it comes up or not, take a llook at one of the scripts already there in rc.d and make it look like one of them if it ain't launching, also try launching the prog directly first

/opt/e17/sbin/entranced 

any errors? did it run ? ..

Offline

#3 2006-03-09 18:26:37

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

Re: entrance not starting

yeah, it doesn't start. I can start entrance manually by typing

/opt/e17/sbin/entranced

but on boot it doesn't start eventhough i don't get any errors during boot.

Offline

#4 2006-04-27 15:26:05

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: entrance not starting

it appears to me that entrance-cvs from fouiny_repo add /etc/rc.d/entranced in the install process
Hope it works for you ! Otherwise /opt/e17/sbin/entranced works from inittab


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

Board footer

Powered by FluxBB