public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: YoYo Siska <yoyo@gl.ksp.sk>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Can I run a complete desktop remotely?
Date: Sun, 27 May 2007 18:56:42 +0200	[thread overview]
Message-ID: <4659B84A.9010408@gl.ksp.sk> (raw)
In-Reply-To: <5bdc1c8b0705270840y5f64f7fajab5f7e4eedaff59b@mail.gmail.com>

Mark Knecht wrote:
> 
> Olivier and all others who responded:
> 
> Thanks for the info. As always I appreciate it. I have looked at the
> links everyone provided but I think they are way over my head. I'm
> looking for an end-user sort of solution here. Thanks in advance for
> helping me.
> 
> The issue here, for me, is not running X apps on the remote machine. I
> do that already. My dad, who is now 78 and happily running Gentoo
> Linux for over 4 years now, gets by when he has an application problem
> by asking me to log in and fix things with the app. For instance, when
> I update Evolution or when he changed ISPs recently I often need to go
> fix individual configuration items. I do that just running the app
> over an SSH tunnel with X forwarding turned on. No problems other than
> the speed.
> 

Hi,
just another hint beside the  others:

I use x11vnc for such scenarios: I ssh into the machine as the user
running the X session, start up  x11vnc -display :0, and then just run
vncviewer remote_host:0  on my computer

There are a few things to note however: the x11vnc must be able to
connect to the xserver (I mean authentication through XAUTH)
with KDM (regardless of the session you choose, just the display
manager) it just worked for me, gdm may be worse and you may have to set
up correct XAUTHORITY

If the user has not logged in already  (there's the kdm/gdm login screen
on the remote computer still) you _have_ to set the XAUTH. With kdm the
xauth file is  /var/run/xauth/A:${DISPLAY}-some_random_chars, accesible
only from root. You have to run the x11vnc as root with the xauth file,
for example:
x11vnc -display :0 -auth /var/run/xauth/A:0-crR0kF


There also used to be directly a module for the X server that you could
load and just connect to the screen anytime with vncviewer without the
need to run x11vnc a to play with xauth...  But I played with it a long
time ago, it was a seperate module etc... I remember vaguely that it was
either included in standard xorg or something.. but I don't really know



OK, after I wrote this I found
http://gentoo-wiki.com/HOWTO_Use_VNC_to_connect_to_existing_X_Sessions
;)))

there's the x11vnc way (with a way to set up kde to always start it, and
the locations of xauth files for gdm, ... ;), and also  the X extension
way (you just need to emerge vnc with server use flag, and it should
install the vnc module for Xserver, configuration is on the wiki page)


yoyo
-- 
gentoo-amd64@gentoo.org mailing list



  parent reply	other threads:[~2007-05-27 16:58 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-26 19:07 [gentoo-amd64] Can I run a complete desktop remotely? Mark Knecht
2007-05-26 19:37 ` Olivier Crête
2007-05-27 15:40   ` Mark Knecht
2007-05-27 15:56     ` Peter Davoust
2007-05-27 16:04     ` Richard Freeman
2007-05-27 16:56     ` YoYo Siska [this message]
2007-05-26 19:49 ` Aleksey Kunitskiy
2007-05-26 19:53 ` Conway S. Smith
2007-05-26 20:29   ` Simon Cooper
2007-05-26 22:24     ` Conway S. Smith
2007-05-26 21:47   ` Nuitari
2007-05-26 22:20     ` [gentoo-amd64] " Duncan
2007-05-27  0:00       ` Duncan
2007-05-26 22:51     ` [gentoo-amd64] " Conway S. Smith
2007-05-27  6:48       ` Joerg Gollnick
2007-05-27 10:57         ` Richard Freeman
2007-05-27 11:11         ` [gentoo-amd64] Sun and GPL Isidore Ducasse
2007-05-27 23:32           ` [gentoo-amd64] " Duncan
2007-05-28  0:41             ` Isidore Ducasse
2007-05-28  3:42               ` Wil Reichert
2007-05-28  6:12                 ` Naga
2007-05-28  3:56               ` Boyd Stephen Smith Jr.
2007-05-28  9:25                 ` Richard Freeman
2007-05-28 10:42                   ` Boyd Stephen Smith Jr.
2007-05-28 10:56                     ` robert burrell donkin
2007-05-28 11:52                     ` Duncan
2007-05-28 16:23                     ` Hemmann, Volker Armin
2007-05-28 17:28                       ` Nuitari
2007-05-28 11:14               ` Duncan
2007-05-28 13:14                 ` Conway S. Smith
2007-05-28 17:46                   ` Duncan
2007-05-28 18:38                     ` [gentoo-amd64] Baselayout 2 (Was: Sun and GPL) Sebastian Redl
2007-05-28 22:56                       ` [gentoo-amd64] " Duncan
2007-05-29  0:50                         ` Wil Reichert
2007-05-30  0:33                           ` Florian D.
2007-05-30  4:09                             ` Joshua Hoblitt
2007-05-30  4:38                               ` Wil Reichert
2007-05-30  7:39                                 ` Duncan
2007-05-30  7:43                                 ` Isidore Ducasse
2007-05-30 22:57                                 ` Joshua Hoblitt
2007-05-30  9:12                               ` Florian D.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4659B84A.9010408@gl.ksp.sk \
    --to=yoyo@gl.ksp.sk \
    --cc=gentoo-amd64@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox