2008/07/08

Change screen enviroment variables

When you reconnect screen session again, you find that the DISPLAY variable changed, that the X application cannot be executed easily.

In this case, the things you can do is

screen -X "setenv"

Then enter

DISPLAY

:0.0

OK!

When build a new screen using C-a C, the DISPLAY vars will be set to :0.0.

No comments: