LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-10-2005, 04:48 AM   #1
Pheidon
LQ Newbie
 
Registered: Mar 2005
Posts: 16

Rep: Reputation: 0
Shutdown problem after upgrading to KDE 3.4


Hey all,
after upgrading my SuSE 9.2 installation to KDE 3.4, I have the following problems:
When I shutdown the computer over the Log Out command in the KDE menu, all that happens i that my computer switches to a black screen. All that is there, is my mouse cursor, in the form of an X. I have to switch to a console, login there and do an "init 0". Loging off or restarting the computer results in the same black screen.

Also, something else that's weird:
If I click on Log Out in the KDE Menu, I see the following options: End Current Session, Shutdown Computer, Restart Computer, and Cancel. If I press Cancel and again click on the Log Out button, the Shutdown Computer and Restart Computer options disappear. I find that kinda strange...

Any ideas on how to fix those problems?

thanks a lot!
 
Old 04-10-2005, 09:33 AM   #2
prj
Member
 
Registered: Aug 2003
Location: South Wales
Distribution: Kubuntu, Ubuntu server, SuSE 11, Knoppix, Puppy, Myth. Oh alright then, all of them
Posts: 177

Rep: Reputation: 30
Sounds like a disagreement with your video. I had a similar problem when upgraded, but also upgraded my Nvidia drivers at the same time so thought nothing of it as the install process removed the problem.

Are you using Nvidia or similar? Suggest re-install if you are.

Have you upgraded your kernel? There was a Suse update recently that may need to be finalised - again if using Nvidia re-install.

Re the logout - I always get the four options, even after cancelling, and thats on two different machines.

Last edited by prj; 04-10-2005 at 09:35 AM.
 
Old 04-10-2005, 12:54 PM   #3
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Rep: Reputation: 30
This is the type of thing that stops me from upgrading from 3.3 to 3.4. Not that it is specific to 3.4, but when my system is running stable then I like to keep it that way.

When I was running SuSE 8.1 and KDE 3.3 a similar problem occurred, so I had to reinstall kdebase3-kdm from time to time to correct the problem. However, when my KDE exited into X windows and had the cursor the whole system locked up. Accessing other logins was not possible. This problem does not happen with my new 9.2 KDE 3.3 system. Perhaps it is a kdebase3-kdm issue. Maybe try compiling your own from a RPM source.

 
Old 04-10-2005, 01:38 PM   #4
Pheidon
LQ Newbie
 
Registered: Mar 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Well, I am using an ATI card (Radeon 9500 Pro). I just upgraded the driver yesterday, didn't change anything. Recompiling the packages sounds like a good idea. I'll try compiling my own RPMs of KDE3Base and KDM and see how that works, I did have to compile my own Arts package, in order to get the system notifications to work.
I really think it has something to do with KDM, since I did have to re-add gnome after updating to 3.4.
Thanks a lot, I'll let you know if it works.
 
Old 04-17-2005, 04:37 AM   #5
Pheidon
LQ Newbie
 
Registered: Mar 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Well, I tried recompiling KDE3base, but after one hour I got the following error (even on the 2nd and 3rd try):
Quote:
linking ./kcontrol/samba/kcm_samba.la
linking ./kcontrol/info/kcm_info.la
/bin/sh ./libtool --silent --mode=link --tag=CXX g++ -DINFO_OPENGL_AVAILABLE -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -L/opt/kde3/lib -L/usr/lib/qt3/lib -L/usr/X11R6/lib -module -avoid-version -no-undefined -o ./kcontrol/info/kcm_info.la -rpath /opt/kde3/lib/kde3 -Wl,--no-undefined -Wl,--allow-shlib-undefined -lkdeui -lGLU -lGL -lX11 ./kcontrol/info/kcm_info_la_all_cpp.lo
/usr/lib//libGL.a(glxcmds.o)(.text+0x1160): In function `glXGetMscRateOML':
: undefined reference to `XF86VidModeQueryVersion'
/usr/lib//libGL.a(glxcmds.o)(.text+0x1198): In function `glXGetMscRateOML':
: undefined reference to `XF86VidModeGetModeLine'
collect2: ld returned 1 exit status
Error creating ./kcontrol/info/kcm_info.la. Exit status 1.
makeobj[0]: Leaving directory `/usr/src/packages/BUILD/kdebase-3.4.0'
error: Bad exit status from /var/tmp/rpm-tmp.77605 (%build)


RPM build errors:
Unknown option ? in verify_permissions(:-
Unknown option ? in verify_permissions(:-
Unknown option ? in verify_permissions(:-
Bad exit status from /var/tmp/rpm-tmp.77605 (%build)
I tried to compile the package with rpmbuild --rebuild kdebase3-3.4.0-0.src.rpm
does anyone have an idea?
Am I missing some dependencies?

Last edited by Pheidon; 04-17-2005 at 04:38 AM.
 
Old 04-17-2005, 11:05 AM   #6
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Rep: Reputation: 30
Not too sure about that one, but you could try and install libxxf86vm1 and the devel package that compliments it.

If you are compiling from a tar ball, when failure happens do not delete the directory, add whatever packages that are required, then make it again. The process will pick-up where it left off. This will save you time. Also, it is always, in my opinion, best to compile the software from the tar ball and then create a package once you know the program compiles without errors.

I sure hope this helps, but if not post your issues. I am happy to help.
 
Old 04-18-2005, 04:36 PM   #7
Pheidon
LQ Newbie
 
Registered: Mar 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Well, upgrading X.org seemed to take care of that problem, but now I got a new one. I get the following error now:
Quote:
+ /usr/lib/rpm/suse_update_desktop_file.sh -r kfontview Graphics Viewer
adding 'Name[de]=KFontView' to kfontview.desktop
adding 'Name[es]=KFontView' to kfontview.desktop
adding 'Name[fr]=KFontView' to kfontview.desktop
adding 'Name[it]= KFontView' to kfontview.desktop
adding 'Name[ja]=KFontView' to kfontview.desktop
adding 'Name[nl]=KFontView' to kfontview.desktop
adding 'Name[pl]=KFontView' to kfontview.desktop
adding 'Name[pt_BR]=KFontView' to kfontview.desktop
+ /usr/lib/rpm/suse_update_desktop_file.sh -r krandrtray Applet X-KDE-settings-desktop
+ /usr/lib/rpm/suse_update_desktop_file.sh /var/tmp/kdebase3-3.4.0-build/opt/kde3/share/apps/remoteview/smb-network.desktop
+ for i in '$RPM_BUILD_ROOT/opt/kde3/share/applnk/System/ScreenSavers/*.desktop'
+ sed -e '/^\[Desktop Entry\]/a\
Categories=Screensaver;' /var/tmp/kdebase3-3.4.0-build/opt/kde3/share/applnk/System/ScreenSavers/KBlankscreen.desktop
+ mv /var/tmp/kdebase3-3.4.0-build/opt/kde3/share/applnk/System/ScreenSavers/KBlankscreen.desktop_ /var/tmp/kdebase3-3.4.0-build/opt/kde3/share/applnk/System/ScreenSavers/KBlankscreen.desktop
+ /usr/lib/rpm/suse_update_desktop_file.sh /var/tmp/kdebase3-3.4.0-build/opt/kde3/share/applnk/System/ScreenSavers/KBlankscreen.desktop
ERROR: suse_update_desktop_file: unable to read
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.81138 (%install)


RPM build errors:
Unknown option ? in verify_permissions(:-
Unknown option ? in verify_permissions(:-
Unknown option ? in verify_permissions(:-
Bad exit status from /var/tmp/rpm-tmp.81138 (%install)]
Any ideas? I got it twice already.
 
Old 04-26-2005, 09:10 PM   #8
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Rep: Reputation: 30
Quote:
ERROR: suse_update_desktop_file: unable to read
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.81138 (%install)

RPM build errors:
Unknown option ? in verify_permissions(:-
Unknown option ? in verify_permissions(:-
Unknown option ? in verify_permissions(:-
Bad exit status from /var/tmp/rpm-tmp.81138 (%install)]
It would seem that I am also having the same problem with kdebase 3.3.2, and no one seems to know the solution. One option one person indicated, via googling, is to remove the lines that ask for suse_update_desktop_file

I am about to try it.
 
Old 04-27-2005, 07:22 AM   #9
Pheidon
LQ Newbie
 
Registered: Mar 2005
Posts: 16

Original Poster
Rep: Reputation: 0
I got a solution. I made a change to that file:
Before this code:
Code:
if [ ! -r "$FILE" ]; then 
   echo ERROR: suse_update_desktop_file: unable to read $FILE 
   exit -1 
fi
add the following lines:
Code:
if [ -z "$FILE" ]; then
 FILE="$FILE_"
fi
and it should work, it did for me =)
but the recompiled package did not solve my original problem...
 
Old 04-27-2005, 10:25 AM   #10
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Rep: Reputation: 30
Thanks. I am about to give it a try.
 
Old 04-27-2005, 06:56 PM   #11
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Rep: Reputation: 30
Well your fix worked out just fine. Thanks again for the help Pheidon Now if I could only get to the bottom of the issue of why my packages are so large. No one seems to know that one...
 
Old 05-21-2005, 02:46 AM   #12
tisam
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian unstable,2.6.10
Posts: 15

Rep: Reputation: 0
I've just found a solution to shutdown problem I had exactly the same.

When installing/upgrading to KDE 3.4 you're also upgrading kdm (of course if using ). And the script in etc/kde3/kdm is also upgraded.
I've stored the old one and it showed up to be a brilliant idea - after replacing the new with the old one shutdown works correctly
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE shutdown problem mebrelith Fedora 13 02-25-2005 11:32 PM
Screen Problem after KDE shutdown RMSe17 Linux - Software 3 07-20-2004 11:19 AM
KDE - Language problem after upgrading from 9.1 to current Raphael M Slackware 2 06-19-2004 11:42 AM
Shutdown problem Suse 9.0 Prof KDE finnhs Linux - Distributions 1 02-15-2004 03:09 PM
Problem upgrading KDE 3.2.0 Ninja_212 Slackware 2 02-14-2004 11:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration