You are not logged in.

#1 2015-10-16 16:28:49

Kolga
Member
Registered: 2015-09-29
Posts: 14

GNOME default app won't start

Hello,

I managed to install Arch on my laptop with GNOME. Problem is that I can't start any programs except Webbrowser and XTerm. Since I can't figure out how to copy/paste things out/in XTerm, I want to use the 'normal' Terminal.

Thanks in advance

Offline

#2 2015-10-16 16:33:57

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

Re: GNOME default app won't start

What do you mean you can't start any other programs?  Which ones can't you start?  Why can't you?  What happens when you try?  How do you try?

Give us something to work with here.

mod note: moved to N.C.


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

Offline

#3 2015-10-16 16:36:55

Kolga
Member
Registered: 2015-09-29
Posts: 14

Re: GNOME default app won't start

Trilby wrote:

What do you mean you can't start any other programs?  Which ones can't you start?

I said I can't start any except Webbrowser and XTerm.

Trilby wrote:

What happens when you try?

I see it in the taskbar some seconds and then it quits itsself

Trilby wrote:

How do you try?

Opening menu/search bar and click at the icon

Offline

#4 2015-10-16 16:39:14

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

Re: GNOME default app won't start

Thanks for that information - but saying you can't start anything except those two still doesn't tell me anything.  I have no idea which programs you have installed.  If you only have webbrowser and xterm installed, then only being able to start those would be normal.  Obviously this isn't the case, but please give specific examples that fail.

The rest of this description is more useful, thanks.  Now can you try to run one of those failing programs from the Xterm you can open?  What output do you see in the terminal when you try to run a failing program?


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

Offline

#5 2015-10-16 16:49:06

Kolga
Member
Registered: 2015-09-29
Posts: 14

Re: GNOME default app won't start

When I start 'gnome-terminal' via Xterm I get following error

Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 0

Offline

#6 2015-10-16 17:18:00

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

Re: GNOME default app won't start

Thanks.  Running a program from a terminal is a good way to get diagnostic information.  I know that may look like a bunch of nonsense - honestly not being a gnome user it looks like nonsense to me to.  But we can plug bits of that into google, and the top results are right here on our own forums for related issues:

https://bbs.archlinux.org/viewtopic.php?id=180103

Better yet, they show the solution.  I suspect your locale is not set correctly.  Check out the thread linked above and let me know if you need help applying that solution.


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

Offline

#7 2015-10-16 18:22:28

Kolga
Member
Registered: 2015-09-29
Posts: 14

Re: GNOME default app won't start

Hi

I put

LANG="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="C"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL="en_US.UTF-8"

into /etc/locale.conf, and get the same error message, just with status 10 at the end of the message

When I start the terminal via XTerm with dbus-launch gnome-terminal it works

Offline

#8 2015-10-16 18:31:05

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

Re: GNOME default app won't start

Kolga wrote:

When I start the terminal via XTerm with dbus-launch gnome-terminal it works

Then I was likely wrong and it may not be locale related.  But just to be sure, can you post the output of the following two commands:

localectl
locale -a

If `dbus-launch gnome-terminal` does work, the problem may be with how you start X.  Do you use GDM, another DM, or startx/xinit?  If you use startx or xinit, can you share your ~/.xinitrc?


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

Offline

#9 2015-10-16 21:02:06

Kolga
Member
Registered: 2015-09-29
Posts: 14

Re: GNOME default app won't start

Hello

Here's the output of following files:
localectl

   System Locale: LANG=en_US.UTF-8
                  LC_COLLATE=C
       VC Keymap: de-latin1-nodeadkeys
      X11 Layout: de
       X11 Model: pc105
     X11 Variant: nodeadkeys
     X11 Options: terminate:ctrl_alt_bksp

locale -a

C
POSIX
en_US.utf8

~/.xinitrc

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*. ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

#twm &
#xclock -geometry 50x50-1+1 &
#xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
#exec xterm -geometry 80x66+0+0 -name login

xscreensaver &
xsetroot -cursor_name left_ptr &
#exec openbox-session
exec gnome-session

Also I noted, when I opened the Terminal via 'dbus-launch gnome-terminal', I can launch another terminal with gnome-terminal  inside the opened one

Offline

#10 2015-10-16 22:24:05

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

Re: GNOME default app won't start

Change 'exec gnome-session' to the following:

exec dbus-launch --exit-with-session gnome-session

And see if that works.


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

Offline

#11 2015-10-16 22:39:14

Kolga
Member
Registered: 2015-09-29
Posts: 14

Re: GNOME default app won't start

Ah thanks, works now smile

Offline

Board footer

Powered by FluxBB