Language Selection

English French German Italian Portuguese Spanish

Why starting a KDE application with just su failed?

Filed under
KDE
MDV

Several times users where surprised by the new behavior of KDE 4 applications. Indeed, as the super-user mode for the applications doesn't not work currently, they often have to open a terminal, and use su to start the application as another, notably root. However when just using su instead of su -, this will failed. Why ? The explication is very simple.

First it should be noted that su means Substitute User, and not Super User. Indeed su allow to switch to whatever user you want and not just to the root user. However if no user is specified, then it will used the root user. This is logic because in a Unix/linux system, there's only one user which will normally always exist and with the same name : root. Now that this point is clarified, it should be noted that you have 2 ways to switch to another user : the light way and the heavy way. Now let's try to explain the differences between each ways :

rest here




More in Tux Machines

Leftovers: Software

today's howtos

Leftovers: Gaming

Leftovers: KDE

  • LUKS support in KDE Partition Manager
  • Kate 16.04 on Windows (64bit)
  • The future of KApiDox
    I’ve been working hard to enhance KApiDox. I’d like to come back on what it is for, what I did and what I see for its future.
  • Danbooru Client 0.6.0 released
    It offers a convenient, KF5 and Qt5-based GUI coupled with a QML image view to browse, view, and download images hosted in two of the most famous Danbooru boards (konachan.com and yande.re).
  • A KMail Breakthrough.
    This tells the story of how I finally managed a successful transfer of email data from KMail version 1.13.6 to version 4.11.5. It is a non-technical essay exploring the obstacles I encountered, my options, and the methods I used to achieve my aim. It was written partly to give the information, but also with the hope that readers will both enjoy and be amused by the story of the "battle of KMail" that was ultimately won against "incredible odds". Links to the earlier articles discussing problems with KMail 4x are given at the end.
  • [GSoC] Kdev-Embedded, Debugging and programming embedded systems
    The actual embedded system word depends on closed-source IDEs and libraries, with high monetary value and deprecated functionalities. Programmers that would like to use ARM based boards without paying for an IDE will have problems setting up such development ambient and synchronized toolkits. The main idea of this project is to provide a plugin integrated with KDevelop to help the debugging and programming process of embedded systems like AVR, ARM and x86 based boards.