From: Todd on
On 06/20/2010 06:17 PM, David W. Hodgins wrote:
> On Sun, 20 Jun 2010 20:55:51 -0400, Todd <todd(a)invalid.com> wrote:
>
>> Follow up question. This sounds like I could use it
>> as a substitute for Go To Assist Express (www.gotoassistexpress.com).
>> In other words, I would be seeing what a user is seeing
>> on his screen and we could both manupliate the mouse and keyboard.
>> Am I correct?
>
> Yes. The remote desktop is accessible in a scrollable dialog on
> your desktop. Just be careful to keep your mouse out of that
> window, when you don't want it to interfere with the person you
> are assisting.
>
>> Also, if I changed the display variable to localhost:1,
>> would I get my own desktop?
>
> The following script will start a new desktop manager, and
> provide similar access on your desktop ...
>
> #!/bin/bash
> IFS=$'\n' # Seperate command output by newlines only
> vncout=($(vncserver -depth 24 2>&1 ))
> vncdisplay="${vncout[0]}"
> vncdisplay="${vncdisplay##*:}" # strip string ":" and everything before it
> echo "vncdisplay=$vncdisplay"
> sleep 2
> vncviewer -bgr233 -nocursorshape -compresslevel 9 -quality 3 -encodings
> "copyrect tight zlib hextile" :$vncdisplay
> vncserver -kill :$vncdisplay
>
> -- Change nomail.afraid.org to ody.ca to reply by email.
> (nomail.afraid.org has been set up specifically for
> use in usenet. Feel free to use it yourself.)

Wow! Thank you! I am copying this all (both of them)
to my keepers right now.

-T

-T
From: John Thompson on
On 2010-06-20, Todd <todd(a)invalid.com> wrote:

> I love ssh's "-X" option that allows me to remotely
> run a particular app..
>
> If I wanted to display my entire desktop, in a single
> window, in the style of VNC, is there a way for ssh
> to do this?

You can tunnel XDMPC via SSH to get a standard login widget from the
remote machine and thereby log into and use your desktop remotely:

http://www.faqs.org/docs/Linux-HOWTO/XDMCP-HOWTO.html

But most people find VNC (which can also be tunneled through SSH) easier
for this purpose.

--

-John (john(a)os2.dhs.org)
From: Todd on
On 06/20/2010 08:25 PM, John Thompson wrote:

> But most people find VNC (which can also be tunneled through SSH) easier
> for this purpose.

Do you have any details on this method?


From: Keith Keller on
On 2010-06-21, Todd <todd(a)invalid.com> wrote:
> On 06/20/2010 08:25 PM, John Thompson wrote:
>
>> But most people find VNC (which can also be tunneled through SSH) easier
>> for this purpose.
>
> Do you have any details on this method?

http://lmgtfy.com/?q=vnc+tunnel+ssh

--keith

--
kkeller-usenet(a)wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information

From: unruh on
On 2010-06-20, J G Miller <miller(a)yoyo.ORG> wrote:
> On Sun, 20 Jun 2010 13:25:11 -0700, Todd wrote:
>
>> If I wanted to display my entire desktop, in a single window, in the
>> style of VNC, is there a way for ssh to do this?
>
> Not in a single window.
>
> What you would do is to start up your local X11 server without a window
> manager by going to failsafe mode. Then in the failsafe X terminal

Surely you can just use runlevel 3 rather than failsafe mode. Failsafe
is pretty primative usually.

> issue an ssh -X command to the remote machine to run the Xsession
> or Xinitrc file relevant to your remote user, which would then start
> the window manager and whatever clients are association with the
> Xsession, Xinitrc, or Xclients files.