I was just 'given' another box that I intend to turn into a plaything for files and such. I do not currently have the office space to set up another workstation. I've seen posts where people have been telneting or sshing into boxes within their own office. Is this correct? And if so, is there a way that I can set this machine up and then just leave the keyboard and mouse attached with the machine sitting in the corner (still on the network) and access everything on it? Even Gnome, OpenOffice, Evolution, and such? If this is possible, where would I go to find out more on how to do this? -=Thinker
On Fri, 2003-09-05 at 23:32, Thinker wrote:
I've seen posts where people have been telneting or sshing into boxes within their own office. Is this correct? Yes
And if so, is there a way that I can set this machine up and then just leave the keyboard and mouse attached with the machine You don't need to leave the mouse and keyboard attached at all. In fact, if your BIOS support the "stop on: no errors" you don't even have to have a graphics card in. My "toy" PII machine has just a network card in, nothing else.
sitting in the corner (still on the network) and access everything on it? Even Gnome, OpenOffice, Evolution, and such? VNC server should be able to help you, although I don't know much about it - haven't worked with it. I'm not sure if X would work without a graphics card either, you'll have to try.
Hans
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 05 September 2003 02:47 pm, H du Plooy wrote: > On Fri, 2003-09-05 at 23:32, Thinker wrote: > > I've seen posts where people have been telneting or sshing into > > boxes within their own office. Is this correct? - ------snip------------- > > And if so, is there a way that > > I can set this machine up and then just leave the keyboard and > > mouse attached with the machine > > You don't need to leave the mouse and keyboard attached at all. In > fact, if your BIOS support the "stop on: no errors" you don't even > have to have a graphics card in. My "toy" PII machine has just a > network card in, nothing else. - -------snip---------- > VNC server should be able to help you, although I don't know much > about it - haven't worked with it. I'm not sure if X would work > without a graphics card either, you'll have to try. I chose a diferent route... (I have a ps2 mouse and keyboard), I bought a "linksys kvm2kit" 2 port kvm switch for about $45us. I've also got a 4 port broadband router (linksys befsr41) that shares my net connection and allows me to network the 2 boxes (although I haven't set up a permanent network yet, more reading to do). The beauty of the kvm switch is it allows you to share the same keyboard, mouse and (1)monitor between 2 boxes and there is no network lag as you get w/ vnc etc. Both of my boxes run 4 or 5 diferent os's and the switch causes no problems. The router/switcher (linksys befsr41) allows easy networking between the 2 machines. ps I'm not a linksys salesman, I just sound like one today. see ya - -- dh Don't shop at GoogleGear.com! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/WQwABwgxlylUsJARAgUpAJ4xVw/w+TbA06jmHaMF1zBFVMo73QCfZdj2 Aw6AN7p2OaOtqdv0fiij5bk= =pg2i -----END PGP SIGNATURE-----
On Friday 05 September 2003 16:47, H du Plooy wrote:
On Fri, 2003-09-05 at 23:32, Thinker wrote:
I've seen posts where people have been telneting or sshing into boxes within their own office. Is this correct?
Yes
And if so, is there a way that I can set this machine up and then just leave the keyboard and mouse attached with the machine
You don't need to leave the mouse and keyboard attached at all. In fact, if your BIOS support the "stop on: no errors" you don't even have to have a graphics card in. My "toy" PII machine has just a network card in, nothing else.
sitting in the corner (still on the network) and access everything on it? Even Gnome, OpenOffice, Evolution, and such?
VNC server should be able to help you, although I don't know much about it - haven't worked with it. I'm not sure if X would work without a graphics card either, you'll have to try.
Hans
I'm assuming that you are using Linux here on both ends... SuSE 8.2 has a "remote access" server that you can setup access to your desktops from and there's a Remote Access server somewhat like VNC only faster that you can use to access remote desktops providing you have the proper permissions. Whether or not this would be a good way to go depends on your office/work environment security requirements. VNC probably won't work for you here because Linux/Unix sercurity won't allow VNC to access desktop 0:0 on a remote Linux/Unix machine. If the remote machine's desktop is running on a desktop other than 0:0 then you can get VNC to do it but it takes a little configuring. I think the website for VNC has instructions on how to do this. If you're just wanting to run some X-based apps from the remote box you can just rlogin to the remote box and type the app name at the command line. This is for individual apps not the Gnome desktop. On your local machine you must also allow access to your local X display from the remote system. You can set this by openning a terminal under your normal user and entering : "xhost + <remote host>" to allow access to just that hostname or "xhost +" to allow all X-based systems to display X-apps on your local X-display. This host name needs to be defined in your /etc/hosts file so it will know the ip. Then you can rlogin to your remote system (the one you want to export the app from) with rlogin <hostname> -l <your username on that machine>. Enter the password for that user. Now type in the name of the app you want and run it in the background with : "netscape &". This will run netscape (or whatever X-app you want) on your local X-display. After you're done with the app exit it from within the application itself. i.e. from the "File->Exit" menu. This will let the application properly clean up the allocated resources on the remote machine. If all of this works properly you can put these things in a shell script and make a menu item out of it or a symlink to the script file on your local system. You can use the rsh command in your shell scripts like in the following: (mu305 is the remote DEC Unix box and oden is the local Linux box. These must be defined in the hosts file on each system.) " echo Adding to access list. xhost + inet:mu305 #required to allow app to display on your machine. echo Logging in to DMUX MU305. sudo -u tmx rsh mu305 -l tmx -n /home2/SEMY/dmux/scripts/runtmx oden:0 xhost - inet:mu305 " This script uses sudo (requires configuration) because I need to log in as another user and execute the command as another user than myself. If the remote user is the same as your local user then you can skip the "sudo -u tmx" part. (tmx is the user here). Without using sudo it would look like this: " echo Adding to access list. xhost + inet:mu305 echo Logging in to DMUX MU305. rsh mu305 -l tmx -n /home2/SEMY/dmux/scripts/runtmx oden:0 xhost - inet:mu305 " You must have proper access permissions on the remote system for the user you specify after the -l or it will not work. If you create a script you must set it executable. You may be able to get the Gnome or KDE desktop to display on a remote machine by configuring X to EXPORT all display to your local machine. The command is "DISPLAY=<your local hostname>:0" but I can't remember exactly what bootup configuration file you put the command in to do this. It's been awhile since I read about it. Hope this gets you started. Regards, Jack A.
On Friday 05 September 2003 10:32 pm, Thinker wrote:
I've seen posts where people have been telneting or sshing into boxes within their own office. Is this correct? And if so, is there a way that I can set this machine up and then just leave the keyboard and mouse attached with the machine sitting in the corner (still on the network) and access everything on it? Even Gnome, OpenOffice, Evolution, and such?
You're probably best off SSHing to the box. I'd recommend disabling telnet and rlogin in favour of SSH: SSH traffic is encrypted. Telnet and rlogin are not. As an aside FTP should also be avoided in favour of sftp and scp for similar reasons. If you need to use X apps, then ssh -X to your box. Then just run the commands on command line (probably with & so you don't have to open a new session for every command you want to run) as you would normally. You will have to enable X in your /etc/ssh/sshd_config (on the remote machine): X11Forwarding yes More info: man ssh man sshd HTH Jon -- SuSE Linux 8.2 (i586) Linux 2.4.20-4GB-athlon
participants (5)
-
David Herman
-
H du Plooy
-
Jack Alderson
-
Jonathan Lim
-
Thinker