Hi Michael,

Michael Dengler wrote:
> 
> Hi,
> 
> I have a LTSP server running at a remote branch with 6 users logging in
> and using it every day. It is working quite well! I have a bit of a
> problem though: I want to install a new application on the server and
> make it available to the clients. The install program for the new app is
> a gui installer. I want to do the install from here (2000 km away). So,
> I'd like to log in to the server, get an X session and do the install.
> The problem is...I run "X :1.0 -query 192.168.7.100" from a console on
> my workstation (where 192.168.7.100 is the IP of the LTSP server). I get

I do it via vnc over a ssh-tunnel. Then one gets the whole
client-screen.
In your example you have to type in the following term at your
Linuxconsole

ssh -C -L 5901:192.168.7.100:5901 192.168.7.100

Change the last line of ~/.vnc/xstartup i.e. into kde& so that your
desktopmanager can run.

And then start after login at 192.168.7.100 the vncserver (which must be
installed of course).

-------- example --------------------------------------
[EMAIL PROTECTED]:~ > ssh -C -L 5901:rs-kropp:5901 rs-kropp
Enter passphrase for key '/home/lworch/.ssh/id_rsa':
Last login: Fri Jun 20 22:23:32 2003 from pd9527f67.dip.t-dialin.net
Have a lot of fun...
[EMAIL PROTECTED]:~> vncserver

New 'X' desktop is rs-kropp:1
 
Starting applications specified in /home/lworch/.vnc/xstartup
Log file is /home/lworch/.vnc/rs-kropp:1.log  
--------------------------------------------------------

On an other console of your local-pc start the vncviewer with
--------example --------------------------
[EMAIL PROTECTED]:~ > vncviewer localhost:1
VNC server supports protocol version 3.3 (viewer 3.3)
Password:
VNC authentication succeeded
Desktop name "lworch's X desktop (rs-kropp:1)" 
-------------------------------------------
 
Now you have a popup-window showing you the whole remote-desktop.

If you want to connect as an other user, you have to connect with
ssh -C -l <user> -L 5901:192.168.7.100:5901 192.168.7.100

Before logging out dont forget to kill the vncserver with
[EMAIL PROTECTED]:~> vncserver -kill :1

Best regards
Lutz

-- 
Charmantes Nächtle noch .....


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to