choose the default display manager

2005-05-02 Thread hjvm
Hello!
When my box (Sarge) starts up I see the following messages on 
console 1:

Not starting GNOME Display Manager (gdm); it is not the default 
display manager.
Starting K Display Manager: kdm.
Starting WINGs display manager: wdm.
Not starting X display manager (xdm); it is not the default display 
manager.

What can I learn from that? It seems to start two display managers. 
Strange enough, I don't get any error messages. But in which conf-file 
can I actually set the display manager that is used?! I tried dpkg-
reconfigure {gdm|kdm|wdm|xdm} which lets me choose the default 
display manager. That doesn't change anything, yet. 
And how can I tell which display manager has been used? I'm just 
curious, because I can't recognize anything familiar. And I'm pretty 
sure that I know what gdm and kdm should look like.

Thanks for your help.
Hans-Joerg v. Mettenheim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: choose the default display manager

2005-05-03 Thread hjvm



OK, thank you, your suggestions put some light on the problem. But I still have 
questions...

On 3 May 2005 at 11:48, Jon Dowland wrote:


> [EMAIL PROTECTED] wrote:
> 
> >Not starting GNOME Display Manager (gdm); it is not the default 
> >display manager.
> >Starting K Display Manager: kdm.
> >Starting WINGs display manager: wdm.
> >Not starting X display manager (xdm); it is not the default display 
> >manager.
> >  
> Hmm weird. each of the display managers are from the standard debian 
> packages?
Yes, I think so. I use the normal packages from testing.


> Which DM actually comes up?
It's kdm. The output of pstree shows kdestart as childprocess of kdm. My window 
manager is KDE.


> What's in /etc/X11/default-display-manager ? Failing that, in 
> /etc/init.d/{g|k|x|w}dm, is HEED_DEFAULT_DISPLAY_MANAGER always set to true?
In /etc/X11/default-display-manager the DM was wdm.
But: HEED_DEFAULT_DISPLAY_MANAGER was set to false in /etc/init.d/kdm. True in 
the other three cases. That might explain the fact that both are started. 
But when I set the DM to kdm in /etc/X11/default-display-manager I get a totally 
different *window* manager, i. e. I get XFCE4 instead of KDE. That's even stranger as I 
thought that kdm would start kde. But it obviously doesn't. In this case at least only kdm 
is started and not wdm.
So how could I set which window manager is started by the DM?
When I set HEED_DEFAULT_DISPLAY_MANAGER to true in all four 
/etc/init.d/{g|k|x|w}dm I never get kde but always XFCE4 no matter if I choose kdm or 
wdm in /etc/X11/default-display-manager. I only get KDE when kdm *and* wdm are 
started. Any ideas why that could be? And why on earth does the DM start XFCE4 as 
window manager which I don't recall to have ever installed.

Thanks,
Hans-Joerg v. Mettenheim




Re: choose the default display manager

2005-05-04 Thread hjvm
I can't figure that out! I summarize the previous state:

1.) console says: kdm and wdm are started (kdm because of the 
"false" value in the conf-script, wdm because it's the default-display-
manager)
2.) kdm takes over and runs kde. According to pstree and ps no wdm 
is running.

What I did:
1.) I set the default display manager to kdm
2.) I set update-alternatives --set x-window-manager /usr/bin/kwin 
which should be kde.

What happens:
1.) console says kdm is started
2.) But it's not kdm, I get a login window from another DM
3.) When I log in I get a gnome session, which I never selected and 
according to pstree no wdm is running but there are lots of "gnome-" 
things...

And of course, if I set the default-display-manager back to wdm it's 
wdm *and* kdm that get started again and I get my kde session.

Any other advice? Thanks again!
Hans-Joerg v. Mettenheim


On 3 May 2005 at 15:53, Jon Dowland wrote:

> [EMAIL PROTECTED] wrote:
> 
> > But when I set the DM to kdm in /etc/X11/default-display-manager I get 
> > a totally different *window* manager, i. e. I get XFCE4 instead of 
> > KDE. That's even stranger as I thought that kdm would start kde. But 
> > it obviously doesn't. In this case at least only kdm is started and 
> > not wdm.
> >
> > So how could I set which window manager is started by the DM?
> 
> That's easier (I think): controlled by update-alternatives.
> 
> # update-alternatives --list x-window-manager
> 
> shows you what it can be, and
> 
> # update-alternatives --set x-window-manager 
> 
> where  is one of the options from the first command.
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: choose the default display manager

2005-05-06 Thread hjvm
Thank you, that definitively solved the problem.

I'm getting a little confused about these managers. What is the 
difference between display, session, login and window manager and 
what are examples for them? I'm asking just for curiosity...

Regards,
Hans-Joerg v. Mettenheim


On 4 May 2005 at 12:33, Rene Tapia wrote:

> > > > So how could I set which window manager is
> > started by the DM?
> 
> I missed the previous parte of the thread, so I am not
> sure if what you want is to change the login manager
> or the session manager.
> 
> To change the default session manager I used:
> update-alternatives --set x-session-manager
> /usr/bin/startkde
> 
> This starts KDE after loging-in (instead of Gnome),
> even though I am still using gdm to log in, which is
> the default in Debian.
> 
> --- [EMAIL PROTECTED] wrote:
> > I can't figure that out! I summarize the previous
> > state:
> > 
> > 1.) console says: kdm and wdm are started (kdm
> > because of the 
> > "false" value in the conf-script, wdm because it's
> > the default-display-
> > manager)
> > 2.) kdm takes over and runs kde. According to pstree
> > and ps no wdm 
> > is running.
> > 
> > What I did:
> > 1.) I set the default display manager to kdm
> > 2.) I set update-alternatives --set x-window-manager
> > /usr/bin/kwin 
> > which should be kde.
> > 
> > What happens:
> > 1.) console says kdm is started
> > 2.) But it's not kdm, I get a login window from
> > another DM
> > 3.) When I log in I get a gnome session, which I
> > never selected and 
> > according to pstree no wdm is running but there are
> > lots of "gnome-" 
> > things...
> > 
> > And of course, if I set the default-display-manager
> > back to wdm it's 
> > wdm *and* kdm that get started again and I get my
> > kde session.
> > 
> > Any other advice? Thanks again!
> > Hans-Joerg v. Mettenheim
> > 
> > 
> > On 3 May 2005 at 15:53, Jon Dowland wrote:
> > 
> > > [EMAIL PROTECTED] wrote:
> > > 
> > > > But when I set the DM to kdm in
> > /etc/X11/default-display-manager I get 
> > > > a totally different *window* manager, i. e. I
> > get XFCE4 instead of 
> > > > KDE. That's even stranger as I thought that kdm
> > would start kde. But 
> > > > it obviously doesn't. In this case at least only
> > kdm is started and 
> > > > not wdm.
> > > >
> > > > So how could I set which window manager is
> > started by the DM?
> > > 
> > > That's easier (I think): controlled by
> > update-alternatives.
> > > 
> > > # update-alternatives --list x-window-manager
> > > 
> > > shows you what it can be, and
> > > 
> > > # update-alternatives --set x-window-manager
> > 
> > > 
> > > where  is one of the options from the first
> > command.
> > > 
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to
> > [EMAIL PROTECTED] 
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
>   
> __ 
> Yahoo! Mail Mobile 
> Take Yahoo! Mail with you! Check email on your mobile phone. 
> http://mobile.yahoo.com/learn/mail 
> 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Ctrl + F11 not working in Eclipse

2005-05-08 Thread hjvm
Hi!

I'm using Eclipse and Ctrl + F11 is not working, i. e. nothing happens 
instead of running the last program. If I use Ctrl + F11 outside Eclipse, 
e. g. for switching the virtual desktops assuming you have at least 
eleven, everything is fine.
It's not urgent but a little bit annoying. I'd be thankful for some clues.

Regards,
Hans-Joerg v. Mettenheim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Eclipse: X eats up 280 MB of memory

2005-05-09 Thread hjvm
Hi!

I'm using KDE, six virtual desktops and a two-head setup with two 
screens of 1280x1024 resolution. When my machine is started top 
shows that X takes about 40 MB of memory. That seems normal to 
me. But when I start Eclipse X eats 280 MB of memory. Is this normal? 
Together with some other applications my 512 MB of RAM are full and 
it uses 890 MB of Swap!
I'd rather like not to buy another 512 MB RAM just for Eclipse... Is there 
a chance to reduce the memory consumption? Are others experiencing 
similar effects?

Regards,
Hans-Joerg v. Mettenheim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]