ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitriy L. Kruglikov" <Dmitriy.Kruglikov@orionagro.com.ua>
To: community@lists.altlinux.org
Subject: Re: [Comm] Запуск приложения с параметрами
Date: Fri, 10 Mar 2006 15:14:33 +0200
Message-ID: <20060310151433.5d5aa457@shadow.orionagro.com.ua> (raw)
In-Reply-To: <200603101603.07570.ashen@nsrz.ru>

On Fri, 10 Mar 2006 16:03:07 +0300
Шенцев Алексей Владимирович wrote:

> Попытался сделать следующие: на рабочем столе сделать ссылку на приложение, 
> konsole, что бы оно запускалось и стартовав выполнило некую команду. В данном 
> случае ssh -X server. Ни чего не вышло. Как правильно это сделать?
Я бы сделал скриптик, типа
#!/bin/sh
ssh -X server sudo command

Предваритеьно настроив авторизацию не по паролю, а по ключам
А ссылочку на рабочем столе сделал бы уже на этот скрипт ...

И не забывай, что по ssh ты заходишь на удаленную машину с именем того
пользователя, от которого ты работаешь на локальной ...
А если на удаленном сервере другой пользователь, то 
ssh -l anotheruser -X server sudo command

--
Best regards,
 Dmitriy L. Kruglikov                     .--.
 Dmitriy.Kruglikov@orionagro.com.ua      |@_@ |
 DKR6-RIPE                               |!_/ |
 ICQ# 13047326                          //   \ \
                                       (|     | )
                                      /'\_   _/`\
Powered by Linux                      \___)=(___/


  reply	other threads:[~2006-03-10 13:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-10 13:03 Шенцев Алексей Владимирович
2006-03-10 13:14 ` Dmitriy L. Kruglikov [this message]
2006-03-10 13:22   ` Шенцев Алексей Владимирович
2006-03-10 13:29     ` Dmitriy L. Kruglikov
2006-03-10 13:44       ` Шенцев Алексей Владимирович
2006-03-10 13:53         ` Dmitriy L. Kruglikov
2006-03-10 13:57           ` Nick S. Grechukh
2006-03-10 14:02             ` Шенцев Алексей Владимирович
2006-03-10 14:17   ` Шенцев Алексей Владимирович
2006-03-10 14:19     ` Шенцев Алексей Владимирович

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060310151433.5d5aa457@shadow.orionagro.com.ua \
    --to=dmitriy.kruglikov@orionagro.com.ua \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git