[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-linux
Subject:    Re: [kde-linux] Launching KPPP from desktop with root loses dsktop
From:       "Gary L. Greene Jr." <greeneg () arklinux ! org>
Date:       2005-02-05 21:47:15
Message-ID: 200502051647.18001.greeneg () arklinux ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Saturday 05 February 2005 4:13 pm, Phillip Pi wrote:
> > > > > > >I placed KDE v3.3.1's KPPP icon on my desktop. I also configured
> > > > > > > it to ask for my root password since it requires root to use
> > > > > > > it. Once I successfully connect to my ISP, I notice my desktop
> > > > > > > icons and background wallpaper start disappearing to blackness.
> > > > > > > If I disconnect my dial-up modem connection, then I get
> > > > > > > "kdeinit could not launch 'kdesu'" error. After hitting the
> > > > > > > button, then my icons and wallpaper come back. That was odd!
> > > > > > >
> > > > > > >I tried running KPPP in KDE's terminal with su command to run
> > > > > > > it. I have none of these problems. Why can't I use the desktop
> > > > > > > icon shortcut with "Run as a different user: username -- root"
> > > > > > > without these problems? Is it a bug?
> > > > > > >
> > > > > > >Please note that I am still considered a newbie with Linux
> > > > > > > world. Thank you in advance. :)
> > > > > >
> > > > > > ---------------------------------------
> > > > > >  From your user desktop setup kppp as  user  (user being you)
> > > > >
> > > > > Do you mean chrp and chown kppp to my account (ant)? If so, then
> > > > > that didn't work. Again, I might be doing this all wrong as a
> > > > > newbie. :(
> > > >
> > > > Kppp should be SUID root. If you do that, it should work fine (this
> > > > is the default under many Linux's.
> > >
> > > Stupid newbie question: How do I do that?
> >
> > Change $KDEDIRS/bin/kppp (where $KDEDIRS is the prefix to where KDE is
> > located) by running "cd $KDEDIRS/bin && su -c "chmod 4755 kppp"
>
> cd $KDEDIRS/bin takes me to /bin. There is no kppp file in this
> directory/folder. I did a "locate bin/kppp" and found it in /usr/bin/ ...
> Should I use that path one? I would like a confirmation before I do a
> chmod command (don't want to hose this Debian box). ;)

Yes, in your case, KDE is prefixed in /usr so /usr/bin is correct.

-- 
Gary L. Greene, Jr.
Sent from uriel
 16:46:40 up 1 day, 15:36,  6 users,  load average: 0.30, 0.15, 0.16
 
============================================================
Developer and Project Lead for the Ark Linux Project
 check out http://www.arklinux.org/ for more info.
 Also http://www.csis.gvsu.edu/~greeneg/
EMAIL : greeneg@arklinux.com
============================================================
 

[Attachment #5 (application/pgp-signature)]

___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic