View previous topic :: View next topic |
Author |
Message |
BradB Apprentice
Joined: 18 Jun 2002 Posts: 190 Location: Christchurch NZ
|
Posted: Thu Dec 12, 2002 10:06 pm Post subject: Laptop as a "semi thin" client |
|
|
Hi all, I'm plannig on getting an older laptop (~P2 300) soon. I'm going outline my ideas and I'd appreciate any tips or comments.
My basic idea is to get Gentoo onto the laptop using my base system (Athlon 800, running Gentoo) and distcc. Also to save space on the laptop's harddrive I plan to use NFS to mount the workstation's /usr/portage directory. Obviously these need to be set up before I begin emerging my system, so I'm going to use Knoppix as a distro to get me going & proceed with the alternate Gentoo install, this is how I got Gentoo on my main box so I'm familiar with it.
By the time I get to emerging, hopefully not much will need to be DL'd (dialup ) because it will look like the portage tree is there already, and distcc should get me running reasonably quickly.
After I get Gentoo on my laptop I want to use it as a "semi-thin" client via wireless 802.11b. What I mean by "semi-thin" is that when I'm within range of my workstation I want to run as a thin client, routing all my X apps through the lappy. Then whenever I need to go away from home the laptop should function as a standalone computer (minus the portage tree, as I won't by upgrading when not connected to the workstation). Also I want to keep my laptop and workstation users synced up, I'm planning on using Unison for this.
Should I run the two "modes" (thin/standalone) of the laptop as two seperate users? Can I remotely log in to the workstations X from KDM or is some commandline magic required there?
I think maybe 2 users (thin and roam) would be nice, use "thin" around the house, and log into "roam" when I leave the house (well before I leave, so I can sync my /home directory).
What do people think, am I dreaming - or is this a good way to make use of my resources?
Cheers
Brad |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Fri Dec 13, 2002 5:17 am Post subject: Re: Laptop as a "semi thin" client |
|
|
BradB wrote: | After I get Gentoo on my laptop I want to use it as a "semi-thin" client via wireless 802.11b. What I mean by "semi-thin" is that when I'm within range of my workstation I want to run as a thin client, routing all my X apps through the lappy. |
It certainly sounds like you have put a lot of thought into this, but I'm not sure I'm clear on what benefit this particular action gives you. Can you explain a little more? _________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
BradB Apprentice
Joined: 18 Jun 2002 Posts: 190 Location: Christchurch NZ
|
Posted: Fri Dec 13, 2002 9:29 am Post subject: |
|
|
Well - I'm not sure that it gives me much benefit, that's why I asked here
I think it'll let me take advantage of the much more grunty workstation's processor, but give me the option of moving around the house.
Brad |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Fri Dec 13, 2002 2:55 pm Post subject: |
|
|
Well, I suppose if you are doing a lot of heavy lifting then that would be a very good solution. I probably wouldn't do it unless I was going to be doing some serious computing. It seems like a lot of effort. _________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Fri Dec 13, 2002 9:17 pm Post subject: |
|
|
You can install a regular gentoo and ssh to the workstation to run programs there. You can redirect the X output:
In your notebook:
Code: | % xhost + athlon
% ssh athlon
export DISPLAY=notebook:0
|
Where <athlon> is the name of your athlon machine, and <notebook> the name of your notebook |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Fri Dec 13, 2002 9:42 pm Post subject: |
|
|
I thought you could do native X forwarding with ssh by using the -X commandline flag like: Code: | bash$ ssh -X user@server.org |
_________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Fri Dec 13, 2002 9:45 pm Post subject: |
|
|
Interesting... I've never tried that! I am from old school (I learnt that when I was using SunOS 4 and telnet )
Tristam29 wrote: | I thought you could do native X forwarding with ssh by using the -X commandline flag like: Code: | bash$ ssh -X user@server.org |
|
|
|
Back to top |
|
|
BradB Apprentice
Joined: 18 Jun 2002 Posts: 190 Location: Christchurch NZ
|
Posted: Sun Dec 15, 2002 7:41 pm Post subject: |
|
|
Well I'm getting there. I've bootstrapped, and emerged system using distcc - while using the portage tree from my base machine. I had troubles with the gentoo-sources kernel hanging after local.start runs (sulogin problems??) so ended up building vanilla-sources as a kernel. Just waiting for my kde to compile now - from other posts it doesn't play nice with distcc, so I'm doing it all on the notebook - sigh
Cheers
Brad |
|
Back to top |
|
|
zojas Veteran
Joined: 22 Apr 2002 Posts: 1138 Location: Phoenix, AZ
|
Posted: Sat Jan 04, 2003 4:31 am Post subject: |
|
|
Tristam29 wrote: | I thought you could do native X forwarding with ssh by using the -X commandline flag like: Code: | bash$ ssh -X user@server.org |
|
even better. make sure these lines are in your /etc/ssh/sshd_config on the machine you are sshing TO:
Code: |
X11Forwarding yes
X11DisplayOffset 10
XAuthLocation /usr/X11R6/bin/xauth
|
and make sure this is in /etc/ssh/ssh_config on the machine you are sshing FROM:
then as long as your display is set before you ssh, X will be automatically forwarded and encrypted.
the method above where you ssh in, then set your display by hand will I believe result in your X traffic not being encrypted. |
|
Back to top |
|
|
schleppy n00b
Joined: 22 Nov 2002 Posts: 16
|
Posted: Sun Jan 05, 2003 8:59 am Post subject: |
|
|
i don't know how related this is, but i've been thinking of using an old laptop with a grub floppy to mount an ltsp (on my main system) around the house, and then to still be usable on the go. I guess one can still access the local drive (on the laptop) to sync up. just a thought. |
|
Back to top |
|
|
|