Bug 366488 - NX mixes up KDE 3.5 and 4
Summary: NX mixes up KDE 3.5 and 4
Status: RESOLVED INVALID
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: KDE (show other bugs)
Version: Final
Hardware: x86-64 Linux
: P5 - None : Normal with 5 votes (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-02 21:08 UTC by Forgotten User 2AXImBTIXA
Modified: 2008-05-04 20:39 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User 2AXImBTIXA 2008-03-02 21:08:02 UTC
I use my computer and my wife uses my computer via nomachine NX. I wanted her to use KDE 3.5 and I wanted to use KDE 4. So I installed KDE 4 on my computer as advised under http://en.opensuse.org/KDE/KDE4. Now, I cannot log in with KDE 4, I do not get the choice in the "session type" of my display manager. I always get KDE 3.5 when I log in. My wife, who logs in over nomachine NX, can't chose either and gets KDE 4 as desktop environment.
Comment 1 Will Stephenson 2008-03-02 21:47:41 UTC
So a local login always gets KDE 3, and a NX login always gets KDE 4?

What displaymanager do you use, locally and remotely?
Comment 2 Forgotten User 2AXImBTIXA 2008-03-03 08:19:49 UTC
Yes, a local login always gets KDE 3 and an NX login always gets KDE 4.
As displaymanager I use kdm locally. Remotely, there is no display manager AFAIK, nomachine NX does not allow you to chose a session type.
Comment 3 Forgotten User 2AXImBTIXA 2008-03-03 20:55:20 UTC
I added 
 export PATH=/opt/kde3/bin:$PATH
to /etc/profile and now my "thin client" can again log in with KDE 3.5. Still my computer does not let me chose KDE 4 in the display manager's session type.
Comment 4 Forgotten User 2AXImBTIXA 2008-03-03 21:07:41 UTC
Will, 
Since I have installed KDE 4, it is no longer possible to view a CD under KDE 3.5.
I have set up my desktop using kcontrol->Desktop->Behavior->Device Icons.
When I insert a CD into my CD Rom drive, I get an icon on my desktop. 

I used to click on it and my CD was opened in konqueror.
Since I installed KDE 4, I get the error message "hal-storage-mount-removable no <-- (action, result)" when I click on the device icon.
Comment 5 Will Stephenson 2008-03-27 18:16:09 UTC
Thorsten, 

you should know better than to hijack one bug report with an unrelated topic ;)

About NX: I'll have to set it up to reproduce this, stand by.
Comment 6 P Linnell 2008-04-03 15:20:28 UTC
I can confirm NX only logs in with KDE4 on 3 different Suse 10.3 systems with Windows or Linux clients. I think it is missing functionality in NX.. I do not think they anticipated having 2 KDE versions.

That said, I can easily switch between KDE 3.5 and KDE 4 easily here on 10.3
Comment 7 Will Stephenson 2008-04-03 15:22:34 UTC
Regarding KDE 3 instead of KDE 4 locally, was your PATH edited by your .profile or .bashrc after starting your session?

Our KDE 4 packages work on the assumption that their bin is before KDE 3's bin.


The PATH as set by 
kdm ->
/usr/share/xsessions/kde4.desktop ->
/usr/bin/startkde4

does this:
export PATH=/usr/bin:${PATH/:\/usr\/bin}

But if your user overrides this in .profile or .bashrc, strange things will happen.  Try what happens with a clean new user.

I think the NX issue is up to NX to fix, all they need to set the right PATH and call the right startkde.

Please reopen if you cannot switch sessions locally with a new user account.
Comment 8 Forgotten User 2AXImBTIXA 2008-05-04 20:39:00 UTC
After re-installing I had this problem again and could fix it by adding 
 export PATH=/opt/kde3/bin:$PATH
to my user's .login. Now, NX starts KDE 3.