You are not logged in.

#1 2007-01-13 23:57:28

ihavenoname
Member
Registered: 2006-01-09
Posts: 198

starting a X program from console?

Is there a way to start an X program from console? No not like gnome-terminal, I mean like using tty1 to start a program for a running X session.


In this land of the pain the sane lose not knowing they were part of the game.

~LP

Offline

#2 2007-01-14 01:15:06

skymt
Member
Registered: 2006-11-27
Posts: 443

Re: starting a X program from console?

Of course! Just run this line first:

export DISPLAY=:0.0

Offline

#3 2007-01-15 03:00:20

ihavenoname
Member
Registered: 2006-01-09
Posts: 198

Re: starting a X program from console?

skymt wrote:

Of course! Just run this line first:

export DISPLAY=:0.0

Wow thanx!!


In this land of the pain the sane lose not knowing they were part of the game.

~LP

Offline

#4 2007-01-15 09:06:07

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: starting a X program from console?

If for some reason you don't want to export the DISPLAY variable you can also do DISPLAY=:0.0 xload (or whatever your program is).

Offline

#5 2007-01-15 18:01:59

ihavenoname
Member
Registered: 2006-01-09
Posts: 198

Re: starting a X program from console?

pauldonnelly wrote:

If for some reason you don't want to export the DISPLAY variable you can also do DISPLAY=:0.0 xload (or whatever your program is).

very nice, thanx!


In this land of the pain the sane lose not knowing they were part of the game.

~LP

Offline

Board footer

Powered by FluxBB