Project

General

Profile

Actions

Bug #3344

closed

startx dies with ctrl-c

Added by peeter about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
02/09/2023
Due date:
% Done:

0%

Estimated time:

Description

System effected:

DragonFly master 6.5 git dd711 (but seems that Jan and Feb 2023 as well)

Description:

Start the graphical user interface with 'startx'. Hit 'ctrl-c' and Xorg dies. You will even see the ctrl-c keystroke as '^C' on the console. Tested with a brand new test user, and WMs 'mate', 'xfce4', 'cinnamon'. All behave the same way.

Also, strings that were typed in the graphical user interface into a text editor, or any other window, are all replicated in the console. It seems as if startx is getting straight all the keystrokes. So no wonder it dies when the user hits 'ctrl-c'.

It might be related to earlier error reports (https://bugs.dragonflybsd.org/issues/3339) which I closed since I believed they are just symptoms of this issue.

Note 1: note that 'startx' or 'xinit' in the xinit package have not been changed since 2021, so it does not seem likely that they are the culprits.

Note 2: DragonFly bumped C standard to gnu11, c11 in git commit 6a8dae24. However, testing with world + kernel build with gnu99, c99 gives the same startx behavior, so bumping the C standard is not the cause of the problem.

Actions

Also available in: Atom PDF