start an application under X11



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)
  • Re: "E233: cannot open display" when starting gvim on ubuntu 8.04 root ?shell
    ... If you justopena terminal window and "echo $DISPLAY" then what do you ... does xclock or gvim give an error ... The regular console on Konsole is ok: ...
    (comp.os.linux.setup)
  • Re: start an application under X11
    ... i have installed my last slackware distro with Gnome. ... Now I need to start from console, (gnome is not running) an X application, ... let's say as example xclock. ... escape and it says can't open 127.0.0.1 display. ...
    (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)