How Do I set up remoted desktop between 2 linux boxes?

Status
Not open for further replies.

Filya_Baranov

Baseband Member
Messages
44
I am Running Fedora 9, and want to be able to access my computer running Knoppix remotely. How Do I do this? I heard of a program called NoMachine NX, but I don't know how to set it up. any Links to tutorials? thank you
 
I understand how to install it. But I am talking about how to configure it so I could connect to my PC.
 
wouldn't rdesktop work?

in command line just type rdesktop 192.168.ipof.knoppixmachine

I don't know if you need to install it, though. I don't recall installing it on my Ubuntu machine.
 
As far as nomachine goes, just install the server and the required files on the host machine, and just download and install the client on the machine you wish to connect to the server.

Just enter the ip address, username and password, and nomachine takes care of the rest.

It works the same way if you're connecting from a windows box to a linux box or vice versa.
 
you need absolutely ZERO external programs.

The XServer was designed to be remotely usable.
Actually the connection you have to your own xserver is done through tcp/ip so it practically makes no difference at all if your screen is at your basement, your mouse in timbuktu and the keyboard on the himalayas as long as they have internet connection.

You can actually start remotely the entire kde/gnome whatever you want remotely by just telneting to your machine and starting xwindows with a DISPLAY variable setup to your current local linux box (which has a configure .xhost to accept x connections from your remote pc) like "startx -DISPLAY:your.current.local.ip."

But, for obvious performance reasons we never do that. We simply start X at the local machine and then fire up applications from the remote machine with the display variable aswell (you could just set the enviroment variable "DISPLAY" the the ip so you don't have to retype it).

So, in simple form:
You are on pc B (IP B.B.B.B)at work and you have xwindows running and want to to startup an app from your pc at home named A (IP A.A.A.A) and use it's interface on the screen of your pc B.
Assuming you have telnet or rsh or prefferably ssh running on A.

1) Add A.A.A.A to the allowed list for your xserver. If I remember correctly it's "xhost +A.A.A.A". Read "manpage xhost" to be sure.

Then telnet/ssh to machine A and after logging in simply type:
#/some/path/to/Xapp-executable -DISPLAY:B.B.B.B

That's it.

If box B is windows you can either use one of the proprietary (and unneccessary) Xservers for windows or try cygwin (which is best since it's actually Xwindows compiled for windows).

A problem that may appear is the speed. If I remember correctly Xserver is not famed for it's compression of the data it transmit, but that's meh for simple stuff.
I still remember when all the uni pc's where filtered for "badboy" sites and the only thing you had to do was remotely start mozilla from the central server so I could browse all the furry porn I wanted.
 
I'd just use VNC if I were you, it's well accepted, easy to set up, and easy to access from the client end. I run a VNC server on my home desktop, my college desktop, and my old laptop (also at college, in my desk drawer). I'd run one on my main laptop, but since it's my primary PC, I change OS'es often and it's sometimes off. You can configure VNC for a LAN or Internet use, have a password to access systems, and even transfer files (some VNC servers/clients support file transfer, but not all do, and some transfer differently). It allows you to remote-control your PC, see your remote desktop, and access remote files. If your VNC client doesn't support file transfer, you can use the remote control function to set up a shared folder or FTP share on the remote PC and then access locally on your local PC.

I use VNC to check up on my home PC (FTP and HTTP server as well), view my home PC's webcam, and even run programs (ahem, Mr Torrence isn't allowed to enter my college, though he's always welcome at home, I can FTP stuff from home to school easily though).
 
Status
Not open for further replies.
Back
Top Bottom