Describe the bug
When I'm remotely connected to my Linux desktop, RedNotebook won't launch from the command line. Instead it exits with status code 133.
To Reproduce
Connect to a remote host with X11 forwarding enabled (ssh -X remote.host.net).
Attempt to launch RedNotebook (rednotebook).
Expected behavior
I expect the RedNotebook GUI to open on my local computer.
Screenshots
? rednotebook
INFO Using GtkSourceView 4
Adding /usr/share/rednotebook to sys.path
INFO Available versions of the WebKit2 namespace: ['4.0', '4.1']
INFO Loaded version of the WebKit2 namespace: 4.1
INFO Locale path: /usr/share/locale
2023-10-18 15:48:29,289 INFO Writing log to file "/home/tedgin/.rednotebook/rednotebook.log"
2023-10-18 15:48:29,289 INFO System encoding: utf-8
2023-10-18 15:48:29,289 INFO Language code: en_US
2023-10-18 15:48:29,295 INFO Spell checking languages: ['en', 'en_AU', 'en_CA', 'en_GB', 'en_US']
2023-10-18 15:48:29,295 INFO Spell checking dictionaries: [('en', <Enchant: Aspell Provider>), ('en_AU', <Enchant: Aspell Provider>), ('en_CA', <Enchant: Aspell Provider>), ('en_GB', <Enchant: Aspell Provider>), ('en_US', <Enchant: Aspell Provider>)]
2023-10-18 15:48:29,445 INFO Using LibYAML
2023-10-18 15:48:29,446 INFO Connected Signals: [<Signals.SIGHUP: 1>, <Signals.SIGINT: 2>, <Signals.SIGQUIT: 3>, <Signals.SIGABRT: 6>, <Signals.SIGTERM: 15>, <Signals.SIGTSTP: 20>]
2023-10-18 15:48:29,921 INFO Running in portable mode: False
2023-10-18 15:48:29,921 INFO First Start: False
2023-10-18 15:48:29,921 INFO RedNotebook version: 2.31
2023-10-18 15:48:29,922 INFO System info: machine: x86_64, platform: Linux-6.2.0-34-generic-x86_64-with-glibc2.35, processor: x86_64, python_version: 3.10.12, release: 6.2.0-34-generic, system: Linux, GTK: (3, 24, 33), Glib: (2, 71, 3), PyGObject: (3, 42, 1), YAML: 5.4.1, WebKit2: (2, 42, 1)
2023-10-18 15:48:30,992 DEBUG Default font: Ubuntu 11
2023-10-18 15:48:30,993 DEBUG Default size: 11.0
libEGL warning: DRI3: failed to query the version
libEGL warning: DRI2: failed to authenticate
(rednotebook:479583): Gdk-ERROR **: 15:48:31.151: The program 'rednotebook' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
(Details: serial 185 error_code 1 request_code 154 (unknown) minor_code 1)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
fish: Job 1, 'rednotebook' terminated by signal SIGTRAP (Trace or breakpoint trap)
✗(133)
Versions:
RedNotebook version 2.31
Local and remote hosts are running Ubuntu 22.04.
Log output when reproducing bug
2023-10-18 15:48:29,289 INFO Writing log to file "/home/tedgin/.rednotebook/rednotebook.log"
2023-10-18 15:48:29,289 INFO System encoding: utf-8
2023-10-18 15:48:29,289 INFO Language code: en_US
2023-10-18 15:48:29,295 INFO Spell checking languages: ['en', 'en_AU', 'en_CA', 'en_GB', 'en_US']
2023-10-18 15:48:29,295 INFO Spell checking dictionaries: [('en', <Enchant: Aspell Provider>), ('en_AU', <Enchant: Aspell Provider>), ('en_CA', <Enchant: Aspell Provider>), ('en_GB', <Enchant: Aspell Provider>), ('en_US', <Enchant: Aspell Provider>)]
2023-10-18 15:48:29,445 INFO Using LibYAML
2023-10-18 15:48:29,446 INFO Connected Signals: [<Signals.SIGHUP: 1>, <Signals.SIGINT: 2>, <Signals.SIGQUIT: 3>, <Signals.SIGABRT: 6>, <Signals.SIGTERM: 15>, <Signals.SIGTSTP: 20>]
2023-10-18 15:48:29,921 INFO Running in portable mode: False
2023-10-18 15:48:29,921 INFO First Start: False
2023-10-18 15:48:29,921 INFO RedNotebook version: 2.31
2023-10-18 15:48:29,922 INFO System info: machine: x86_64, platform: Linux-6.2.0-34-generic-x86_64-with-glibc2.35, processor: x86_64, python_version: 3.10.12, release: 6.2.0-34-generic, system: Linux, GTK: (3, 24, 33), Glib: (2, 71, 3), PyGObject: (3, 42, 1), YAML: 5.4.1, WebKit2: (2, 42, 1)
2023-10-18 15:48:30,992 DEBUG Default font: Ubuntu 11
2023-10-18 15:48:30,993 DEBUG Default size: 11.0
Describe the bug When I'm remotely connected to my Linux desktop, RedNotebook won't launch from the command line. Instead it exits with status code 133.
To Reproduce
ssh -X remote.host.net
).rednotebook
).Expected behavior I expect the RedNotebook GUI to open on my local computer.
Screenshots
Versions:
Log output when reproducing bug