Announcement

Collapse
No announcement yet.

starting programs with sudo

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

    starting programs with sudo

    Codes like
    Code:
    sudo kate /somefile/
    give me a lot of errors in Konsole. For example:
    Code:
    tb@tb-desktop:~$ sudo kcmshell4 fileshare
    [sudo] password for tb:         
    Error: "/var/tmp/kdecache-tb" is owned by uid 1000 instead of uid 0.
    Error: "/tmp/kde-tb" is owned by uid 1000 instead of uid 0.     
    Error: "/tmp/ksocket-tb" is owned by uid 1000 instead of uid 0.   
    Error: "/tmp/kde-tb" is owned by uid 1000 instead of uid 0.
    Error: "/tmp/ksocket-tb" is owned by uid 1000 instead of uid 0.
    kdeinit4: Shutting down running client.
    kdeinit4: preparing to launch /usr/lib/kde4/libexec/klauncher
    Error: "/tmp/ksocket-tb" is owned by uid 1000 instead of uid 0.
    Error: "/tmp/kde-tb" is owned by uid 1000 instead of uid 0.
    kdeinit4: preparing to launch /usr/bin/kded4
    Error: "/var/tmp/kdecache-tb" is owned by uid 1000 instead of uid 0.
    Error: "/tmp/kde-tb" is owned by uid 1000 instead of uid 0.
    kdeinit4: preparing to launch /usr/bin/kbuildsycoca4
    kbuildsycoca4 running...
    Error: "/var/tmp/kdecache-tb" is owned by uid 1000 instead of uid 0.
    kdeinit4: preparing to launch /usr/bin/kbuildsycoca4
    kbuildsycoca4 running...
    Error: "/var/tmp/kdecache-tb" is owned by uid 1000 instead of uid 0.
    Error: "/var/tmp/kdecache-tb" is owned by uid 1000 instead of uid 0.
    kdeinit4: preparing to launch /usr/lib/kde4/libexec/kconf_update
    kdeinit4: preparing to launch
    kdeinit4: preparing to launch
    Error: "/var/tmp/kdecache-tb" is owned by uid 1000 instead of uid 0.
    tb@tb-desktop:~$
    Also, every time a odd-looking dialog box pops up labeled "xmessage". It tells me "could not start ksmserver. Check your installation." When I click it away, it throws me back to the login screen. I've had this behavior in several installations of 9.04 on this machine.
    Starting the program in question without sudo works without problems. Ideas, anyone?

    Thanks

    #2
    Re: starting programs with sudo

    you need to use kdesudo

    Comment


      #3
      Re: starting programs with sudo

      Rog has addressed the matter well:

      http://kubuntuforums.net/forums/inde...opic=3089088.0

      Comment


        #4
        Re: starting programs with sudo

        Great, thanks!

        Comment


          #5
          Re: starting programs with sudo

          Take the time to understand exactly what sudo is and does, and more importantly, when not to use it. sudo is powerful. Used incorrectly, you can hose your system to the point that it wont work anymore.
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Re: starting programs with sudo

            Originally posted by dibl
            Rog has addressed the matter well:

            http://kubuntuforums.net/forums/inde...opic=3089088.0

            That is a good posting, isn't it? I have used sudo for graphical apps ever since sudo was available, and cannot tell you when that was. I just ignored all the terminal errors and it did what I wanted.

            However, I did not know why not so I am glad I read this posting you linked.

            Now, to remember kdesudo

            Comment

            Working...
            X