Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2009 17:33:05 +0200
From:      Polytropon <freebsd@edvax.de>
To:        thanos trompoukis <atr0x23@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: problem with startx..!
Message-ID:  <20090729173305.a9e0f458.freebsd@edvax.de>
In-Reply-To: <d4a469990907290824j1c33df86u5a74d4a220135d0@mail.gmail.com>
References:  <d4a469990907280654p3243160bu59b0a67d40c620ca@mail.gmail.com> <4463dcg86r.fsf@be-well.ilk.org> <d4a469990907281040k98bdd00l8cf5919facffc515@mail.gmail.com> <441vo0o9ap.fsf@be-well.ilk.org> <d4a469990907281426x20a5934atef715b8c54bd7be4@mail.gmail.com> <44ocr3a8zq.fsf@be-well.ilk.org> <d4a469990907290824j1c33df86u5a74d4a220135d0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Jul 2009 18:24:14 +0300, thanos trompoukis <atr0x23@gmail.com> wrote:
> It seems to be like an other desktop environment very simple.
> Now when I try startx I can see the same background I could see before
> but now there are 3 windows (x-term) like the console window on KDE 3.5

This is twm. It's a window manager displaying three xterms. It's
not a desktop environment.



> Why KDE not starts?

Because... maybe you're missing the correct startup files. X display
managers (xdm, kdm, gdm) and the startx command behave a bit differently.
The easiest way to be able to use *any* method of starting is to have
the following files in your home directory:

1. ~/.xsession

	#!/bin/csh
	source ~/.cshrc
	exec ~/.xinitrc



1. ~/.xinitrc

	#!/bin/sh
	[ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc
	# ... your further startup commands here, e. g.
	xsetroot -solid rgb:3b/4c/7a
	xset b 100 1000 15 &
	xset r rate 250 30 &
	xset s off &
	xset -dpms &
	# this starts your desired window manager / DE
	exec startkde

Refer to the KDE documentation about what's the correct name to start
KDE. I think it's "startkde", but I may be wrong because I am not using
KDE, so it's honestly just a guess.

Make sure that both files are +x attributes.

	% chmod +x .xinitrc .xsession




-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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