Re: [ilugd] Using Graphical Interface using ssh on networked machines

2005-08-11 Thread Saurabh Nanda
You could use something called SSH X Forwarding... I forget the exact
name right now.

The good-ol' method is:

host1$ xhost +host2
host1$ ssh host2

host2$ export DISPLAY=host1:0
host2$ gimp

Hope you get it... mail back if you want a detailed explanation.

Nandz.
-- 
http://nandz.blogspot.com

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Using Graphical Interface using ssh on networked machines

2005-08-11 Thread Vivek Kapoor
On Thu, August 11, 2005 11:21, [EMAIL PROTECTED] said:
 Hi

 One query regarding Xlib

 We are using Ubuntu on our very small network of 5 machines. We are
 learning to use the ssh command to access other machines on the network.
 However launching programmes remotely does not work - we get an error
 message as follows


 [EMAIL PROTECTED]:~$ gimp

 (gimp:12399): Gdk-WARNING **: locale not supported by Xlib

 (gimp:12399): Gdk-WARNING **: cannot set locale modifiers
 GIMP could not initialize the graphical user interface.
 Make sure a proper setup for your display environment exists.

try
$ ssh [EMAIL PROTECTED] -XC

this enables X forwarding and compression. should work

o--o
| vivek  *  [EMAIL PROTECTED]  *  http://exain.net |
|Registered Linux User: #305493|
o--o


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Using Graphical Interface using ssh on networked machines

2005-08-11 Thread Abhijit Menon-Sen
At 2005-08-11 12:22:04 +0530, [EMAIL PROTECTED] wrote:

 The good-ol' method is:
 
 host1$ xhost +host2
 host1$ ssh host2
 
 host2$ export DISPLAY=host1:0
 host2$ gimp

Just do

host1$ ssh -X host2
host2$ gimp

(The xhost is unnecessary, and the export is wrong, but the idea is
exactly right. :)

-- ams

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Using Graphical Interface using ssh on networked machines

2005-08-11 Thread Saurabh Nanda
 (The xhost is unnecessary, and the export is wrong, but the idea is
 exactly right. :)

Eh? did I mess up something? Why is the export wrong?

Nandz.

-- 
http://nandz.blogspot.com

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Using Graphical Interface using ssh on networked machines

2005-08-11 Thread Abhijit Menon-Sen
At 2005-08-11 12:48:30 +0530, [EMAIL PROTECTED] wrote:

 Eh? did I mess up something? Why is the export wrong?

If you do this:

 host1$ xhost +host2
 host1$ ssh host2

 host2$ export DISPLAY=host1:0
 host2$ gimp

It might work (if the X server on host1 accepts TCP connections, which
is now becoming increasingly unlikely), but it wouldn't be using ssh X
forwarding, it would use a direct TCP connection to host1:6000.

If you want to use ssh to forward X traffic, you should let it set the
DISPLAY for you (and it'll set it to something like localhost:10.0).
Then it forwards data to the server so that it sees the connection as
being from (its) localhost, which is why the xhost is unnecessary.

-- ams

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Using Graphical Interface using ssh on networked machines

2005-08-11 Thread [EMAIL PROTECTED]
Thanks this works

regards
happily
ram

Abhijit Menon-Sen wrote:

At 2005-08-11 12:22:04 +0530, [EMAIL PROTECTED] wrote:
  

The good-ol' method is:

host1$ xhost +host2
host1$ ssh host2

host2$ export DISPLAY=host1:0
host2$ gimp



Just do

host1$ ssh -X host2
host2$ gimp

(The xhost is unnecessary, and the export is wrong, but the idea is
exactly right. :)

-- ams

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

  


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Using Graphical Interface using ssh on networked machines

2005-08-11 Thread Manish Popli
Hi.
When i tryed to open Xhost  by this command it says.
[EMAIL PROTECTED] ramesh]# xhost +devzone
xhost:  unable to open display 

wat i have to do now ??

Thanks 
Manish Popli

On 8/11/05, Saurabh Nanda [EMAIL PROTECTED] wrote:
 You could use something called SSH X Forwarding... I forget the exact
 name right now.
 
 The good-ol' method is:
 
 host1$ xhost +host2
 host1$ ssh host2
 
 host2$ export DISPLAY=host1:0
 host2$ gimp
 
 Hope you get it... mail back if you want a detailed explanation.
 
 Nandz.
 --
 http://nandz.blogspot.com
 
 ___
 ilugd mailinglist -- ilugd@lists.linux-delhi.org
 http://frodo.hserus.net/mailman/listinfo/ilugd
 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
 http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
 


-- 
Manish Popli

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Using Graphical Interface using ssh on networked machines

2005-08-11 Thread [EMAIL PROTECTED]
Check out Abijit menon sen's mail
those commands work for me (ubuntu machines)

ram

to revise the command
host1$ ssh -X host2
host2$ - fire up the programme you want

Manish Popli wrote:

Hi.
When i tryed to open Xhost  by this command it says.
[EMAIL PROTECTED] ramesh]# xhost +devzone
xhost:  unable to open display 

wat i have to do now ??

Thanks 
Manish Popli

On 8/11/05, Saurabh Nanda [EMAIL PROTECTED] wrote:
  

You could use something called SSH X Forwarding... I forget the exact
name right now.

The good-ol' method is:

host1$ xhost +host2
host1$ ssh host2

host2$ export DISPLAY=host1:0
host2$ gimp

Hope you get it... mail back if you want a detailed explanation.

Nandz.
--
http://nandz.blogspot.com

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/





  


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Using Graphical Interface using ssh on networked machines

2005-08-11 Thread Manish Popli
no  i m not able to do that can u tell me step by step..
i gotta this result.
.
[EMAIL PROTECTED] ramesh]# ssh -X devzone
ssh: devzone: Name or service not known

Manish Popli

On 8/11/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Check out Abijit menon sen's mail
 those commands work for me (ubuntu machines)
 
 ram
 
 to revise the command
 host1$ ssh -X host2
 host2$ - fire up the programme you want
 
 Manish Popli wrote:
 
 Hi.
 When i tryed to open Xhost  by this command it says.
 [EMAIL PROTECTED] ramesh]# xhost +devzone
 xhost:  unable to open display 
 
 wat i have to do now ??
 
 Thanks
 Manish Popli
 
 On 8/11/05, Saurabh Nanda [EMAIL PROTECTED] wrote:
 
 
 You could use something called SSH X Forwarding... I forget the exact
 name right now.
 
 The good-ol' method is:
 
 host1$ xhost +host2
 host1$ ssh host2
 
 host2$ export DISPLAY=host1:0
 host2$ gimp
 
 Hope you get it... mail back if you want a detailed explanation.
 
 Nandz.
 --
 http://nandz.blogspot.com
 
 ___
 ilugd mailinglist -- ilugd@lists.linux-delhi.org
 http://frodo.hserus.net/mailman/listinfo/ilugd
 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
 http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
 
 
 
 
 
 
 
 
 ___
 ilugd mailinglist -- ilugd@lists.linux-delhi.org
 http://frodo.hserus.net/mailman/listinfo/ilugd
 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
 http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
 


-- 
Manish Popli

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Using Graphical Interface using ssh on networked machines

2005-08-11 Thread [EMAIL PROTECTED]
well I am a novice too but will try and tell you

[EMAIL PROTECTED] ramesh]# ssh -X devzone

instead of devzone you will have to give the name of the target machine 
and its ip something like

[EMAIL PROTECTED] ramesh]# ssh -X [EMAIL PROTECTED] 


The target machine I guess has to be on your network thats enable for ssh

regards
ram

Manish Popli wrote:

no  i m not able to do that can u tell me step by step..
i gotta this result.
.
[EMAIL PROTECTED] ramesh]# ssh -X devzone
ssh: devzone: Name or service not known

Manish Popli

On 8/11/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  

Check out Abijit menon sen's mail
those commands work for me (ubuntu machines)

ram

to revise the command
host1$ ssh -X host2
host2$ - fire up the programme you want

Manish Popli wrote:



Hi.
When i tryed to open Xhost  by this command it says.
[EMAIL PROTECTED] ramesh]# xhost +devzone
xhost:  unable to open display 

wat i have to do now ??

Thanks
Manish Popli

On 8/11/05, Saurabh Nanda [EMAIL PROTECTED] wrote:


  

You could use something called SSH X Forwarding... I forget the exact
name right now.

The good-ol' method is:

host1$ xhost +host2
host1$ ssh host2

host2$ export DISPLAY=host1:0
host2$ gimp

Hope you get it... mail back if you want a detailed explanation.

Nandz.
--
http://nandz.blogspot.com

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/







  

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/





  


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Using Graphical Interface using ssh on networked machines

2005-08-11 Thread Vivek Kapoor
On Thu, August 11, 2005 16:00, Manish Popli said:
 no  i m not able to do that can u tell me step by step..
 i gotta this result.
 .
 [EMAIL PROTECTED] ramesh]# ssh -X devzone
 ssh: devzone: Name or service not known

 Manish Popli

devzone is the name of the host. if you don't have your dns configured or
/etc/hosts file is not updated and are not able to even ping devzone then
you will need to use the IP Address

read the ssh manpage by typing

man ssh

if your username is thomas and your machine's IP address is 192.168.1.1
then you will type

ssh [EMAIL PROTECTED] -XC

X parameter is used for forwarding and C is used for compression

it'll be better that you start working on your linux system and get
comfortable with it before attempting to do other more complicated things.
 cvs replication (as mentioned in one of your mails) would be something
difficult to achieve if you're not familiar with your machine

o--o
| vivek  *  [EMAIL PROTECTED]  *  http://exain.net |
|Registered Linux User: #305493|
o--o



___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Using Graphical Interface using ssh on networked machines

2005-08-11 Thread Raj Mathur
 Saurabh == Saurabh Nanda [EMAIL PROTECTED] writes:

Saurabh You could use something called SSH X Forwarding... I
Saurabh forget the exact name right now.

Saurabh The good-ol' method is:

Saurabh host1$ xhost +host2 host1$ ssh host2

No, you don't do that.

Saurabh host2$ export DISPLAY=host1:0 host2$ gimp

The idea of using ssh for X11 forwarding is that the server thinks
it's talking to localhost, the client thinks connections are coming
from localhost, and ssh manages the tunnelling between the two.  ssh
will automatically set the server-side DISPLAY to the appropriate
value.

The method you're describing is for a non-ssh (insecure, uncompressed)
remote display.

Regards,

-- Raju

Saurabh Hope you get it... mail back if you want a detailed
Saurabh explanation.

Saurabh Nandz.  -- http://nandz.blogspot.com

-- 
Raj Mathur[EMAIL PROTECTED]  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
  It is the mind that moves

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


[ilugd] Using Graphical Interface using ssh on networked machines

2005-08-10 Thread [EMAIL PROTECTED]
Hi

One query regarding Xlib

We are using Ubuntu on our very small network of 5 machines. We are 
learning to use the ssh command to access other machines on the network. 
However launching programmes remotely does not work - we get an error 
message as follows


[EMAIL PROTECTED]:~$ gimp

(gimp:12399): Gdk-WARNING **: locale not supported by Xlib

(gimp:12399): Gdk-WARNING **: cannot set locale modifiers
GIMP could not initialize the graphical user interface.
Make sure a proper setup for your display environment exists.

[EMAIL PROTECTED]:~$

So what needs to be done to make remote graphical use work

regards
ram








___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/