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.