quangthanh010290 / keyboard_mouse_emulate_on_raspberry

Bluetooth Keyboard Mouse Emulator on Raspberry Pi
https://thanhlev.github.io/
MIT License
289 stars 98 forks source link

error connecting to /tmp/tmux-0/default (no such file or directory) #3

Closed spenco100 closed 6 years ago

spenco100 commented 6 years ago

Hey, great work on this. I have been searching for a well built bluetooth HID emulator for the Pi for a while now. When I try to run the boot.sh script, i get this error:

error connecting to /tmp/tmux-0/default (No such file or directory)

I am running this on a Pi 0W, but will test on my Pi 3 later tonight. Another question, can I send keystrokes over SSH? Say I SSH into my Pi, run the script, and share the keyboard from my machine SSHing into the Pi to wahtever device I have picking up the bluetooth signal.

quangthanh010290 commented 6 years ago

It look like you does not install tmux first.

On Sun, Jun 24, 2018 at 4:55 AM spenco100 notifications@github.com wrote:

Hey, great work on this. I have been searching for a well built bluetooth HID emulator for the Pi for a while now. When I try to run the boot.sh script, i get this error:

error connecting to /tmp/tmux-0/default (No such file or directory)

I am running this on a Pi 0W, but will test on my Pi 3 later tonight. Another question, can I send keystrokes over SSH? Say I SSH into my Pi, run the script, and share the keyboard from my machine SSHing into the Pi to wahtever device I have picking up the bluetooth signal.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/0xmemphre/BL_keyboard_RPI/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AH0UKU97TmesQGSDeLbIqQ1_wsZyiV75ks5t_rlFgaJpZM4U08W7 .

spenco100 commented 6 years ago

when running sudo apt-get install tmux it tells me tmux is already the newest version (2.3-4) but I still get the same error. What am I doing wrong here?

spenco100 commented 6 years ago

haha i see now, I just had to run tmux initially. Thanks for the help! Awesome project

hybridreactor commented 4 years ago

Use chmod then source tmux. chmod 777 ~/.tmux.conf $ tmux source-file ~/.tmux.conf

caspertsui commented 2 years ago

This error is shown if there's no tmux session. It shouldn't be an error but info.

stiliajohny commented 6 months ago

Run mkdir /tmp/tmux-0/

it cant find the tmux-0 to create the default file that represents a session