Bug 802680 - Gnome freeze after run gedit with root privileges, can't login after restart X
Summary: Gnome freeze after run gedit with root privileges, can't login after restart X
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: GNOME (show other bugs)
Version: 13.1 Beta 1
Hardware: 64bit Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-07 19:40 UTC by Grzegorz Białek
Modified: 2013-09-15 12:51 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Gnome crash log. (31.59 KB, application/octet-stream)
2013-02-11 18:36 UTC, Grzegorz Białek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Białek 2013-02-07 19:40:08 UTC
User-Agent:       Opera/9.80 (Windows NT 6.1; WOW64; openSUSE) Presto/2.12.388 Version/12.14

When I run gedit with root privileges (using gnome terminal) and go with the mouse on the "Preview" environment fezzes. After restart X server (Ctrl + Alt + Backspace x2), login manager loads correctly - but when I click on the user name, the system loading for a moment and then returns back to the login screen. When I'm select a different user and entering the login manually, I'm get the error message: invalid UTF-8. After that login manager return back to the login screen. The environment is Gnome 3.6. I'm have Lenovo G570 notebook.

Reproducible: Always

Steps to Reproduce:
1.Open gnome terminal, login as a root, open a text file using gedit.
2.Click the Preview button in left up corner. After fezzes, restart X server.
3. Try to login.
Actual Results:  
I'm can't log in the system.
Comment 1 Dominique Leuenberger 2013-02-09 00:02:36 UTC
Grzegorz,

I have the feeling to see two bugs... let's first try to understand the setup:
- Am I right in assuming that you generally use 'auto login' on your machine?

If so, can you please verify with
  rpm -q --changelog gdm
what the latest entries is (the top)

you should have at least
* Sun Jan 20 2013 dimstar@opensuse.org
- Add gdm-autologin-session-logout.patch: Fix login after logging
  out from a auto-login session (bgo#682467)


(there might be even one more above this).

If that is not there, then please try to upgrade gdm from the Factory repository. This should at least resolve the 'can no longer login' issue.

It does not solve the crash you see itself.

For the crash:
Can you please explain all the steps you perform? Also, try to attach log files you could find, like:
/var/log/messages
/var/log/gdm/*
~/.cache/gdm/*

Thank you very much!
Comment 2 Grzegorz Białek 2013-02-11 18:36:32 UTC
Created attachment 524199 [details]
Gnome crash log.

/var/log/message
Comment 3 Grzegorz Białek 2013-02-11 18:44:57 UTC
Hi, thanks for quick answer. Yes, I'm using the autologin option, after update gdm its work fine. Crash with gedit and gnome still exist. I'm place a log as a attachment. 

Operation that I'm performs:

1. Open a gnome terminal.
2. Use "su -" to log as a root.
3. Enter the password.
4. Open file using gedit "gedit /etc/fstab/"
5. Go with mouse at the "Preview" button.
6. System is fezzes.

Sorry for my bad English.

Regards
Grzegorz
Comment 4 Dominique Leuenberger 2013-05-14 21:56:44 UTC
*** Bug 819891 has been marked as a duplicate of this bug. ***
Comment 5 Dominique Leuenberger 2013-09-15 12:51:00 UTC
I'll close this bug
AS earlier identified, we had two issues here:
- The updated gdm solved one part
- runnig gedit as su is non-functional (still is), but this is already tracked in bug 814626 as well.