Thread
:
[Debian] Continuing development of Debian on NITs
View Single Post
b-man
2008-08-01 , 21:32
Posts: 549 | Thanked: 502 times | Joined on Feb 2008 @ Bowling Green Ohio (united states)
#
35
Thanks, I've decided to edit gdm instead of uninstalling it but i am not quite shure on how to edit the file, can you help?? Here's my x-sessions file and my gdm file:
X-SESSIONS:
#!/bin/sh
. /etc/default/x-server.defs
tablet_setup()
{
USERNAME=`cat /etc/tablet_user`
/sbin/fb_update_mode manual
su - -c "startx -- $XSERVERARGS" $USERNAME &
}
case "$1" in
start|restart|force-reload)
tablet_setup
;;
stop)
;;
*)
echo "Usage: /etc/init.d/start-x-session {start|stop|restart|force-reload}" >&2
exit 3
;;
esac
GMD:
#! /bin/sh
### BEGIN INIT INFO
# Provides: gdm
# Should-Start: console-screen acpid dbus hal network-manager
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: GNOME Display Manager
# Description: Debian init script for the GNOME Display Manager
### END INIT INFO
#
# Author: Ryan Murray <rmurray@debian.org>
#
set -e
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/gdm
test -x $DAEMON || exit 0
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
fi
. /lib/lsb/init-functions
# To start gdm even if it is not the default display manager, change
# HEED_DEFAULT_DISPLAY_MANAGER to "false."
HEED_DEFAULT_DISPLAY_MANAGER=true
DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
case "$1" in
start)
CONFIGURED_DAEMON=$(basename "$(cat $DEFAULT_DISPLAY_MANAGER_FILE 2> /dev/null)")
if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ] && \
[ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] && \
[ "$CONFIGURED_DAEMON" != gdm ] ; then
log_action_msg "Not starting GNOME Display Manager; it is not the default display manager"
else
log_daemon_msg "Starting GNOME Display Manager" "gdm"
start_daemon $DAEMON
log_end_msg $?
fi
;;
stop)
log_daemon_msg "Stopping GNOME Display Manager" "gdm"
set +e
start-stop-daemon --stop --quiet --pidfile /var/run/gdm.pid \
--name gdm --retry 5
set -e
log_end_msg $?
;;
reload)
log_daemon_msg "Scheduling reload of GNOME Display Manager configuration" "gdm"
set +e
start-stop-daemon --stop --signal USR1 --quiet --pidfile \
/var/run/gdm.pid --name gdm
set -e
log_end_msg $?
;;
restart|force-reload)
$0 stop
$0 start
;;
*)
echo "Usage: /etc/init.d/gdm {start|stop|restart|reload|force-reload}"
exit 1
;;
esac
exit 0
also, is there a way to make the matchbox-keyboard launch at startup so i can log in?? I have a N800 so that may be the only way to actually gain acsess to gnome
__________________
I'm an advanced user and a bit of a modder.
----------------------------------------------
I am involved with Mer, Deblet, and NITdroid.
My ports/creations/hacks:
GNOME
(for Deblet), Cdeb2»,
Ubuntu
, playable flash games in the "
Get Started
" app, DBS, ect...
enhanced fedora port has been canceled in favor of NITDebian (TBA)
Quote & Reply
|
b-man
View Public Profile
Send a private message to b-man
Find all posts by b-man