Announcement

Collapse
No announcement yet.

Sorry - Plasma: sudo and kdesu

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Sorry - Plasma: sudo and kdesu

    Have made some icons for the panel using sudo and kdesu. Using "sudo konsole" I get an error message: Sorry - Plasma KDEInit could not launch '/usr/bin/sudo' and using "kdesu kate" I get: Sorry - Plasma KDEInit could not launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu' Have to press OK to continue. Any way of getting rid of this message?

    #2
    you should be using "kdesudo" to launch any GUI app.

    using sudo to open a GUI app can mess up permissions in your home .

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Thanks that solved the problem with konsole but not with kate (getting the message upon exit)

      Sent from my Nexus 9 using Tapatalk

      Comment


        #4
        Originally posted by hallergard View Post
        Thanks that solved the problem with konsole but not with kate (getting the message upon exit)

        Sent from my Nexus 9 using Tapatalk
        ya ,,,,I hvent found a fix for that one yet ,,,,,,,,I find it a minor annoyance as kate works fine and as you say ,,,,,the error happens after using it ,,,,strange.

        VINNY
        i7 4core HT 8MB L3 2.9GHz
        16GB RAM
        Nvidia GTX 860M 4GB RAM 1152 cuda cores

        Comment


          #5
          FYI you can also change to a root konsole after your already using konsole with a "sudo su" or "sudo -i" not sure whitch one is best however .

          VINNY

          but see https://help.ubuntu.com/community/RootSudo
          Last edited by vinnywright; Apr 26, 2015, 11:15 AM.
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #6
            Thanks but will stay with "sudo kate" and OK upon exit

            Sent from my Nexus 9 using Tapatalk

            Comment


              #7
              Originally posted by hallergard View Post
              Thanks but will stay with "sudo kate" and OK upon exit

              Sent from my Nexus 9 using Tapatalk
              that is not a good idea ......files saved wile running kate this way will be owned by root not you .

              if one of these files was a config in say .kde or .config and gets owned by root it will no longer work for your user (you)

              you should run (in a regular konsole not a root one IE: kdesudo console)
              Code:
              find ~/ -user root
              anything it spits out is owned by root and all files in ~/ (thats /home/you) should be owned by you.

              VINNY
              i7 4core HT 8MB L3 2.9GHz
              16GB RAM
              Nvidia GTX 860M 4GB RAM 1152 cuda cores

              Comment


                #8
                Maybe that's why I often run this in a root terminal: chown -R myself.myself /home
                So "kdesudo kate" is better in this respect?

                Sent from my Nexus 9 using Tapatalk

                Comment


                  #9
                  Originally posted by hallergard View Post
                  Maybe that's why I often run this in a root terminal: chown -R myself.myself /home
                  So "kdesudo kate" is better in this respect?

                  Sent from my Nexus 9 using Tapatalk
                  much ,,,,,,,,,,,yes

                  VINNY
                  i7 4core HT 8MB L3 2.9GHz
                  16GB RAM
                  Nvidia GTX 860M 4GB RAM 1152 cuda cores

                  Comment

                  Working...
                  X