You are not logged in.

#1 2008-08-11 21:18:22

colbert
Member
Registered: 2007-12-16
Posts: 809

X crashed, cannot open display in screen session for X apps

I had X crash and logged back in, and now in my screen session I can't open any apps that use X, ie.,:

~/.fluxbox # gedit keys
cannot open display: 
Run 'gedit --help' to see a full list of available command line options.
~/.fluxbox #

Must I start a new screen to have it work again or can be fixed within current screen? Thanks for any help! smile

Offline

#2 2008-08-12 11:48:36

Mazon
Member
Registered: 2008-08-10
Posts: 12

Re: X crashed, cannot open display in screen session for X apps

you have to have x running. wink

Offline

#3 2008-08-12 17:12:01

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: X crashed, cannot open display in screen session for X apps

I do smile I logged back in to flux.

Offline

#4 2008-08-12 17:17:27

nogoma
Member
From: Cranston, RI
Registered: 2006-03-01
Posts: 217

Re: X crashed, cannot open display in screen session for X apps

Looks like your DISPLAY variable isn't set? What does

$ echo $DISPLAY

show? If nothing, try the following in your screen session (you may have to do this for each shell within screen that you're running):

$ export DISPLAY=":0"

(assuming that it is DISPLAY 0, which is the default)

Last edited by nogoma (2008-08-12 17:17:54)


-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/

Offline

Board footer

Powered by FluxBB