How can I start X-Window directly after boot
    CryBaby 
    guitar at jazzcafe.no-ip.org
       
    Wed Feb  2 13:33:59 PST 2005
    
    
  
On Thursday 03 February 2005 03:28, Dejan Lesjak wrote:
> What 'Session type' did you choose in kdm? IIRC it has to be 'Custom' for
> kdm to execute .xsession. You can try putting a line like 'echo yes
> >/tmp/foo' before 'exec startkde' line and then see if /tmp/foo exists to
> know whether .xsession gets executed.
>
> Dejan
#########################################################
# I have fix that.
# My trace is as following:
#########################################################
[CryBaby]# ee /usr/local/share/config/kdm/Xsession
#! /bin/sh
# Xsession - run as user
echo '# Begin of Xsession:' $HOME >> /tmp/foo
	...
  custom)
    echo '# In custom section:' $HOME/.xsession >> /tmp/foo  #for testing
    exec $HOME/.xsession
	...
#########################################################
# close session, then try 'Custom' --> get a blank screen and return to KDM
# try default --> go back KDE
#########################################################
[CryBaby]# less /tmp/foo
# Begin of Xsession: /home/machette/.xsession
# In custom section: /home/machette/.xsession
#########################################################
# parameter is ok, 
#########################################################
[CryBaby]# exec .xsession
.xsession: Permission denied.
[CryBaby]# chmod u+x .xsession
#########################################################
# close session, then try 'Custom' -->
#              My AMOR said: http://panread.toyspa.net/tmp/loveDejan.png
#########################################################
-- 
CryBaby guitar at jazzcafe.no-ip.org
    
    
More information about the freebsd-x11
mailing list