Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-29-2003, 11:17 AM   #1
Registered: Oct 2003
Location: Where No One's Been... Spiral Out!
Distribution: FreeBSD
Posts: 201

Rep: Reputation: 30
SSH and X

I am curious.... some of you may be aware of the remote tools in Windows, which allows somebody to "remote" to your desktop, and control your computer. This is most widely used for tech support and things like that.

With Linux, we have all grown to love SSH. However, SSH (from what I've seen), is shell-only.

Is there a way to control X in Linux from another box similar to the way SSH works with the shell?
Old 12-29-2003, 11:40 AM   #2
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Maybe VNC is the solution for you. I've never tested it under Linux but I believe the concept is the same like under Win.
Under Win there is a 'vnc server' which should be installed on controlled box and the vnc client which is a tool for remote control. Using vnc client you can see the screen and observe the 'remote operator' actions. But you can also send keystrokes, move the mouse pointer like the 'remote operator' can (and in the same time :) so you can even change the 'remote operator' mouse movement or keyboard input.
Old 12-29-2003, 12:49 PM   #3
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 200

Rep: Reputation: 30
It depends what you mean by 'control X.'

Do you want to run an app remotely and view it locally? Then assuming the local box has an X-Server, you'd simply:

ssh -X # to connect to shell and enable X-tunneling
application-to-start & # to run an app remotely and view it locally

You can also tunnell your entire desktop, but you'd have to search for information on how to do that.

There are also things like VNC but I always considered that something for use between Windows and Linux.

All I ever need is simple X-tunnelling.

Last edited by mac_phil; 12-29-2003 at 12:51 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
[SSH] Issue logging in [SSH & Permissions] MD3 Linux - Networking 11 12-10-2006 09:25 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 11:53 AM
I turned off SSH, but I cant get it back! How do you start SSH on boot? nmoog Slackware 2 02-08-2004 05:18 PM
ssh issue: /usr/bin/ssh -x -oFallBackToRsh no -l WeNdeL Linux - Software 1 03-04-2003 07:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration