How can I start X-Window directly after boot

Dejan Lesjak dejan.lesjak at ijs.si
Wed Feb 2 11:28:45 PST 2005


On Wednesday 02 of February 2005 16:58, CryBaby wrote:
> Thank you, Dejan.
>
> I am work fine now, but a daemon problem.
>
> Before I know kdm from here, I always startx in console.
> So, ".xinitrc" is work fine for me.
>
> 	[CryBaby]~> less .xinitrc
> 	#!/bin/sh
> 	#
> 		...
> 	export LC_ALL=zh_TW.Big5
> 	export LC_CTYPE=zh_TW.Big5
> 	export LANG=zh_TW.Big5
> 		...
> 	gcin&
> 	kmix&
> 	amor&
> 		...
> 	exec startkde
>
>
> After I know kdm from here, I start KDE by KDM.
> So, I copy the setup to ".xsession"
> My Locale and other setup is fine, but the daemon program - "gcin,
> kmix,amor"
>
> 	[CryBaby]~> ps -ax | grep amor
> 	[CryBaby]~> ps -ax | grep kmix
> 	[CryBaby]~> ps -ax | grep gcin
> 	[CryBaby]~>
>
> What I have to do ???

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


More information about the freebsd-x11 mailing list