Re: running program remotely on different user



On 2008-02-21, learnq <learnq@xxxxxxxxx> wrote:


On Feb 21, 9:46 pm, Dildo Bogumil di Boscopelo <psycho...@xxxxxxxxx>
wrote:
you need to set DISPLAY environment variable in your script.

--
SF

Facciamo quello per cui siamo stati addestrati, per cui siamo stati
cresciuti, per cui siamo nati. Niente prigionieri, nessuna pietà.
Inizio memorabile.- Hide quoted text -

- Show quoted text -

hi,
can you give some example how to do that or a link .
thx.

Here are two examples, depending on where you want the program to be
displayed:
ssh -X user@host xeyes
ssh -X user@host "DISPLAY=:0 xeyes"
.



Relevant Pages

  • Re: How to wait for multiple threads simultaneously?
    ... I'd like to ask whether Linux provides an effective way to wait for ... multiple thread's end. ... Facciamo quello per cui siamo stati addestrati, per cui siamo stati cresciuti, per cui siamo nati. ...
    (comp.os.linux.development.apps)
  • Re: running program remotely on different user
    ... from test in gui mode if i run ... want to run the command for user 'test' so that he can ... Facciamo quello per cui siamo stati addestrati, per cui siamo stati cresciuti, ...
    (comp.os.linux.development.apps)
  • Re: One socket - multiple ifaces
    ... struct sockaddr_in's sin_addr field (assuming you are programming in C/C++), but it's not possible to choose a subset of your ifaces. ... Facciamo quello per cui siamo stati addestrati, per cui siamo stati cresciuti, per cui siamo nati. ...
    (comp.os.linux.development.system)
  • Re: IsBadReadPtr for Linux?
    ... without using a temporary file (which arguably shouldn't be necessary ... I ended up calling msync on the appropriately page ... Facciamo quello per cui siamo stati addestrati, per cui siamo stati cresciuti, per cui siamo nati. ...
    (comp.os.linux.development.apps)
  • Re: close fd while select/poll/epoll
    ... failed to explain your case well enough to overcome the obvious opposite, ... Facciamo quello per cui siamo stati addestrati, per cui siamo stati cresciuti, per cui siamo nati. ...
    (comp.os.linux.development.system)