Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 430832 - Fedora 8 has become naggy.
Fedora 8 has become naggy.
Product: Fedora
Classification: Fedora
Component: xorg-x11 (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: X/OpenGL Maintenance List
Depends On:
  Show dependency treegraph
Reported: 2008-01-29 19:31 EST by Joseph A. Farmer
Modified: 2018-04-11 10:08 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-30 11:54:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joseph A. Farmer 2008-01-29 19:31:41 EST
Description of problem:
Fedora nags me about logging into X while I'm logged in as root.

Version-Release number of selected component (if applicable):
Fedora 8. 

How reproducible:
Completely reproducible.

Steps to Reproduce:
1. Log in to the machine as root.
2. Start X.
3. Get nagged.
Actual results:
Logged in, got nagged.

Expected results:
Well, I expected to get nagged as Fedora 8 nags.  My desired result would be to
not get nagged.

Additional info:
Apple has been having success lately with an ad campaign showing how nagging
Windows has become.  Let's not emulate that.  Freedom should include freedom to
not get nagged.  Best case - remove that nag screen.  Fedora 7 on back to 1, and
Redhat 6-9, didn't nag.  Acceptable case - add a check-box with "never try to be
my mother again."

No, I'm not trying to be a pain.  That screen is annoying.  X-Sane has always
done that and I find that Insane.  Let's just stop.
Comment 1 Matěj Cepl 2008-01-30 11:54:35 EST
This is very rare nagging for really highly questionable operation. There is a
long line of reasons why using Xorg as a root is really bad idea (breaking
ConsoleKit and PolicyKit is just one of them), and it should be said to any user
trying to do it, that it is such. I believe that we are not nagging anybody
without a really good reason, and it is one of those rare cases.

Closing as NOTABUG
Comment 2 Joseph A. Farmer 2008-01-30 12:45:15 EST
It's not a "really highly questionable operation."  Not everyone cares about
ConsoleKit and PolicyKit.  Got that? I own the computer.  There is never any
reason to nag a person more than once.

Add a check-box to disable it after the first time.

Is this Redhat adding this or does X do it?  I'd be interested in which package
I'll need to recompile after I tear that out.
Comment 3 Matěj Cepl 2008-01-30 15:08:18 EST
Well, if you have Fedora, you have your system full of ConsoleKit and PolicyKit,
whether you like it or not. And if you are able to get rid of them, getting rid
of this dialog should be piece of cake for you.

So, yes you are right -- it was closed in mistake. This should not be NOTABUG,
Comment 4 Joseph A. Farmer 2008-01-30 16:46:27 EST
WONTFIX would be more accurate as it's upstream.  I'll file a bug with them.

<yoursnide>And if you are able to get rid of them, getting rid
of this dialog should be piece of cake for you.</yoursnide>

You've lost sight of what I'm after my little friend.  I want that dialog gone:

gsm_check_for_root (void)
// simple fix no? 


// everything after here is just noise.

  GtkWidget *dlg;
  gint       response;

  if (geteuid () != 0)
    return FALSE;

  dlg = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING,
                                _("This session is running as a privileged user"));
  gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dlg),
                                            _("Running a session as a privileged
user should be avoided for security reasons. If possible, you should log in as a
normal user."));

  gtk_dialog_add_buttons (GTK_DIALOG (dlg),
                          _("_Continue"), ROOTSESSION_RESPONSE_CONTINUE,
  gtk_dialog_set_default_response (GTK_DIALOG (dlg),
  gtk_window_set_title (GTK_WINDOW (dlg), "");
  gtk_window_set_position (GTK_WINDOW (dlg), GTK_WIN_POS_CENTER);

  response = gtk_dialog_run (GTK_DIALOG (dlg));
  gtk_widget_destroy (dlg);

  return !(response == ROOTSESSION_RESPONSE_CONTINUE);

Comment 5 Matěj Cepl 2008-01-30 19:36:55 EST
(In reply to comment #4)
> You've lost sight of what I'm after my little friend.
> I want that dialog gone:

I totally understand what you are after -- I didn't want to be nasty to you,
just to tell, that this won't change in the Fedora packages, so if you want to
have it removed against our advice, then you have to make your patch and
maintain it throughout the development of the subsequent releases of Fedora.
Apparently I was right, and this is not a big deal for you.

But there is really no point in maintaining this conversation; as they say it
can serve no purpose.

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