You are not logged in.

#1 2009-10-02 09:32:39

erno
Member
Registered: 2009-08-24
Posts: 83

[SOLVED] tmux & links -g error

Hi

links -g and fbi work fine on a normal tty.

links -g refuses to run when inside tmux:

Could not initialize any graphics driver. Tried the following drivers:
x:
Can't open display "(null)"
fb:
Could not get VT mode.

fbi doesn't work either:

ioctl VT_GETSTATE: Invalid argument (not a linux console?)

mplayer -vo aa file.avi flickers so that it's basically useless, also on a regular tty.

So maybe tmux needs to be setup in some way so links would recognise it as a console or something? I'm still busy on reading the man pages.

I'm using the intel driver with KMS enabled:

$zcat /proc/config.gz | grep -i framebuffer
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y

Thanks for all input!

Last edited by erno (2009-10-10 16:19:29)

Offline

#2 2009-10-08 10:45:55

erno
Member
Registered: 2009-08-24
Posts: 83

Re: [SOLVED] tmux & links -g error

Can a mod move this to Desktop Environments please?

Offline

#3 2009-10-08 14:10:38

zowki
Member
From: Trapped in The Matrix
Registered: 2008-11-27
Posts: 582
Website

Re: [SOLVED] tmux & links -g error

This isnt related to Desktop environments, probably workstation. Anyways you can't run any framebuffer programs within any terminal multiplexer like tmux, screen, dvtm, etc. I heard fim (fbi improved) works within a multiplexer. You can give it a try. But as for links -g theres no way to get it to work inside a multiplexer.


How's my programming? Call 1-800-DEV-NULL

Offline

Board footer

Powered by FluxBB