On Saturday 01 October 2005 19:59, Clayton wrote:
The answer to your question is "Yes, you can use ssh to get remote control of your desktop. But...
I'm not sure that is what you really want to do, so before explaining how I'd like to ask you couple of questions:
The Remote Desktop in KDE is designed to allow 2 people to work on the same desktop. This is help someone (locally on the machine) from a remote location. There are tools designed to give you a remote desktop (from across the internet). Are you really trying to support someone from across the world, or do just want remote support?
There are two goals...
1. I want to be able to control my home desktop from work. I want to be able to log in from work and start/stop apps, setup downloads etc. For example to start/stop a BitTorrent download of SUSE10.0. This is purely for convenience on my part.
2. I will eventually need to remotely administer a computer that is about 8000km away. For this I will also need to take command of the desktop - not run a new session. So... I will be supporting a user.
Remote Desktop is the solution I'm looking for.... being able to take over the remote desktop. And.. I want it to be the most secure/safe option.
C.
I Assume that you are connecting from linux to linux: I assume that you have SSH server setup on the same server you are trying to remote controll. I assume you have setup your firewall to allow ssh to the server and tested it with the command "ssh user@internet.addressable.host.or.ip" and can connect to the remote server. When you start the Remote Desktop (Invite) on the remote machine you see a line like: "Host: 10.0.0.101:4" You need to know the number after the colon, 4 in this case. To connect to it via ssh try the following line in a shell vncviewer -via user@internet.addressable.host.or.ip 127.0.0.1:4 where the ":4" you got from the "Host:" line. This will ask you for the ssh password of user on the remote machine. It then opens a secure tunnel to 127.0.0.1 and connects vncviewer to it. Vncviewer then ask you for the "Personal Invitation" password and then connects you to the Remote Desktop. It sounds complicated, but actually it's quite easy.... On my remote servers, I do not run an XWindows environment on the console, so I use the XInetd method that gives me the SuSE login, but this you know about as you have already ruled it out! Hope this helped... Jerry