Bug 1246917

Summary: unetbootin requests to be run as root but fails to display properly when run as root
Product: [Fedora] Fedora Reporter: Alex Villacís Lasso <alexvillacislasso>
Component: unetbootinAssignee: Kalpa Welivitigoda <callkalpa>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 22CC: callkalpa, lrintel
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-04 10:09:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alex Villacís Lasso 2015-07-26 23:08:18 UTC
Description of problem:
When run as a normal user, unetbootin displays a message requesting to be run as root.

When run as root, unetbootin just displays a gray window. The console shows the following messages:
[alex@karlalex ~]$ su - -c '/usr/bin/unetbootin'
Contraseña: 
X Error: BadAccess (attempt to access private resource denied) 10
  Extension:    130 (MIT-SHM)
  Minor opcode: 1 (X_ShmAttach)
  Resource id:  0x125
X Error: BadShmSeg (invalid shared segment parameter) 128
  Extension:    130 (MIT-SHM)
  Minor opcode: 5 (X_ShmCreatePixmap)
  Resource id:  0x7d
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2000010
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2000010


Version-Release number of selected component (if applicable):
unetbootin-608-3.fc22.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Attempt to run /usr/bin/unetbootin as root
2.
3.

Actual results:
Blank window and X errors on console

Expected results:
Application widgets should display normally

Additional info:

When run anyway as an ordinary user, unetbootin performs all of the steps for creating the USB stick, except that it *silently* fails to run syslinux on it. The user is left with an unbootable stick with no warning at all.

Comment 1 Lubomir Rintel 2015-08-04 10:09:40 UTC

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