Javier Vasquez <j.e.vasque...@gmail.com>: > On 9/5/10, brownh <bro...@historicalmaterialism.info> wrote: > > I'm used to using an .xsession file in ~/ > > Me too.
I use .xinitrc, and start X from CLI (ssh-agent startx). No [XKG]dm. > >. But I find that when I have sqeeze installed with fluxbox, the > > server crashes if there is an xsession file present, even if it is > > empty. Weird. > Perhaps the contents of your ~/.xsession. I have it on unstable with > no problem at all: > > +++ > % cat .xsession > #!/bin/sh > > killall xautolock > xautolock & > killall autocutsel > autocutsel & > killall conky > conky & > export XAUTHORITY="$HOME/.Xauthority" > export OOO_FORCE_DESKTOP="gnome" > > exec startfluxbox > +++ Not using a graphical login is different from using one, in my experience. No XDGdm means ~/.xinitrc, so here's my ~/.xinitrc: ----------------------------------------- #!/bin/sh # # -------------------------------------------------------- # startx only. # # 7Nov2005 - sbk. not used by [gkwx]dm? This finally # works brilliantly. # -------------------------------------------------------- # Desired window/session manager. # unset XSTARTUP XSTARTUP=/usr/bin/startfluxbox if [ -f /etc/X11/Xresources/xbase-clients ]; then # no longer exists in etch xrdb -merge /etc/X11/Xresources/xbase-clients fi if [ -f /etc/X11/Xresources/xfree86-common ]; then # trivial; "*customization: -color" xrdb -merge /etc/X11/Xresources/x11-common fi userresources=$HOME/.Xresources if [ -e $userresources ]; then xrdb -merge $userresources fi usermodmap=$HOME/.Xmodmap if [ -e $usermodmap ]; then xmodmap $usermodmap else # fix the mouse at the least (for LEFT HANDERS). # /usr/bin/X11/xmodmap -e "pointer = 3 2 1" # 4 5 6 7 8 9 fi # Turn off screen blanking. # xset s off # What's the X Window startup file's (me) name? # export XSTART=${0} env > ~/.xenv # This makes X work for root "su" logins. # if [ -z "$XAUTHORITY" ]; then XAUTHORITY=$HOME/.Xauthority export XAUTHORITY fi # This starts x-window/session-manager program (untested). # if [ -z "$XSTARTUP" ]; then if [ -x /usr/bin/x-session-manager ]; then XSTARTUP=x-session-manager elif [ -x /usr/bin/x-window-manager ]; then XSTARTUP=x-window-manager elif [ -x /usr/bin/x-terminal-emulator ]; then XSTARTUP=x-terminal-emulator else /usr/bin/fluxbox fi fi # Programs I want running when X runs. # xclients=$HOME/.Xclients if [ -e "$xclients" ]; then source $xclients fi # if [ "$XSTARTUP" = "/usr/bin/fluxbox" ]; then if [ "$XSTARTUP" = "/usr/bin/startfluxbox" ]; then # /usr/bin/feh --bg-center /home/keeling/grf/flowers1600.jpg /usr/bin/feh --bg-center /home/keeling/grf/debian049_1600.jpg # /usr/bin/feh --bg-center /home/keeling/grf/bluedisc.bmp fi # does this work? Yes, perfectly. # # don't ssh-agent "$XSTARTUP"! alias sta == ssh-agent startx # "$XSTARTUP" # ----------------------------------------------------------------- # Obsoleted by ssh-agent. Use "su" (no "-") to use keeling's # XAUTHORITY environment variable to enable root owned X based # programs (xconsole). # # xhost +localhost # Don't! use xauth instead: # # xauth list # if you already have keys, skip next. # xauth generate . # perform if you have no auth file. # xauth nextract username.xa $DISPLAY # should be the only step needed. # # # login to other account/machine. # # export DISPLAY=$HOSTIP:0.0 # xauth nmerge ~username/username.xa # now you can use keeling's auth. # ----------------------------------------------------------------- ----------------------------------------- -- Any technology distinguishable from magic is insufficiently advanced. (*) http://blinkynet.net/comp/uip5.html Linux Counter #80292 - - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/i61gig$gf...@speranza.aioe.org