Bug 142648 - system-config-* tools only work through ssh with sudo when used without consolehelper
Summary: system-config-* tools only work through ssh with sudo when used without conso...
Keywords:
Status: CLOSED DUPLICATE of bug 164671
Alias: None
Product: Fedora
Classification: Fedora
Component: sudo
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-11 15:18 UTC by Thorsten Leemhuis
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-04-09 19:42:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Thorsten Leemhuis 2004-12-11 15:18:10 UTC
Description of problem:
When i connect to a machine with "ssh -Y machine" and then use a command like
"system-config-network" the X11 connection rejectes because of wrong
authentication. Using the tools without consolehelper works fine.

Version-Release number of selected component (if applicable):
usermode-1.74-1

How reproducible:
Always

Steps to Reproduce:
$ sudo system-config-network
-> Works as expected 
$ ssh -Y localhost
$ sudo system-config-network
X11 connection rejected because of wrong authentication.
The application 'system-config-network-gui' lost its connection to the display
localhost:10.0;
most likely the X server was shut down or you killed/destroyed
the application.
$ sudo /usr/bin/system-config-network
X11 connection rejected because of wrong authentication.
The application 'system-config-network-gui' lost its connection to the display
localhost:10.0;
most likely the X server was shut down or you killed/destroyed
the application.
$ ls -l /usr/bin/system-config-network
lrwxrwxrwx  1 root root 13  2. Nov 18:19 /usr/bin/system-config-network ->
consolehelper
$ sudo /usr/sbin/system-config-network
-> works fine

Comment 1 David Juran 2005-06-20 08:20:38 UTC
This behaviour is of course present in RHEL4 as well.

Comment 2 Thorsten Leemhuis 2005-06-20 08:26:49 UTC
And still in FC4 also -- changing component from FC3 to FC4

Comment 3 Thorsten Leemhuis 2005-11-18 19:32:00 UTC
Still present in rawhide as of today. Changing component from FC4 to devel.

Comment 4 Thorsten Leemhuis 2006-04-01 07:52:31 UTC
Ping -- still in FC5. Is there any chance we could get this fixed? Jindrich, or
is this is the wrong component?

Comment 5 Jindrich Novy 2006-04-06 12:59:34 UTC
Hello Thorsten,

yes, it seems like a wrong component, sudo needs fixing to allow executing via
ssh. But I doubt that someone would like to implement such feature since
launching X applications via sudo isn't very convenient. Reassigning.

Comment 6 Thorsten Leemhuis 2006-04-08 17:21:19 UTC
Well, there are other distributions taht don't even allow root logins and do
everything ^w a lot though sudo. So the statement "launching X applications via
sudo isn't very convenient" is a bit irritating.

Well, I don't care as long as it get's fixed.



Comment 7 Jindrich Novy 2006-04-08 19:43:08 UTC
(In reply to comment #6)
> Well, there are other distributions taht don't even allow root logins and do
> everything ^w a lot though sudo. So the statement "launching X applications via
> sudo isn't very convenient" is a bit irritating.

To be more precise I meant launching X apps under Fedora via sudo isn't very
convenient (because of userhelper/consolehelper authentization design,
especially the system-config-* stuff).

Comment 8 Karel Zak 2006-04-09 19:42:34 UTC

*** This bug has been marked as a duplicate of 164671 ***


Note You need to log in before you can comment on or make changes to this bug.