Troubleshooting/da: Difference between revisions

From KDE UserBase Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 12: Line 12:
:Nogle websteder og artikler, som hjælper dig med at komme godt i gang.
:Nogle websteder og artikler, som hjælper dig med at komme godt i gang.
|}
|}
Sooner or later you will find that something is not working properly, so here are some general hints on troubleshooting, after which there are some links to more specific problems.
Sooner or later you will find that something is not working properly, so here are some general hints on troubleshooting, after which there are some links to more specific problems.


Line 19: Line 18:
There are a few basic steps that can help in troubleshooting problems with KDE software. You should try these steps before asking on #kde or the kde general mailing list, since you'll probably be told to try them anyway {{smiley}}
There are a few basic steps that can help in troubleshooting problems with KDE software. You should try these steps before asking on #kde or the kde general mailing list, since you'll probably be told to try them anyway {{smiley}}


* Try creating a new user and running your KDE software with that user. If the problem doesn't occur with the new user, there's probably a problem with a file in your ~/.kde directory (with every reference to this directory, bear in mind that some distros call it ~/.kde4). You should then try:
* Try creating a new user and running your KDE software with that user. If the problem doesn't occur with the new user, there's probably a problem with a file in your <tt>~/.kde</tt> directory (with every reference to this directory, bear in mind that some distros call it ~/.kde4). You should then try:
**Rename the file causing the problem. To find an appropriate file, look in .kde/share/apps/<application-name> or in .kde/share/config/<application-name>rc where <application-name> is the name of the application you are having problems with. The config file is the most likely problem.
** Rename the file causing the problem. To find an appropriate file, look in <tt>~/.kde/share/apps/'''''application-name'''''</tt> or in <tt>~/.kde/share/config/'''''application-name'''''rc</tt> where '''''application-name''''' is the name of the application you are having problems with. The config file is the most likely problem.
**Log out, then log in afresh. New default files will replace your renamed ones.
** Log out, then log in afresh. New default files will replace your renamed ones.
* Clean out /tmp and /var/tmp. KDE stores some temporary files which can sometimes cause problems. You will need to be root to do this. You might also like to try removing the following files. Make sure you exit KDE first though! (The easiest safe way is to choose Failsafe at bootup.):
 
** ~/.DCOPserver-* (on KDE3 systems there are usually two of these; one is a symlink to the other)
* Clean out <tt>/tmp</tt> and <tt>/var/tmp</tt>. KDE stores some temporary files which can sometimes cause problems. You will need to be root to do this. You might also like to try removing the following files. Make sure you exit KDE first though! (The easiest safe way is to choose Failsafe at bootup.):  
** ~/.kde/socket-<hostname>
** <tt>~/.dcop</tt>
** ~/.kde/tmp-<hostname> which is normally a symlink to the next file:
** <tt>~/.kde/tmp-'''''hostname'''''</tt> which is normally a symlink to the next file:  
** /tmp/tmp-kde-<USER>
** <tt>/tmp/tmp-kde-'''''USER'''''</tt>
** ~/.kde/socket-<hostname> which is also normally a symlink to:
** <tt>~/.kde/socket-'''''hostname'''''</tt> which is also normally a symlink to:  
** /tmp/ksocket-<USER>
** <tt>/tmp/ksocket-'''''USER'''''</tt>
 
* If you're running an old release from KDE, try updating to the latest version - many bugs are fixed with each new version, so your problem might already be fixed.
* If you're running an old release from KDE, try updating to the latest version - many bugs are fixed with each new version, so your problem might already be fixed.
* Try searching the Bugzilla at http://bugs.kde.org . Many common problems have been reported and discussed there.
 
* Try searching the [http://bugs.kde.org Bugzilla]. Many common problems have been reported and discussed there.
 
* If your problem is more general than just one KDE application (e.g., "sound stops working when I start my KDE desktop"), try starting X with a different window manager. Even if you haven't installed another WM, 'twm' will be available, as it ships by default with X.
* If your problem is more general than just one KDE application (e.g., "sound stops working when I start my KDE desktop"), try starting X with a different window manager. Even if you haven't installed another WM, 'twm' will be available, as it ships by default with X.
** If you start X with the 'startx' command, just put the appropriate command in the file .xinitrc in your home directory. (If it doesn't exist, create it)
** If you start X with the 'startx' command, just put the appropriate command in the file .xinitrc in your home directory. (If it doesn't exist, create it)  
** If you start your desktop from kdm, this will not work.
** If you start your desktop from kdm, this will not work.



Revision as of 05:49, 21 August 2011

Information

Har du problemer med et program, så se efter et afsnit med Tips og tricks eller Problemløsning på programmets side.


Kom godt i gang
Nogle websteder og artikler, som hjælper dig med at komme godt i gang.

Sooner or later you will find that something is not working properly, so here are some general hints on troubleshooting, after which there are some links to more specific problems.

General Troubleshooting techniques

There are a few basic steps that can help in troubleshooting problems with KDE software. You should try these steps before asking on #kde or the kde general mailing list, since you'll probably be told to try them anyway

  • Try creating a new user and running your KDE software with that user. If the problem doesn't occur with the new user, there's probably a problem with a file in your ~/.kde directory (with every reference to this directory, bear in mind that some distros call it ~/.kde4). You should then try:
    • Rename the file causing the problem. To find an appropriate file, look in ~/.kde/share/apps/application-name or in ~/.kde/share/config/application-namerc where application-name is the name of the application you are having problems with. The config file is the most likely problem.
    • Log out, then log in afresh. New default files will replace your renamed ones.
  • Clean out /tmp and /var/tmp. KDE stores some temporary files which can sometimes cause problems. You will need to be root to do this. You might also like to try removing the following files. Make sure you exit KDE first though! (The easiest safe way is to choose Failsafe at bootup.):
    • ~/.dcop
    • ~/.kde/tmp-hostname which is normally a symlink to the next file:
    • /tmp/tmp-kde-USER
    • ~/.kde/socket-hostname which is also normally a symlink to:
    • /tmp/ksocket-USER
  • If you're running an old release from KDE, try updating to the latest version - many bugs are fixed with each new version, so your problem might already be fixed.
  • Try searching the Bugzilla. Many common problems have been reported and discussed there.
  • If your problem is more general than just one KDE application (e.g., "sound stops working when I start my KDE desktop"), try starting X with a different window manager. Even if you haven't installed another WM, 'twm' will be available, as it ships by default with X.
    • If you start X with the 'startx' command, just put the appropriate command in the file .xinitrc in your home directory. (If it doesn't exist, create it)
    • If you start your desktop from kdm, this will not work.

Some specific problems

Lydproblemer
Almindelige problemer med lyden; når den ikke virker eller ikke virker ordentligt
 
Problemer med tilsluttet udstyr
Tilslutning af printere, skannere og lignende
 
Grafikkortets ydelse
Få mest muligt ud af dit grafikkort fra NVidia, ATi eller Intel.
 
Håndtering af netværk
Fejlfinding i forbindelse med netværk, trådløse netværk, mobilt bredbånd og VPN-forbindelser


Tilbage til Få hjælp