QTdragon HD with MDI issue

More
10 May 2024 12:22 #300313 by cmorley
Replied by cmorley on topic QTdragon HD with MDI issue
Does the screen fail to load or is it just the messages?

Please Log in or Create an account to join the conversation.

More
10 May 2024 12:43 - 10 May 2024 12:46 #300317 by vre
Replied by vre on topic QTdragon HD with MDI issue
It is just in messages screen loads ok.
This message is after press exit->shutdown
/bin/sh: 1: gnome-session-quit: not found
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Last edit: 10 May 2024 12:46 by vre.

Please Log in or Create an account to join the conversation.

More
10 May 2024 14:16 - 10 May 2024 14:17 #300326 by cmorley
Replied by cmorley on topic QTdragon HD with MDI issue
Does it shutdown though?

The button calls this:
    def SHUT_SYSTEM_DOWN_PROMPT(self):
        import subprocess
        try:
            try:
                subprocess.call('gnome-session-quit --power-off', shell=True)
            except:
                try:
                    subprocess.call('xfce4-session-logout', shell=True)
                except:
                    try:
                        subprocess.call('systemctl poweroff', shell=True)
                    except:
                        raise
        except Exception as e:
            LOG.warning("Couldn't shut system down: {}".format(e))
 
Last edit: 10 May 2024 14:17 by cmorley.

Please Log in or Create an account to join the conversation.

More
11 May 2024 02:07 - 11 May 2024 02:14 #300366 by vre
Replied by vre on topic QTdragon HD with MDI issue
No it doesn't shutdown the pc only linuxcnc exits i have debian12-xfce
exception not thrown in case of missing gnome-session-quit but this is minnor
The other error message seems more serious.
Last edit: 11 May 2024 02:14 by vre.

Please Log in or Create an account to join the conversation.

More
11 May 2024 07:46 #300372 by rodw
Replied by rodw on topic QTdragon HD with MDI issue
Linuxcnc expects a Xorg desktop. The distribution images use XFCE for this reason
Gnome by default uses wayland which is very problematic for Linuxcnc. You can change to use Xorg from the Gnome logon screen

Please Log in or Create an account to join the conversation.

More
11 May 2024 10:01 #300380 by tommylight
Some distros also have XWayland that can be choosen at login, most XOrg stuff should work OK with it and so do Wayland only apps.

Please Log in or Create an account to join the conversation.

More
11 May 2024 23:17 #300410 by vre
Replied by vre on topic QTdragon HD with MDI issue
I have xfce with xorg.
also pause button throws some error mesages to terminal

Please Log in or Create an account to join the conversation.

More
12 May 2024 01:04 #300415 by cmorley
Replied by cmorley on topic QTdragon HD with MDI issue
Can you post the error messages?

Please Log in or Create an account to join the conversation.

More
17 May 2024 16:24 #300841 by cmorley
Replied by cmorley on topic QTdragon HD with MDI issue

Does it shutdown though?

The button calls this:
    def SHUT_SYSTEM_DOWN_PROMPT(self):
        import subprocess
        try:
            try:
                subprocess.call('gnome-session-quit --power-off', shell=True)
            except:
                try:
                    subprocess.call('xfce4-session-logout', shell=True)
                except:
                    try:
                        subprocess.call('systemctl poweroff', shell=True)
                    except:
                        raise
        except Exception as e:
            LOG.warning("Couldn't shut system down: {}".format(e))

 
 

A fix for shutdown (I think) has been pushed to 2.9/master today.
One of the QtPlasmac (Greg) developers came up with.

Thanks for mentioning the problem.
The following user(s) said Thank You: snowgoer540

Please Log in or Create an account to join the conversation.

More
21 May 2024 11:07 #301074 by vre
Replied by vre on topic QTdragon HD with MDI issue
The [ERROR] message is after pause button inside qtdragon.
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.119 seconds
Powered by Kunena Forum