#
# This is just a sample implementation of a slightly less primitive
# interface than xinit. It looks for user .xinitrc and .xserverrc
# files, then system xinitrc and xserverrc files, else lets xinit choose
# its default. The system xinitrc should probably do things like check
# for .Xresources files and merge them in, startup up a window manager,
# and pop a clock and serveral xterms.
#
# Site administrators are STRONGLY urged to write nicer versions.
#
litkt 于 2011-02-11 08:25:55发表:
把startx和/etc/init下面的文件里的#!/bin/sh都改成#!/bin/bash也不行。应该还有一些脚本没有改到。
现在唯一的办法是把/bin/sh->/bin/dash改为/bin/sh->/bin/bash.
我的系统是Debian testing.
litkt 于 2011-02-10 21:57:10发表:
我问的是startx这个脚本哪里不标准,以至于过不了dash的法眼。
Debian既然把dash作为标准脚本shell,为什么不把startx这么重要的脚本与dash的冲突给解决了?
wangyu 于 2011-02-10 18:56:22发表:
我的startx是一个脚本[code]#!/bin/bash
#
# This is just a sample implementation of a slightly less primitive
# interface than xinit. It looks for user .xinitrc and .xserverrc
# files, then system xinitrc and xserverrc files, else lets xinit choose
# its default. The system xinitrc should probably do things like check
# for .Xresources files and merge them in, startup up a window manager,
# and pop a clock and serveral xterms.
#
# Site administrators are STRONGLY urged to write nicer versions.
#
unset DBUS_SESSION_BUS_ADDRESS
unset SESSION_MANAGER[/code]后来略去
wangyu 于 2011-02-10 18:52:15发表:
老大,你都不知道,还有谁知道。。。。。。