1 |
On Tue, 10 Apr 2007 08:47:13 -0700 |
2 |
Grant <emailgrant@×××××.com> wrote: |
3 |
|
4 |
> > > I currently have an HDTV hooked up to a desktop computer running |
5 |
> > > Gentoo and xfce4, all controlled by a wireless keyboard/mouse |
6 |
> > > from the couch. It's awesome. However, I think the next step is |
7 |
> > > to control everything from a laptop on the couch. |
8 |
> > > How would you set this up? |
9 |
> > > - Grant |
10 |
> > The easy way is to use a big cursor theme and just use your laptop |
11 |
> > as a remote keyboard/mouse for your TV. (in addition to stuff like |
12 |
> > mythweb and the like) |
13 |
> > |
14 |
> > Do like so: (assuming tv runs on display ":0", which it most likely |
15 |
> > does ) Get mythtv or whatever running by auto-login and startup |
16 |
> > script. Assume that your tv is running as user "tv", hostname "tv". |
17 |
> > From your laptop: "ssh -Y tv@tv", then "x2x -to :0 -north". This |
18 |
> > makes the tv-screen look like an extension of your laptop screen, |
19 |
> > situated above (north) of your laptop. Now whenever you move your |
20 |
> > mouse up, out of the laptop screen, your laptop keyboard and mouse |
21 |
> > controls the tv... |
22 |
That sounds like a wonderful way to do this, but it certainly doesn't |
23 |
count as the easiest way, easy as it is. I think that prize goes to |
24 |
simply logging into the tv box remotely ("ssh -Y |
25 |
tv@tv", just like above) as the same user that has logged into X on the |
26 |
tv box. Then set the DISPLAY environment variable to point to the tv |
27 |
screen (most likely ":0") and your ssh-session screen will be the TV. |
28 |
It isn't as nice as the x2x solution, but it requires nothing special |
29 |
to do. That's how I usually do it. |
30 |
-- Dan. |
31 |
-- |
32 |
gentoo-user@g.o mailing list |