I am running a server on my Linux PC, and every once in awhile I have to change things, or fix things through the terminal. Whenever I do that I have to go to the other side of the house, to fix the problem, and whatnot. I set up an SSH portal, so I could easily do this on my laptop, from wherever I needed to be, but whenever I do that I need to restart the process, and when I close my laptop it stops the process. I guess what I am asking is how to move the process from the terminal on the PC to the SSH portal without stopping or restarting it and move it back again afterwards.
tmux are the tool that where created for this exact problem.
You could also use
xvnc, to share your entire graphical desktop.
xvnc works the same as the MS-Windows vnc-server. It shares the real X11 display (the one connected to hardware). Other vnc-servers for X11 create a virtual display (not connected to hardware).
xvnc will run on most Unixes, that have an X11 desktop.
The other end of the connection, can be Gnu/Linux, other Unix, Microsoft's windows, Android, there is even a web based client.