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

Ubuntu MATE Projects Donates Money to Debian, MATE, and Syncthing Developers

The Ubuntu MATE project does something very admirable each month. Its makers contribute financially to other open source projects that are being used in the operating system, and that is something that doesn't happen all the often in the FOSS universe. Read more

Wine 1.7 Series Turn Two Years Old, No Sign Of Wine 1.8

Today marks two years since the start of the Wine 1.7 development series. While it's been two years of doing bi-weekly development releases, there's no sign of Wine 1.8.0 being ready for release in the near future. Read more

Today in Techrights

Leftovers: Software

  • gtkmm now uses C++11
    All the *mm projects now require C++11. Current versions of g++ require you to use the –std=c++11 option for this, but the next version will probably use C++11 by default. We might have done this sooner if it had been clearer that g++ (and libstdc++) really really supported C++11 fully.
  • Pixman Baking ARMv6, PowerPC 64 Improvements
    Pixman 0.33.2 RC has many new ARMv6 optimizations, bug fixes for PowerPC 64-bit, and various other fixes and enhancements to the MMX code.
  • Obnam 1.13 released (backup software)
    I have just released version 1.13 of Obnam, my backup program. See the website at http://obnam.org for details on what it does. The new version is available from git (see http://git.liw.fi) and as Debian packages from http://code.liw.fi/debian, and uploaded to Debian, and soon in unstable.
  • MusicTube Review - Use YouTube as Your Source of Music
    MusicTube is a very interesting music player designed for multiple platforms using YouTube as the music source. It's not made for locally hosted music, and you can't add other online sources, but YouTube is a huge resource.