Found the fault.
There was no /etc/sysconfig/desktop file.
I created a new one with the entries:
DESKTOP="KDE"
DISPLAYMANAGER="KDE"
Now I have just got to solve all these errors coming in my log:
Xlib: extension "DPMS" missing on display ":2.0".
Looks like power management issues. It still works but might get annoying
after a while.
EM
"em" <em-NOSPAM@bigpond.net.au> wrote in message
news:R%MGj.3290$n8.1449@news-server.bigpond.net.au...
> When I login locally I launch KDE.
>
> No session is in Gnome unless I connect to it via VNC.
>
> Thanks for the other tips. I'll give them a whirl.
>
> EM
>
> "jebblue" <n@n.nnn> wrote in message
> news:47e6bd77$0$16664$4c368faf@roadrunner.com...
>> On Sun, 23 Mar 2008 03:11:54 +0000, em wrote:
>>
>>> twm launches if I comment startkde and uncomment twm.
>>>
>>> Thanks for the link but no go with the ".xsession". I read in the kde
>>> site that there was limitation with KDE desktop on VNC greater than
>>> 800x600 but dropping it down hasn't fix it either.
>>>
>>
>> Silly question - are you sure that KDE is actually installed on the
>> machine you are connecting to?
>>
>> Try changing twm to startx.
>>
>> Also is Gnome already running on that machine? Or for that user account
>> locally on the machine?
>>
>> Could it be KDE wants a certain font? http://ubuntuforums.org/archive/
>> index.php/t-80199.html
>>
>> One last thought try "exec startkde &".
>>
>> Hmm one more thought, check the logs in ~/.vnc for hints as to what's
>> going on, also log onto the machine and execute "sh -x ~/.vnc/xstartup"
>> and see if you get any error hints.
>>
>> --
>> // This is my opinion.
>
>