You are not logged in.

#1 2017-02-08 02:11:58

ozooha
Member
Registered: 2009-09-29
Posts: 174

SOLVED: gnome-terminal issues gdm but works when gdm disabled

gnome-terminal works fine when I start the gdm.service and log in using the display manger.
It give me this error:

$gnome-terminal
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached

gnome-terminal does works fine when I log in (do not use a display manger) using startx

I have seen all the threads about locale-gen etc and that does not work for me.

Any ideas.
Thanks for your attention.
OZooHA

Last edited by ozooha (2019-06-12 20:49:23)

Offline

#2 2017-02-08 02:59:05

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

I'm confused.  You say it works both ways?  What exactly isn't working?

Offline

#3 2017-02-08 03:47:35

ozooha
Member
Registered: 2009-09-29
Posts: 174

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

When i dont use the gdm.service to start the DE it does not work.
When i use the startx command to start the DE ( meaning disable gdm.service) it works.
I hope this helps.
Ozooha

Offline

#4 2017-02-08 08:19:51

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

"I hope this helps."

Not the least.
How exactly do you run the session when it does *not* work.
What are the outputs* (in code tags, please!) of "loginctl session-status" and "ps fax" in that (failing) case?

*loginctl will not finish, just dump the output "loginctl session-status > session.status 2>&1" and paste from that file.

Offline

#5 2017-02-09 01:20:16

ozooha
Member
Registered: 2009-09-29
Posts: 174

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

Here You go
When I use the gdm.service

c2 - ozooha (1000)
	   Since: Wed 2017-02-08 20:11:23 EST; 41s ago
	  Leader: 589 (gdm-session-wor)
	    Seat: seat0; vc2
	     TTY: /dev/tty2
	 Service: gdm-password; type x11; class user
	   State: active
	    Unit: session-c2.scope
		  |- 589 gdm-session-worker [pam/gdm-password]
		  |- 605 /usr/bin/gnome-keyring-daemon --daemonize --login
		  |- 609 /usr/lib/gdm/gdm-x-session --run-script gnome-session
		  |- 611 /usr/lib/xorg-server/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -verbose 3
		  |- 617 /usr/lib/gnome-session/gnome-session-binary
		  |- 657 /usr/bin/gnome-shell
		  |- 769 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
		  |- 782 /usr/lib/evolution/evolution-alarm-notify
		  |- 783 /usr/bin/gnome-software --gapplication-service
		  |- 796 /usr/lib/gnome-settings-daemon/gsd-printer
		  |- 805 /usr/lib/tracker/tracker-extract
		  |- 810 /usr/lib/tracker/tracker-miner-apps
		  |- 824 /usr/lib/tracker/tracker-miner-fs
		  |- 878 conky
		  |-1002 gnome-terminal
		  |-1013 xterm
		  |-1016 bash
		  `-1057 loginctl session-status

Feb 08 20:11:31 OZLinux libcanberra-login-sound.desktop[786]: Failed to play sound: File or data not found
Feb 08 20:11:31 OZLinux gnome-settings-[769]: g_task_return_error: assertion 'error != NULL' failed
Feb 08 20:11:32 OZLinux gnome-shell[657]: length values must specify a unit
Feb 08 20:11:32 OZLinux gnome-shell[657]: length values must specify a unit
Feb 08 20:11:32 OZLinux gnome-shell[657]: length values must specify a unit
Feb 08 20:11:32 OZLinux gnome-shell[657]: length values must specify a unit
Feb 08 20:11:32 OZLinux gnome-session-binary[617]: Entering running state
Feb 08 20:11:32 OZLinux tracker-store.desktop[798]: (uint32 1,)
Feb 08 20:11:32 OZLinux conky.desktop[785]: conky: forked to background, pid is 878
Feb 08 20:11:34 OZLinux gnome-shell[657]: GNOME Shell started at Wed Feb 08 2017 20:11:30 GMT-0500 (EST)

Now when I use the startx

c1 - ozooha (1000)
	   Since: Wed 2017-02-08 20:14:33 EST; 55s ago
	  Leader: 412 (login)
	    Seat: seat0; vc1
	     TTY: tty1
	 Service: login; type tty; class user
	   State: active
	    Unit: session-c1.scope
		  ├─ 412 login -- ozooha
		  ├─ 464 -bash
		  ├─ 493 /bin/sh /usr/bin/startx
		  ├─ 515 xinit /home/ozooha/.xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -auth /tmp/serverauth.AwRtA0O8HT
		  ├─ 516 /usr/lib/xorg-server/Xorg -nolisten tcp :0 vt1 -auth /tmp/serverauth.AwRtA0O8HT
		  ├─ 521 /usr/lib/gnome-session/gnome-session-binary
		  ├─ 568 /usr/bin/gnome-keyring-daemon --start --components=pkcs11
		  ├─ 576 /usr/bin/gnome-shell
		  ├─ 719 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
		  ├─ 733 /usr/lib/evolution/evolution-alarm-notify
		  ├─ 739 /usr/lib/gnome-settings-daemon/gsd-printer
		  ├─ 740 /usr/bin/gnome-software --gapplication-service
		  ├─ 757 /usr/lib/tracker/tracker-extract
		  ├─ 794 /usr/lib/tracker/tracker-miner-apps
		  ├─ 798 /usr/lib/tracker/tracker-miner-fs
		  ├─ 822 conky
		  ├─1025 xterm
		  ├─1028 bash
		  └─1062 loginctl session-status

Feb 08 20:14:52 OZLinux conky.desktop[742]: conky: drawing to double buffer
Feb 08 20:14:53 OZLinux libcanberra-login-sound.desktop[745]: Failed to play sound: File or data not found
Feb 08 20:14:53 OZLinux gnome-shell[576]: length values must specify a unit
Feb 08 20:14:53 OZLinux gnome-shell[576]: length values must specify a unit
Feb 08 20:14:53 OZLinux gnome-shell[576]: length values must specify a unit
Feb 08 20:14:53 OZLinux gnome-shell[576]: length values must specify a unit
Feb 08 20:14:53 OZLinux gnome-session-binary[521]: Entering running state
Feb 08 20:14:55 OZLinux gnome-shell[576]: GNOME Shell started at Wed Feb 08 2017 20:14:51 GMT-0500 (EST)
Feb 08 20:15:00 OZLinux gnome-keyring-daemon[568]: couldn't allocate secure memory to keep passwords and or keys from being written to the disk
Feb 08 20:15:00 OZLinux gnome-keyring-d[568]: couldn't allocate secure memory to keep passwords and or keys from being written to the disk

Now the ps fax when the gnome-terminal fails which is when the gdm.service is enabled.

  PID TTY      STAT   TIME COMMAND
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:00  \_ [ksoftirqd/0]
    4 ?        S      0:00  \_ [kworker/0:0]
    5 ?        S<     0:00  \_ [kworker/0:0H]
    6 ?        S      0:00  \_ [kworker/u8:0]
    7 ?        S      0:00  \_ [rcu_preempt]
    8 ?        S      0:00  \_ [rcu_sched]
    9 ?        S      0:00  \_ [rcu_bh]
   10 ?        S      0:00  \_ [migration/0]
   11 ?        S<     0:00  \_ [lru-add-drain]
   12 ?        S      0:00  \_ [watchdog/0]
   13 ?        S      0:00  \_ [cpuhp/0]
   14 ?        S      0:00  \_ [cpuhp/1]
   15 ?        S      0:00  \_ [watchdog/1]
   16 ?        S      0:00  \_ [migration/1]
   17 ?        S      0:00  \_ [ksoftirqd/1]
   18 ?        S      0:00  \_ [kworker/1:0]
   19 ?        S<     0:00  \_ [kworker/1:0H]
   20 ?        S      0:00  \_ [kdevtmpfs]
   21 ?        S<     0:00  \_ [netns]
   22 ?        S      0:00  \_ [khungtaskd]
   23 ?        S      0:00  \_ [oom_reaper]
   24 ?        S<     0:00  \_ [writeback]
   25 ?        S      0:00  \_ [kcompactd0]
   26 ?        SN     0:00  \_ [ksmd]
   27 ?        SN     0:00  \_ [khugepaged]
   28 ?        S<     0:00  \_ [crypto]
   29 ?        S<     0:00  \_ [kintegrityd]
   30 ?        S<     0:00  \_ [bioset]
   31 ?        S<     0:00  \_ [kblockd]
   32 ?        S      0:00  \_ [kworker/0:1]
   33 ?        S      0:00  \_ [kworker/1:1]
   34 ?        S<     0:00  \_ [devfreq_wq]
   35 ?        S<     0:00  \_ [watchdogd]
   36 ?        S      0:00  \_ [kworker/u8:1]
   37 ?        S      0:00  \_ [irq/24-AMD-Vi]
   38 ?        S      0:00  \_ [kswapd0]
   39 ?        S<     0:00  \_ [vmstat]
   48 ?        S<     0:00  \_ [kthrotld]
   49 ?        S<     0:00  \_ [ipv6_addrconf]
   86 ?        S<     0:00  \_ [ata_sff]
   87 ?        S      0:00  \_ [kworker/0:2]
   88 ?        S      0:00  \_ [scsi_eh_0]
   89 ?        S<     0:00  \_ [scsi_tmf_0]
   90 ?        S      0:00  \_ [scsi_eh_1]
   91 ?        S<     0:00  \_ [scsi_tmf_1]
   92 ?        S      0:00  \_ [scsi_eh_2]
   93 ?        S<     0:00  \_ [scsi_tmf_2]
   94 ?        S      0:00  \_ [scsi_eh_3]
   95 ?        S<     0:00  \_ [scsi_tmf_3]
   96 ?        S      0:00  \_ [scsi_eh_4]
   97 ?        S<     0:00  \_ [scsi_tmf_4]
   98 ?        S      0:00  \_ [scsi_eh_5]
   99 ?        S<     0:00  \_ [scsi_tmf_5]
  100 ?        S      0:00  \_ [scsi_eh_6]
  101 ?        S<     0:00  \_ [scsi_tmf_6]
  102 ?        S      0:00  \_ [scsi_eh_7]
  103 ?        S<     0:00  \_ [scsi_tmf_7]
  104 ?        S      0:00  \_ [kworker/u8:2]
  105 ?        S      0:00  \_ [kworker/u8:3]
  106 ?        S      0:00  \_ [kworker/u8:4]
  107 ?        S      0:00  \_ [kworker/u8:5]
  108 ?        S      0:00  \_ [kworker/u8:6]
  109 ?        S      0:00  \_ [kworker/u8:7]
  110 ?        S      0:00  \_ [kworker/u8:8]
  111 ?        S      0:00  \_ [kworker/u8:9]
  112 ?        S      0:00  \_ [kworker/u8:10]
  113 ?        S      0:00  \_ [kworker/1:2]
  114 ?        S      0:00  \_ [kworker/1:3]
  115 ?        S<     0:00  \_ [bioset]
  116 ?        S<     0:00  \_ [bioset]
  119 ?        S<     0:00  \_ [kworker/0:1H]
  120 ?        S<     0:00  \_ [kworker/1:1H]
  137 ?        S      0:00  \_ [jbd2/sda2-8]
  138 ?        S<     0:00  \_ [ext4-rsv-conver]
  165 ?        S      0:00  \_ [kworker/0:3]
  181 ?        S<     0:00  \_ [rpciod]
  182 ?        S<     0:00  \_ [xprtiod]
  215 ?        S<     0:00  \_ [amd_iommu_v2]
  216 ?        S<     0:00  \_ [ttm_swap]
  247 ?        S      0:00  \_ [rc0]
  249 ?        S<     0:00  \_ [edac-poller]
  275 ?        S<     0:00  \_ [cfg80211]
  291 ?        S      0:00  \_ [kworker/1:4]
  462 ?        S<     0:00  \_ [kworker/0:2H]
  589 ?        S<     0:00  \_ [kworker/1:2H]
  590 ?        S<     0:00  \_ [kworker/0:3H]
  591 ?        S<     0:00  \_ [kworker/1:3H]
  846 ?        S<     0:00  \_ [nfsiod]
  855 ?        S      0:00  \_ [NFSv4 callback]
    1 ?        Ss     0:00 /sbin/init
  173 ?        Ss     0:00 /usr/lib/systemd/systemd-journald
  191 ?        Ss     0:00 /usr/lib/systemd/systemd-udevd
  265 ?        Ssl    0:00 /usr/lib/systemd/systemd-timesyncd
  272 ?        Ss     0:00 /usr/lib/systemd/systemd-logind
  273 ?        Ss     0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
  278 ?        Ssl    0:00 /usr/bin/gssproxy -D
  287 ?        Ssl    0:00 /usr/bin/NetworkManager --no-daemon
  313 ?        Ss     0:00 /usr/lib/systemd/systemd-hostnamed
  315 ?        Ssl    0:00 /usr/lib/polkit-1/polkitd --no-debug
  405 ?        Ss     0:00 /usr/bin/dhcpcd -q -w enp1s0
  406 ?        Ssl    0:02 /usr/bin/acestreamengine --client-console --bind-all
  409 ?        Ss     0:00 /usr/sbin/lircd --nodaemon
  412 ?        Ssl    0:00 /usr/bin/gdm
  420 ?        Sl     0:00  \_ gdm-session-worker [pam/gdm-launch-environment]
  432 tty1     Ssl+   0:00  |   \_ /usr/lib/gdm/gdm-x-session gnome-session --autostart /usr/share/gdm/greeter/autostart
  434 tty1     Sl+    0:01  |       \_ /usr/lib/xorg-server/Xorg vt1 -displayfd 3 -auth /run/user/120/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -verbose 3
  477 tty1     Sl+    0:00  |       \_ /usr/lib/gnome-session/gnome-session-binary --autostart /usr/share/gdm/greeter/autostart
  502 tty1     Sl+    0:03  |           \_ /usr/bin/gnome-shell
  557 tty1     Sl+    0:00  |           \_ /usr/lib/gnome-settings-daemon/gnome-settings-daemon
  574 tty1     S+     0:00  |           \_ xbrlapi -q
  593 ?        Sl     0:00  \_ gdm-session-worker [pam/gdm-password]
  614 tty2     Ssl+   0:00      \_ /usr/lib/gdm/gdm-x-session --run-script gnome-session
  616 tty2     Sl+    0:02          \_ /usr/lib/xorg-server/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -verbose 3
  623 tty2     Sl+    0:00          \_ /usr/lib/gnome-session/gnome-session-binary
  662 tty2     Sl+    0:09              \_ /usr/bin/gnome-shell
  773 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gnome-settings-daemon
  786 tty2     Sl+    0:00              \_ /usr/lib/evolution/evolution-alarm-notify
  787 tty2     Sl+    0:01              \_ /usr/bin/gnome-software --gapplication-service
  797 tty2     SNl+   0:00              \_ /usr/lib/tracker/tracker-extract
  800 tty2     SNl+   0:00              \_ /usr/lib/tracker/tracker-miner-apps
  801 tty2     SNl+   0:00              \_ /usr/lib/tracker/tracker-miner-fs
  416 ?        Ssl    0:00 /usr/lib/accountsservice/accounts-daemon
  424 ?        Ss     0:00 /usr/lib/systemd/systemd --user
  425 ?        S      0:00  \_ (sd-pam)
  461 ?        Ss     0:00  \_ /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
  484 ?        Ssl    0:00  \_ /usr/lib/at-spi2-core/at-spi-bus-launcher
  490 ?        S      0:00  |   \_ /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
  493 ?        Sl     0:00  \_ /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
  538 ?        Ssl    0:00  \_ /usr/bin/pulseaudio --daemonize=no
  552 ?        Ssl    0:00  \_ /usr/lib/flatpak/xdg-permission-store
  507 ?        Ssl    0:00 /usr/lib/upower/upowerd
  539 ?        SNsl   0:00 /usr/lib/rtkit/rtkit-daemon
  548 ?        Ss     0:00 /usr/lib/systemd/systemd-localed
  556 ?        Ss     0:00 /usr/bin/wpa_supplicant -u
  564 ?        Ssl    0:00 /usr/lib/PackageKit/packagekitd
  575 ?        Ssl    0:00 /usr/lib/colord/colord
  601 ?        Ss     0:00 /usr/lib/systemd/systemd --user
  602 ?        S      0:00  \_ (sd-pam)
  621 ?        Ss     0:00  \_ /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
  638 ?        Ssl    0:00  \_ /usr/lib/at-spi2-core/at-spi-bus-launcher
  643 ?        S      0:00  |   \_ /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
  646 ?        Sl     0:00  \_ /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
  666 ?        Ssl    0:00  \_ /usr/lib/gvfs/gvfsd
  671 ?        Sl     0:00  \_ /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
  688 ?        S<sl   0:00  \_ /usr/bin/pulseaudio --daemonize=no
  694 ?        Sl     0:00  \_ /usr/lib/gnome-shell/gnome-shell-calendar-server
  700 ?        SLsl   0:00  \_ /usr/lib/evolution-data-server/evolution-source-registry
  702 ?        Ssl    0:00  \_ /usr/lib/flatpak/xdg-permission-store
  713 ?        Sl     0:00  \_ /usr/lib/telepathy/mission-control-5
  718 ?        Sl     0:00  \_ /usr/lib/gnome-online-accounts/goa-daemon
  723 ?        Sl     0:00  \_ /usr/lib/dconf/dconf-service
  730 ?        Ssl    0:00  \_ /usr/lib/gvfs/gvfsd-metadata
  731 ?        Ssl    0:00  \_ /usr/lib/gvfs/gvfs-udisks2-volume-monitor
  735 ?        Sl     0:00  \_ /usr/lib/gnome-online-accounts/goa-identity-service
  755 ?        Ssl    0:00  \_ /usr/lib/gvfs/gvfs-goa-volume-monitor
  759 ?        Ssl    0:00  \_ /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
  763 ?        Ssl    0:00  \_ /usr/lib/gvfs/gvfs-afc-volume-monitor
  768 ?        Ssl    0:00  \_ /usr/lib/gvfs/gvfs-mtp-volume-monitor
  802 ?        Ssl    0:00  \_ /usr/lib/tracker/tracker-store
  831 ?        Ssl    0:00  \_ /usr/lib/evolution-data-server/evolution-calendar-factory
  886 ?        Sl     0:00  |   \_ /usr/lib/evolution-data-server/evolution-calendar-factory-subprocess --factory contacts --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx831x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/831/2
  907 ?        Sl     0:00  |   \_ /usr/lib/evolution-data-server/evolution-calendar-factory-subprocess --factory caldav --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx831x3 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/831/3
  923 ?        Sl     0:00  |   \_ /usr/lib/evolution-data-server/evolution-calendar-factory-subprocess --factory local --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx831x4 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/831/4
  935 ?        Sl     0:00  |   \_ /usr/lib/evolution-data-server/evolution-calendar-factory-subprocess --factory gtasks --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx831x5 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/831/5
  910 ?        Ssl    0:00  \_ /usr/lib/evolution-data-server/evolution-addressbook-factory
  961 ?        Sl     0:00      \_ /usr/lib/evolution-data-server/evolution-addressbook-factory-subprocess --factory local --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx910x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/910/2
  610 ?        SLl    0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
  701 ?        Ssl    0:00 /usr/lib/geoclue2/geoclue -t 5
  745 ?        Ssl    0:00 /usr/lib/udisks2/udisksd --no-debug
  785 ?        Ss     0:00 /usr/lib/systemd/systemd-timedated
  790 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
  882 tty2     Sl+    0:00 conky
 1019 tty2     Sl+    0:00 gnome-terminal
 1029 tty2     S+     0:00 xterm
 1032 pts/0    Ss     0:00  \_ bash
 1058 pts/0    R+     0:00      \_ ps fax

I hope this helps now. Let me know if you require any further clarifications.
OZooHA

Last edited by ozooha (2017-02-09 01:25:22)

Offline

#6 2017-02-09 08:25:39

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

Hah?
Ok, now you say it fails when using gdm, but in contradiction there's actually a gnome-terminal process in that case, but none in the startx case...

I'm not sure whether this is a matter of google translate or you're just kidding, but my best guess would be that you didn't attempt to start the terminal when dumping those outputs and the gdm session contains a somehow restored and deadlocked gnome-terminal process why the dbus invocation (of that process) fails.

For a wild guess, try to "pkill gnome-terminal" before attempting to open a (then new) instance.

Offline

#7 2017-02-09 14:28:31

ozooha
Member
Registered: 2009-09-29
Posts: 174

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

seth wrote:

Hah?
Ok, now you say it fails when using gdm, but in contradiction there's actually a gnome-terminal process in that case, but none in the startx case...

I had started a gnome-terminal in each case to capture them in the log. In case of the the gdm it of course failed as I mentioned earlier in this thread.

I'm not sure whether this is a matter of google translate or you're just kidding, but my best guess would be that you didn't attempt to start the terminal when dumping those outputs and the gdm session contains a somehow restored and deadlocked gnome-terminal process why the dbus invocation (of that process) fails.

For a wild guess, try to "pkill gnome-terminal" before attempting to open a (then new) instance.

Below is the session when I do not open a gnome-terminal.

c2 - ozooha (1000)
	   Since: Thu 2017-02-09 09:24:59 EST; 30s ago
	  Leader: 594 (gdm-session-wor)
	    Seat: seat0; vc2
	     TTY: /dev/tty2
	 Service: gdm-password; type x11; class user
	   State: active
	    Unit: session-c2.scope
		  |- 594 gdm-session-worker [pam/gdm-password]
		  |- 610 /usr/bin/gnome-keyring-daemon --daemonize --login
		  |- 614 /usr/lib/gdm/gdm-x-session --run-script gnome-session
		  |- 616 /usr/lib/xorg-server/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -verbose 3
		  |- 623 /usr/lib/gnome-session/gnome-session-binary
		  |- 664 /usr/bin/gnome-shell
		  |- 775 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
		  |- 788 /usr/lib/evolution/evolution-alarm-notify
		  |- 789 /usr/bin/gnome-software --gapplication-service
		  |- 804 /usr/lib/gnome-settings-daemon/gsd-printer
		  |- 814 /usr/lib/tracker/tracker-extract
		  |- 830 /usr/lib/tracker/tracker-miner-apps
		  |- 833 /usr/lib/tracker/tracker-miner-fs
		  |- 860 conky
		  |-1015 xterm
		  |-1018 bash
		  `-1042 loginctl session-status

Feb 09 09:25:07 OZLinux libcanberra-login-sound.desktop[792]: Failed to play sound: File or data not found
Feb 09 09:25:07 OZLinux gnome-settings-[775]: g_task_return_error: assertion 'error != NULL' failed
Feb 09 09:25:07 OZLinux gnome-session-binary[623]: Entering running state
Feb 09 09:25:07 OZLinux gnome-shell[664]: length values must specify a unit
Feb 09 09:25:07 OZLinux gnome-shell[664]: length values must specify a unit
Feb 09 09:25:07 OZLinux gnome-shell[664]: length values must specify a unit
Feb 09 09:25:07 OZLinux gnome-shell[664]: length values must specify a unit
Feb 09 09:25:07 OZLinux conky.desktop[791]: conky: forked to background, pid is 860
Feb 09 09:25:08 OZLinux tracker-store.desktop[806]: (uint32 1,)
Feb 09 09:25:10 OZLinux gnome-shell[664]: GNOME Shell started at Thu Feb 09 2017 09:25:06 GMT-0500 (EST)

So again for my edification what are you looking for and why?
OZooHA

Last edited by ozooha (2017-02-09 14:30:00)

Offline

#8 2017-02-09 15:04:54

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

as I mentioned earlier in this thread

Actually not - you may want to read your posts again ;-)

In case of the the gdm it of course failed as I mentioned earlier in this thread.

And here it gets weird, because your former posts says there's a gnome-terminal in the gdm case and none in the  startx case.

I was looking for a dbus session daemon (which *is* there in the claimed gdm case; you didn't provide a process list for the startx case) but am actually still not sure about the actually failing condition.

Anyway, since there's a dbus session daemon, it very most likely *will* be the locale issue, so let's ensure everything is alright there.
Please dump

localectl
locale
locale -a

Offline

#9 2017-02-09 16:06:04

ozooha
Member
Registered: 2009-09-29
Posts: 174

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

Here you go.

[ozooha@OZLinux ~]$ localectl 
   System Locale: LANG=en_US.UTF-8
       VC Keymap: n/a
      X11 Layout: n/a
[ozooha@OZLinux ~]$ locale    
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="en_US.UTF-8"
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
[ozooha@OZLinux ~]$ locale -a
C
POSIX
en_US.utf8

Last edited by ozooha (2017-02-09 16:50:25)

Offline

#10 2017-02-09 17:21:59

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

The mail I got had all locales on "C" (except for "LC_ALL=") - what changed between your original post and your edit?

Offline

#11 2017-02-09 17:35:30

ozooha
Member
Registered: 2009-09-29
Posts: 174

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

seth wrote:

The mail I got had all locales on "C" (except for "LC_ALL=") - what changed between your original post and your edit?

I put these in my .bashrc
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
and rebooted.
And nothing changed.
OZooHA

Offline

#12 2017-02-09 17:42:41

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

Yeah, your .bashrc has exactly zero impact on the gnome shell (ie. where the terminal is launched from)
Remove that again, it's stashing the problem for the worse.

You *are* facing the locale problem - see https://bugs.archlinux.org/task/50069
There's a patch and apparently this also got fixed in latest updates.

Offline

#13 2017-02-09 17:54:07

ozooha
Member
Registered: 2009-09-29
Posts: 174

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

I had to follow this thread and it got solved.
https://www.reddit.com/r/archlinux/comm … e_problem/
my /etc/locale.conf looks like this

[ozooha@OZLinux ~]$ more /etc/locale.conf 
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
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

Offline

#14 2017-02-09 18:05:10

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

Locale#LANG:_default_locale means you should be able to remove all the lines starting LC from /etc/locale.conf
Locale#LANGUAGE:_fallback_locales as there is only one value specified for LANGUAGE it does not serve any function
From the above your locale should be equivalent to

LANG=en_US.UTF-8

Offline

#15 2017-02-09 18:10:33

ozooha
Member
Registered: 2009-09-29
Posts: 174

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

loqs wrote:

Locale#LANG:_default_locale means you should be able to remove all the lines starting LC from /etc/locale.conf
Locale#LANGUAGE:_fallback_locales as there is only one value specified for LANGUAGE it does not serve any function
From the above your locale should be equivalent to

LANG=en_US.UTF-8

Does not work loqs until I filled the enitre locale.conf ( see the above post)
if you start the gdm.service then this filling the entire locale.conf up is a requirement and not just having the LANG=en_US.UTF-8.
However if you don't go through the gdm.service route or use startx then having LANG=en_US.UTF-8 in your locale.conf is enough.
This is what I went through but for now the problem is solved. smile
OZooHA

Last edited by ozooha (2017-02-09 18:17:43)

Offline

#16 2017-02-09 18:11:45

ozooha
Member
Registered: 2009-09-29
Posts: 174

Re: SOLVED: gnome-terminal issues gdm but works when gdm disabled

seth wrote:

Yeah, your .bashrc has exactly zero impact on the gnome shell (ie. where the terminal is launched from)
Remove that again, it's stashing the problem for the worse.

You *are* facing the locale problem - see https://bugs.archlinux.org/task/50069
There's a patch and apparently this also got fixed in latest updates.

Had seen that but it did not help me as I wan't getting those updates from the repo.
Yes you are right the .bashrc has  zero impact so I removed it.
Thanks for everything though.
OZooHA

Last edited by ozooha (2017-02-09 18:16:54)

Offline

Board footer

Powered by FluxBB