QTdragon HD with MDI issue
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7769
- Thank you received: 2053
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.
- vre
- Offline
- Platinum Member
Less
More
- Posts: 529
- Thank you received: 16
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
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.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7769
- Thank you received: 2053
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:
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.
- vre
- Offline
- Platinum Member
Less
More
- Posts: 529
- Thank you received: 16
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.
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.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10737
- Thank you received: 3540
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
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19407
- Thank you received: 6507
11 May 2024 10:01 #300380
by tommylight
Replied by tommylight on topic QTdragon HD with MDI issue
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.
- vre
- Offline
- Platinum Member
Less
More
- Posts: 529
- Thank you received: 16
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
also pause button throws some error mesages to terminal
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7769
- Thank you received: 2053
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.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7769
- Thank you received: 2053
17 May 2024 16:24 #300841
by cmorley
One of the QtPlasmac (Greg) developers came up with.
Thanks for mentioning the problem.
Replied by cmorley on topic QTdragon HD with MDI issue
A fix for shutdown (I think) has been pushed to 2.9/master today.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))
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.
- vre
- Offline
- Platinum Member
Less
More
- Posts: 529
- Thank you received: 16
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.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.073 seconds