Re: start an application under X11




export DISPLAY=:1

then type this:

X :1 & xclock



Poiter Agus wrote:

Hi all,
i have installed my last slackware distro with Gnome.
Everything works fine.
Now I need to start from console, (gnome is not running) an X application,
let's say as example xclock.
I try to make a script like this:

X -ac
export DISPLAY = 127.0.0.1:0.0
xclock

But when i start it, X11 starts well but no Xclock is running, then i
escape and it says can't open 127.0.0.1 display.
Please any good advice?


thanks a lot to all ppl!

.



Relevant Pages

  • Re: start an application under X11
    ... Now I need to start from console, (gnome is not running) an X application, ... let's say as example xclock. ... and it says can't open 127.0.0.1 display. ...
    (comp.os.linux.x)
  • start an application under X11
    ... Now I need to start from console, (gnome is not running) an X application, ... let's say as example xclock. ... and it says can't open 127.0.0.1 display. ...
    (comp.os.linux.x)
  • How To Load A Bitmap in Xclock
    ... Is there a way to load a bitmap into the background of XClock, ... I have GNOME and I just wanted to dress up the ...
    (comp.os.linux.x)
  • RE: Non-root users cannot run Xwindow
    ... our xclock problem seems to be fixed; Xwindows are now ... > does not display anything. ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)
  • Re: Whats the difference between xclock and clock & ?
    ... desktop running Linux over ssh and try to execute xclock locally via ... Error: Can't open display: ... The shell has no part in displaying or not displaying xclock. ... Also, you mention a laptop, but you don't explain whether that's ...
    (comp.unix.programmer)