How to start a remote X session?
I have 2 Linux systems running, one a web server, and the other a workstation. I am trying to move all of my development into the Linux environment. I would like to start a remote X session on the web server from the workstation. How do I do that.
I am able to connect using SSL, and when I use the -X option to forward the X stuff. But after a log in, I try to run xinit I get the following: Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. I am guessing that I need to select a different display. How do I do that? Is there a clear how-to on starting a remote X session even though you are running an X session locally? Thanks, Eric |
If you're already running X locally, you shouldn't even need to do anything - if X stuff is being forwarded, just run applications normally and they should display on your local machine. No need to run another instance of xinit, since you already have the server running locally. I don't think the remote machine needs to have X running at all, even. There's a HOWTO if you want more details.
All you should really need to do is login to a remote machine using ssh - ssh will automatically (should, anyway) set up the right display variables and whatnot; run an X app and it should display locally. |
You probably want something like VNC
|
All times are GMT -5. The time now is 03:49 PM. |