Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2005 05:33:56 +0800
From:      CryBaby <guitar@jazzcafe.no-ip.org>
To:        Dejan Lesjak <dejan.lesjak@ijs.si>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: How can I start X-Window directly after boot
Message-ID:  <200502030533.57075.guitar@jazzcafe.no-ip.org>
In-Reply-To: <200502022028.39452.dejan.lesjak@ijs.si>
References:  <200502022358.00177.guitar@jazzcafe.no-ip.org> <200502022028.39452.dejan.lesjak@ijs.si>

next in thread | previous in thread | raw e-mail | index | archive | help
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@jazzcafe.no-ip.org








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502030533.57075.guitar>