Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to open terminal error #2707

Open
3 tasks done
jamieduk opened this issue Jan 15, 2025 · 8 comments
Open
3 tasks done

fails to open terminal error #2707

jamieduk opened this issue Jan 15, 2025 · 8 comments
Labels
bug Something isn't working

Comments

@jamieduk
Copy link

Confirmations

What happened?

failing to open terminal error

Description

cat: /home/jay/pi-apps/data/update-status/updatable-files: No such file or directory
YAD_XID is 0x1200003
Flags to be passed to yad: --geometry=480x600+760+225 --skip-taskbar --close-on-unfocus

Updater mode: gui

Scanning apps... Done
Scanning files... Done

error connecting to /tmp/tmux-1002/default (No such file or directory)
terminal-run: No terminal detected as it never created the pid file within 10 seconds.

(yad:32561): IBUS-WARNING **: 22:23:44.973: Unable to connect to ibus: Could not connect: Connection refused

What are your system specs (run the following command in your terminal)?

cat: /home/jay/pi-apps/data/update-status/updatable-files: No such file or directory
YAD_XID is 0x1200003
Flags to be passed to yad: --geometry=480x600+760+225 --skip-taskbar --close-on-unfocus

Updater mode: gui

Scanning apps... Done
Scanning files... Done

error connecting to /tmp/tmux-1002/default (No such file or directory)
terminal-run: No terminal detected as it never created the pid file within 10 seconds.

(yad:32561): IBUS-WARNING **: 22:23:44.973: Unable to connect to ibus: Could not connect: Connection refused


rpi 5 16 gb arm ubuntu

(Recommended) Error log? Terminal output? Debug messages?

cat: /home/jay/pi-apps/data/update-status/updatable-files: No such file or directory
YAD_XID is 0x1200003
Flags to be passed to yad: --geometry=480x600+760+225 --skip-taskbar --close-on-unfocus

Updater mode: gui

Scanning apps... Done
Scanning files... Done

error connecting to /tmp/tmux-1002/default (No such file or directory)
terminal-run: No terminal detected as it never created the pid file within 10 seconds.

(yad:32561): IBUS-WARNING **: 22:23:44.973: Unable to connect to ibus: Could not connect: Connection refused
@jamieduk jamieduk added the bug Something isn't working label Jan 15, 2025
@Botspot
Copy link
Owner

Botspot commented Jan 16, 2025

Please actually run ~/pi-apps/api get_device_info in a terminal and send the output back. It seems that your system is out of the ordinary - probably not a supported system, but if there is an easy fix we can see what can be done for you.

@dkuenzi1
Copy link

I had same problem on a 8gb PI5 with a brand new load of pi-apps.
Here's my device info:

DewysPi5-8mb:~/pi-apps/apps/Windows Flasher $ ~/pi-apps/api get_device_info
OS: Raspbian GNU/Linux 12 (bookworm)
OS architecture: 32-bit
Last updated Pi-Apps on: 01/16/2025
Latest Pi-Apps version: 01/16/2025
Kernel: aarch64 6.6.62+rpt-rpi-v8
Device model: Raspberry Pi 5 Model B Rev 1.0
SOC identifier: bcm2712
Machine-id (hashed): 45a2a84a9514d46c89d365de6165479aafed98c6
Serial-number (hashed): 2df59dcd84e3ad678cf0ea29d1983b2c4bc6c021
Cpu name: Cortex-A76
Ram size: 7.95 GB
Raspberry Pi OS image version: 2023-10-10
Language: en_US.UTF-8

thanks

@Botspot
Copy link
Owner

Botspot commented Jan 16, 2025

@dkuenzi1, do you also get the terminal-run: No terminal detected as it never created the pid file within 10 seconds. error?

@dkuenzi1
Copy link

dkuenzi1 commented Jan 17, 2025 via email

@peterstamps
Copy link

peterstamps commented Jan 17, 2025

Same error as above on raspberry pi 4 with up-to-datebookworm.

I saw that this was my default terminal that was picked:
Default x-terminal-emulator: gnome-terminal.wrapper
I typed that into a terminal but starting it results in a hang (nothing happens anymore). This is valid for gnome-terminal.wrapper as well as gnome-terminal!

AS TEMPORARELY BYPASS I replaced line 46 in file /home//pi-apps/etc/teminal-run as follows and then I could install properly as a terminal was opened!

#terminal="$(basename "$(readlink -f "$(command -v x-terminal-emulator)")")"
set terminal = 'lxterminal'

AS A BETTER SOLUTION THAN THE BYPASS ABOVE:

RUN this command and set the default terminal to lxterminal OR the one you want from the list, but not the gnome-terminal(.wrapper)

sudo update-alternatives --config x-terminal-emulator

@Botspot
Copy link
Owner

Botspot commented Jan 18, 2025

It is strange to me that this would be an issue on the default Pi OS.
Could one of you affected users run this please? apt-mark showmanual gnome-terminal
This command will check if gnome-terminal was manually installed, or if it was automatically installed. If the output was blank, then some other package pulled in gnome-terminal, but if the output returns gnome-terminal, then it means somehow this was manually installed, either by the OS image or by the end user.

@theofficialgman
Copy link
Collaborator

I saw that this was my default terminal that was picked:
Default x-terminal-emulator: gnome-terminal.wrapper
I typed that into a terminal but starting it results in a hang (nothing happens anymore). This is valid for gnome-terminal.wrapper as well as gnome-terminal!

that is concerning for different reasons. There isn't any good reason that gnome-terminal shouldn't work on PiOS. It always did previously. If you have a spare SD card, flash the latest bookworm image, update it fully, install gnome-terminal, reboot, and then try to launch gnome-terminal. If it doesn't work then file a bug here https://github.com/raspberrypi/bookworm-feedback/issues

@peterstamps
Copy link

peterstamps commented Jan 21, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants