Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Terminator not starting

  1. #1

    Default Terminator not starting

    Hi,

    I'm trying opensuse for the first time an I would like to use it as my daily distribution.
    The only thing that's not working is termiantor, it complains about $DISPLAY:

    5006415:~ #terminator
    You need to run terminator in an X environment. Make sure $DISPLAY is properly set

    I read about problems when the hostname, /etc/hosts or the $DISPALY is not properly set so I tried different setups:

    Here is the actual:
    5006415:~ # echo $DISPLAY
    :0
    5006415:~ # cat /etc/hostname
    5006415
    5006415:~ # cat /etc/hosts
    #
    # hosts This file describes a number of hostname-to-address
    # mappings for the TCP/IP subsystem. It is mostly
    # used at boot time, when no name servers are running.
    # On small systems, this file can be used instead of a
    # "named" name server.
    # Syntax:
    #
    # IP-Address Full-Qualified-Hostname Short-Hostname
    #

    127.0.0.1 localhost

    # special IPv6 addresses
    ::1 localhost ipv6-localhost ipv6-loopback

    fe00::0 ipv6-localnet

    ff00::0 ipv6-mcastprefix
    ff02::1 ipv6-allnodes
    ff02::2 ipv6-allrouters
    ff02::3 ipv6-allhosts


    I also searched for the corresponding line in /usr/bin/terminator and commented it out:

    # Check we have simple basics like Gtk+ and a valid $DISPLAY
    #try:
    # import gi
    # gi.require_version('Gtk','3.0')
    # # pylint: disable-msg=W0611
    # from gi.repository import Gtk, Gdk
    #
    # if Gdk.Display.get_default() == None:
    # print('You need to run terminator in an X environment. ' \
    # 'Make sure $DISPLAY is properly set')
    # sys.exit(1)


    Then this error comes up when stating terminator:


    5006415:~> terminator
    /usr/lib/python2.7/site-packages/terminatorlib/util.py:19: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
    from gi.repository import Gtk, Gdk

    (process:17581): Gdk-CRITICAL **: gdk_display_get_name: assertion 'GDK_IS_DISPLAY (display)' failed

    (process:17581): Gdk-CRITICAL **: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

    (process:17581): Gdk-CRITICAL **: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

    (process:17581): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed

    (process:17581): Gdk-CRITICAL **: gdk_keymap_have_bidi_layouts: assertion 'GDK_IS_KEYMAP (keymap)' failed
    /usr/lib/python2.7/site-packages/terminatorlib/window.py:24: Warning: invalid (NULL) pointer instance
    Keybinder.init()
    /usr/lib/python2.7/site-packages/terminatorlib/window.py:24: Warning: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
    Keybinder.init()
    Segmentation fault (core dumped)


    any advice how to continue?

    br
    Daniel

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,280

    Default Re: Terminator not starting

    Hello and welcome here.

    We have a difficult to find, but important feature on the forums.

    Please in the future use CODE tags (not QUOTE tags) around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.

    That said, it looks as if you try to run that program (II do not knoe it, but it seems to be a graphical X-windows program) from a root terminal session. I do not know if you have any X-session (GUI) running at that moment in time, but when no, there is no X screen to display it on, and thus it can not do anything useful.

    When yes, that GUI session is most probably from some end-user, and that end-user has not allowed the user that tries to start terminator (root) access to his session. Imagine that every user could open windows on your session at will and thus being able to see exactly what you are doing!

    BTW, as said, I do not know that program, but should it really being run by user root??
    Henk van Velden

  3. #3

    Default Re: Terminator not starting

    Thanks for the hint with the quotes!

    I stated terminator as root as well as my normal user, without any difference.
    X-Server must be running, I installed xclock and it it working fine...

    br

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,280

    Default Re: Terminator not starting

    You say you start it as end-user and as root, but I explaned that I do not know the application, thus I have no idea if it is a good idea to start it as root.

    As long as you do not explain ........
    Henk van Velden

  5. #5

    Default Re: Terminator not starting

    You can find the Homepage here https://gnometerminator.blogspot.co....roduction.html

    It can be run as normal user as well as root.
    I'm also running it without any problem on LEAP.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,121
    Blog Entries
    15

    Default Re: Terminator not starting

    Hi
    So is this a local machine or a remote one? If remote, how are you connecting?

    What desktop environment?

    FWIW, it runs fine on a local machine and a remote ssh -X session with GNOME desktop.

    System all up to date (snapshot 20170830)?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,397
    Blog Entries
    2

    Default Re: Terminator not starting

    Working fine for me, too.
    Did a "zypper dup" and then installed Terminator.
    Running an XFCE Desktop, found the menu item under "System"
    Launched.
    Then, split the screen with a CTL-SHFT- followed by another split CTL-SHFT-O.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  8. #8

    Default Re: Terminator not starting

    I'm using KDE on my laptop and start terminator local.

    After upgrading with zypper dup, reboot and reinstall terminator, the error persists.

  9. #9

    Default Re: Terminator not starting

    ...and if I connect to my server using ssh -X
    start terminator there, the window is opening fine on my laptop.

  10. #10

    Default Re: Terminator not starting

    NAME="openSUSE Tumbleweed"
    # VERSION="20170830"


Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •