Re: "su" Capability Needed In Konqueror

2001-06-27 Thread Sylvain
When I launch konqueror with kdesu, the progress dialogs don't appear.

-- 
Sylvain Joyeux (5895)
[EMAIL PROTECTED]




Re: "su" Capability Needed In Konqueror

2001-06-25 Thread Chris Howells
Robert Tilley wrote:
This is needlessly complicated I feel.  Does Konqueror/KDE provide a method 
to su to root within a GUI environment?

Yes.
'kdesu konqueror'

--
Cheers, Chris Howells -- [EMAIL PROTECTED]
Web (& for PGP Key): http://chrishowells.co.uk



Re: "su" Capability Needed In Konqueror

2001-06-25 Thread Viktor Rosenfeld
csj wrote:

> Thanks for the tip. I didn't know that. But I'm worried. What sort of
> magic does kdesu do? As console (konsole, xterm) root, I can't run
> konqueror.

I'm guessing here, but it's probably just forwarding connections to the
X server with some kind of fake authentication data a la sshd(8).

> alpha:/web/debian/http# konqueror
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> konqueror: cannot connect to X server :0

See what Marc wrote in this thread (export XAUTHORITY=~USER/.Xauthority
...).

Cheers,
Viktor
-- 
Viktor Rosenfeld
WWW: http://www.informatik.hu-berlin.de/~rosenfel/




Re: "su" Capability Needed In Konqueror

2001-06-24 Thread csj
On Monday 25 June 2001 00:26, Ivan E. Moore II wrote:
> On Sun, Jun 24, 2001 at 04:20:33PM +0200, Viktor Rosenfeld wrote:
> > Robert Tilley wrote:
> > > Too many times I have needed to perform file manipulation using
> > > Konqueror and found I needed to have root's access permissions.
> > >  So I out of KDE -- log back in as root -- do what I need --
> > > and log back in as a normal user (myself).
> >
> > Way too complicated.  First of all, there should be a menu item K
> > -> System -> File manager (Superuser).  And then you can start
> > any program as any user with kdesu.  Just press Alt+F2 and hit
> > the Settings button, where you can specify which user should be
> > used.
>
> well..until that happens
>
>kdesu konqueror

Thanks for the tip. I didn't know that. But I'm worried. What sort of 
magic does kdesu do? As console (konsole, xterm) root, I can't run 
konqueror.

alpha:/web/debian/http# konqueror
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
konqueror: cannot connect to X server :0




Re: "su" Capability Needed In Konqueror

2001-06-24 Thread Ivan E. Moore II
On Sun, Jun 24, 2001 at 04:20:33PM +0200, Viktor Rosenfeld wrote:
> Robert Tilley wrote:
> > 
> > Too many times I have needed to perform file manipulation using Konqueror 
> > and
> > found I needed to have root's access permissions.  So I out of KDE -- log
> > back in as root -- do what I need -- and log back in as a normal user
> > (myself).
> 
> Way too complicated.  First of all, there should be a menu item K ->
> System -> File manager (Superuser).  And then you can start any program
> as any user with kdesu.  Just press Alt+F2 and hit the Settings button,
> where you can specify which user should be used.

well..until that happens

   kdesu konqueror



-- 

Ivan E. Moore II
[EMAIL PROTECTED]
http://snowcrash.tdyc.com
GPG KeyID=90BCE0DD
GPG Fingerprint=F2FC 69FD 0DA0 4FB8 225E 27B6 7645 8141 90BC E0DD




Re: "su" Capability Needed In Konqueror

2001-06-24 Thread Viktor Rosenfeld
Robert Tilley wrote:
> 
> Too many times I have needed to perform file manipulation using Konqueror and
> found I needed to have root's access permissions.  So I out of KDE -- log
> back in as root -- do what I need -- and log back in as a normal user
> (myself).

Way too complicated.  First of all, there should be a menu item K ->
System -> File manager (Superuser).  And then you can start any program
as any user with kdesu.  Just press Alt+F2 and hit the Settings button,
where you can specify which user should be used.

HTH,
Viktor
-- 
Viktor Rosenfeld
WWW: http://www.informatik.hu-berlin.de/~rosenfel/




Re: "su" Capability Needed In Konqueror

2001-06-24 Thread Marc SCHAEFER
On Sun, 24 Jun 2001, Robert Tilley wrote:

> Too many times I have needed to perform file manipulation using Konqueror and 
> found I needed to have root's access permissions.  So I out of KDE -- log 
> back in as root -- do what I need -- and log back in as a normal user 
> (myself).

Method 1 which works with any X window manager:

   - open an xterm (with KDE: ALT-F2, xterm, RETURN)
   - become root: su # no - so that DISPLAY is preserved
   - forward X authentification:
export XAUTHORITY ~USER/.Xauthority # where USER is the owner
# of the console.
   - launch any X client with root

Method 2 which seems to work with KDE/2.1 on potato:

   - use the KMenu -> System -> Terminal (superuser mode)
 or use the File Manager (superuser mode)

> This is needlessly complicated I feel.  Does Konqueror/KDE provide a method 
> to su to root within a GUI environment?

Personnally, I would never launch a file manager with root privileges:
root is for minimal interactive shell commands only.




Re: "su" Capability Needed In Konqueror

2001-06-24 Thread Chanop Silpa-Anan
Once upon a time, I heard Robert Tilley say

> Too many times I have needed to perform file manipulation using Konqueror and 
> found I needed to have root's access permissions.  So I out of KDE -- log 
> back in as root -- do what I need -- and log back in as a normal user 
> (myself).

The question is why do you need to use konqueror? besides its ease of use.
ANW, I don't know whether konquerer allows you to do such a thing or not.
But you can, from a shell, su to root and call konqueror from there. If
you have a problem starting konqueror as root, there are several
solutions, read debian-user for more info. In short, you may use xhost,
XAUTHORITY, and sudo for the task.

> This is needlessly complicated I feel.  Does Konqueror/KDE provide a method 
> to su to root within a GUI environment?

well, too complicate :)


Chanop
-- 
,.
| May Debian be with you ~~ [EMAIL PROTECTED]|
`'




"su" Capability Needed In Konqueror

2001-06-24 Thread Robert Tilley
Too many times I have needed to perform file manipulation using Konqueror and 
found I needed to have root's access permissions.  So I out of KDE -- log 
back in as root -- do what I need -- and log back in as a normal user 
(myself).

This is needlessly complicated I feel.  Does Konqueror/KDE provide a method 
to su to root within a GUI environment?

Thank you for any information,

Robert Tilley
[EMAIL PROTECTED]