Running as root since Ubuntu 20.04 LTS

Running as root since Ubuntu 20.04 LTS


    May 26, 2020#1


    Replaced from scratch from Ubuntu 18.04 (was 16.04) to 20.04.  Thought it was time for a fresh start.  Unfortunately, uex is crashing each time I try to run it as root.  This is true whether I run from command line (sudo uex) or open a file like /etc/fstab and UEX offers to open a root version.

    I don't know if this is because 20.04 uses an upgraded Gnome or what.

    When I start from command line, this is what I get:

    (uex:10012): GLib-GIO-CRITICAL **: 07:45:43.224: g_dbus_server_get_client_address: assertion 'G_IS_DBUS_SERVER (server)' failed

    (uex:10012): GLib-CRITICAL **: 07:45:43.224: g_variant_new_string: assertion 'string != NULL' failed

    (uex:10012): Gtk-WARNING **: 07:45:43.271: Negative content width -10 (allocation 24, extents 17x17) while allocating gadget (node button, owner GtkToggleButton)
    Seems to run fine as user.

    Any ideas?



      May 27, 2020#2

      I have a similar problem under Mint 19.3. When I try and run as root with gksudo uex does not start. A look at the log file shows that there is no license (even though I have licensed it for my base user) and the trial is over. Runs fine as my base user. Look at /root/.idm/uex/logs/application.log for more info.

      IDM support says that it has to be separately licensed for root since it counts for another user. Trying to get info from them as to how to do this and whether this counts against the licensed users.


        May 28, 2020#3

        That's pretty interesting, and leads to some new avenues of investigation.  Thank you.

        I'm just not sure why this would break for that reason in Ubuntu 20.04 but did not for 18.04.  I have IDM All Access, and recently it was reset... maybe that is related.

        Investigating, I see this,
        Thu May 28 10:24:01 2020:ueConfig.cpp:410: Using configuration file: /root/.idm/uex/uex.conf
        Thu May 28 10:24:01 2020:ueConfig.cpp:422: Checking for UEXROOT environment variable.
        Thu May 28 10:24:01 2020:ueConfig.cpp:426: UEXROOT environment variable does not exist.
        I'll look to see if my 18.04 uex.conf yields clues.  I'm not sure what UEXROOT should contain...?

        I do see this licensing bit... perhaps this is the window that crashes?
        Thu 28 May 2020 10:24:01 AM CDT:uex.cpp:866: Initializing license management system.
        Thu 28 May 2020 10:24:01 AM CDT:uex.cpp:867: Check license log for details: /root/.idm/uex/logs/license.log
        Thu 28 May 2020 10:24:01 AM CDT:uex.cpp:1080: Creating license management instance.
        Thu 28 May 2020 05:24:01 PM CDT:uex.cpp:1095: License management layer created and initialized.
        Thu 28 May 2020 10:24:01 AM CDT:uex.cpp:1096: SoftwareKey Time: 0.13
        As an aside, it is interesting that the logging format changes when the language is set.  Makes sense, but interesting.
        Thu May 28 10:24:01 2020:uex.cpp:341: Detect available language files.
        Thu May 28 10:24:01 2020:uex.cpp:346: System language: en_US
        Thu 28 May 2020 10:24:01 AM CDT:uex.cpp:1187: Initializing IPC communication layer.
        Thu 28 May 2020 10:24:01 AM CDT:uex.cpp:1196: Initializing platform specific features.

          Jul 28, 2020#4

          Just got notice of version 20.00+.  This new version allows me to open an admin instance.

          Looks like the new version resolves this issue.