You are not logged in.

#1 2017-02-20 11:28:41

Zoid
Member
Registered: 2017-02-20
Posts: 5

Gnome software will not start

I installed Arch Linux onto my laptop laptop last night and installed the GNOME desktop enviroment which means the GNOME software center was also isntalled. There's one issue tho'. GNOME software will not start at all. If the GUI icon is clicked the cursor just spins for a second then nothing but if I issue the command "sudo gnome-software" I get:

No protocol specified
Unable to init server: Could not connect: Connection refused

(gnome-software:2266): Gtk-WARNING **: cannot open display: :0

If I do not appened sudo the command just hangs in the terminal and it prints "Timeout was reached".

Any help? Thank you in advanced.

Last edited by Zoid (2017-02-20 11:33:33)

Offline

#2 2017-02-20 12:12:26

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: Gnome software will not start

Do not use sudo for GUI programs: use gsku.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2017-02-20 12:16:16

Zoid
Member
Registered: 2017-02-20
Posts: 5

Re: Gnome software will not start

Trilby wrote:

Do not use sudo for GUI programs: use gsku.

How would I fix it for the GUI icon?

Offline

#4 2017-02-20 12:21:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: Gnome software will not start

First identify the problem.  Does it work with gksu?

Your initial post doesn't include enough information to have any idea what the problem is.  If the software center runs with gksu, then the problem is just with the icon - in which case we'd need to know what icon you are talking about.  If it doesn't run with gksu then it would support your initial claims that the software center will not run at all which would suggest there is a problem with that package itself.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2017-02-20 12:23:52

Zoid
Member
Registered: 2017-02-20
Posts: 5

Re: Gnome software will not start

Trilby wrote:

Do not use sudo for GUI programs: use gsku.

I still get this error:

(gnome-software:2042): Gtk-WARNING **: cannot open display: :0

Offline

#6 2017-02-20 12:25:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: Gnome software will not start

Are you running gnome on xorg or wayland?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2017-02-20 12:25:44

Zoid
Member
Registered: 2017-02-20
Posts: 5

Re: Gnome software will not start

Trilby wrote:

Are you running gnome on xorg or wayland?

Wayland

Last edited by Zoid (2017-02-20 12:48:16)

Offline

#8 2017-02-20 12:34:03

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Gnome software will not start

1) Never use sudo for graphical applications, you should use gksudo instead.

2) Are you running the default Wayland session? This is known to have issues, try the Gnome on Xorg session instead.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#9 2017-02-20 12:49:36

Zoid
Member
Registered: 2017-02-20
Posts: 5

Re: Gnome software will not start

slithery wrote:

1) Never use sudo for graphical applications, you should use gksudo instead.

2) Are you running the default Wayland session? This is known to have issues, try the Gnome on Xorg session instead.


Gksu doesn't seem to help with my issue. I enter my password but nothing actually happens.

Running it with Xorg seems to fix it. Can they wayland issue be fixed?

Last edited by Zoid (2017-02-20 12:51:14)

Offline

Board footer

Powered by FluxBB