RE: F25 Workstation - Problem gparted

2016-12-09 Thread Steven Usdansky
This looks like the same problem I was having running any gui app as root
from a terminal window using sudo or su in both LXDE and Mate.

https://bugzilla.redhat.com/show_bug.cgi?id=1403041

Solution was to add the following line to /etc/pam.d/su and /etc/pam.d/sudo:

session optional pam_xauth.so systemuser=999
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


Re: F25 Workstation - Problem gparted

2016-11-28 Thread Chris Murphy
blivet-gui works on Wayland and baring any bugs it should be a
suitable replacement for gparted; and actually contains quite a bit
more functionality than gparted. It also asks for authentication but
based on what I'm seeing with ps, I'm gonna guess it's the GUI part
owned by the non-privileged user where the daemon doing the storage
modifications is owned by root.

[chris@f25h ~]$ ps aux | grep blivet
chris 6907  1.0  0.7 813432 64580 tty2 Sl+  22:29   0:01
/usr/bin/python3 /usr/bin/blivet-gui
root  6924  1.1  0.6 529380 51436 tty2 Sl+  22:29   0:01
/usr/bin/python3 /usr/bin/blivet-gui-daemon 1000

Chris Murphy
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


Re: F25 Workstation - Problem gparted

2016-11-28 Thread Ed Greshko


On 11/29/16 00:18, Adam Williamson wrote:
> On Mon, 2016-11-28 at 20:41 +0800, Ed Greshko wrote:
>> On 11/28/16 20:33, Joerg Lechner wrote:
>>> can not start gparted see protocol from terminal. Does anyone know, whats 
>>> to do?
>> gparted will not run in a GNOME-Wayland session.
>>
>> Run GNOME in X11 to run gparted.
> This is because it tries to run with root privileges, right?

Right.   I was remiss in only stating how to get gparted to run, not why it 
wouldn't run. 

Thanks for stepping in.

-- 
You're Welcome Zachary Quinto
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


Re: F25 Workstation - Problem gparted

2016-11-28 Thread Adam Williamson
On Mon, 2016-11-28 at 12:40 -0500, Joerg Lechner wrote:
> Hi,
> tried to start gparted out of an xterm with su and  pw no success.
> Logged in as root, xterm, gparted started. What's in this case the
> difference in giving as user su and pw and beeing logged in as root?

Wayland does not allow this.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1274451
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


Re: F25 Workstation - Problem gparted

2016-11-28 Thread Joerg Lechner

Hi,
tried to start gparted out of an xterm with su and  pw no success. Logged in as 
root, xterm, gparted started. What's in this case the difference in giving as 
user su and pw and beeing logged in as root?

see log copied from xterm:

[joerg@linux ~]$ su
Passwort: 
[root@linux joerg]# gparted
Created symlink /run/systemd/system/-.mount → /dev/null.
Created symlink /run/systemd/system/boot-efi.mount → /dev/null.
Created symlink /run/systemd/system/boot.mount → /dev/null.
Created symlink /run/systemd/system/home.mount → /dev/null.
Created symlink /run/systemd/system/proc-fs-nfsd.mount → /dev/null.
Created symlink /run/systemd/system/run-user-0.mount → /dev/null.
Created symlink /run/systemd/system/run-user-1000.mount → /dev/null.
Created symlink /run/systemd/system/run-user-42.mount → /dev/null.
Created symlink /run/systemd/system/tmp.mount → /dev/null.
Created symlink /run/systemd/system/var-lib-machines.mount → /dev/null.
Created symlink /run/systemd/system/var-lib-nfs-rpc_pipefs.mount → /dev/null.
No protocol specified

(gpartedbin:4086): Gtk-WARNING **: cannot open display: :0
Removed /run/systemd/system/-.mount.
Removed /run/systemd/system/boot-efi.mount.
Removed /run/systemd/system/boot.mount.
Removed /run/systemd/system/home.mount.
Removed /run/systemd/system/proc-fs-nfsd.mount.
Removed /run/systemd/system/run-user-0.mount.
Removed /run/systemd/system/run-user-1000.mount.
Removed /run/systemd/system/run-user-42.mount.
Removed /run/systemd/system/tmp.mount.
Removed /run/systemd/system/var-lib-machines.mount.
Removed /run/systemd/system/var-lib-nfs-rpc_pipefs.mount.
[root@linux joerg]# 


Kind regards

 

 

 

-Ursprüngliche Mitteilung- 
Von: Adam Williamson 
An: For testing and quality assurance of Fedora releases 

Verschickt: Mo, 28 Nov 2016 5:19 pm
Betreff: Re: F25 Workstation - Problem gparted

On Mon, 2016-11-28 at 20:41 +0800, Ed Greshko wrote:> > On 11/28/16 20:33, 
Joerg Lechner wrote:> > can not start gparted see protocol from terminal. Does 
anyone know, whats to do?> > gparted will not run in a GNOME-Wayland session.> 
> Run GNOME in X11 to run gparted.This is because it tries to run with root 
privileges, right?-- Adam WilliamsonFedora QA Community MonkeyIRC: adamw | 
Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . 
nethttp://www.happyassassin.net___test
 mailing list -- test@lists.fedoraproject.orgTo unsubscribe send an email to 
test-le...@lists.fedoraproject.org

___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


Re: F25 Workstation - Problem gparted

2016-11-28 Thread Adam Williamson
On Mon, 2016-11-28 at 20:41 +0800, Ed Greshko wrote:
> 
> On 11/28/16 20:33, Joerg Lechner wrote:
> > can not start gparted see protocol from terminal. Does anyone know, whats 
> > to do?
> 
> gparted will not run in a GNOME-Wayland session.
> 
> Run GNOME in X11 to run gparted.

This is because it tries to run with root privileges, right?
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


Re: F25 Workstation - Problem gparted

2016-11-28 Thread Ed Greshko


On 11/28/16 20:33, Joerg Lechner wrote:
> can not start gparted see protocol from terminal. Does anyone know, whats to 
> do?

gparted will not run in a GNOME-Wayland session.

Run GNOME in X11 to run gparted.



-- 
You're Welcome Zachary Quinto
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


F25 Workstation - Problem gparted

2016-11-28 Thread Joerg Lechner
Hi,
can not start gparted see protocol from terminal. Does anyone know, whats to do?

[root@linux joerg]# gparted
Created symlink /run/systemd/system/-.mount → /dev/null.
Created symlink /run/systemd/system/boot-efi.mount → /dev/null.
Created symlink /run/systemd/system/boot.mount → /dev/null.
Created symlink /run/systemd/system/home.mount → /dev/null.
Created symlink /run/systemd/system/proc-fs-nfsd.mount → /dev/null.
Created symlink /run/systemd/system/run-user-1000.mount → /dev/null.
Created symlink /run/systemd/system/run-user-42.mount → /dev/null.
Created symlink /run/systemd/system/tmp.mount → /dev/null.
Created symlink /run/systemd/system/var-lib-machines.mount → /dev/null.
Created symlink /run/systemd/system/var-lib-nfs-rpc_pipefs.mount → /dev/null.
No protocol specified

(gpartedbin:2671): Gtk-WARNING **: cannot open display: :0
Removed /run/systemd/system/-.mount.
Removed /run/systemd/system/boot-efi.mount.
Removed /run/systemd/system/boot.mount.
Removed /run/systemd/system/home.mount.
Removed /run/systemd/system/proc-fs-nfsd.mount.
Removed /run/systemd/system/run-user-1000.mount.
Removed /run/systemd/system/run-user-42.mount.
Removed /run/systemd/system/tmp.mount.
Removed /run/systemd/system/var-lib-machines.mount.
Removed /run/systemd/system/var-lib-nfs-rpc_pipefs.mount.
[root@linux joerg]# 

Kind regards

___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org