LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 02-22-2004, 09:32 PM   #1
ejennings_98
Member
 
Registered: Sep 2003
Location: Canada, West Coast
Distribution: Mandriva 2012.1 i586 & x86_64
Posts: 69

Rep: Reputation: 15
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
 
Old 02-22-2004, 09:42 PM   #2
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
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.
 
Old 02-22-2004, 11:08 PM   #3
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
You probably want something like VNC
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote X Session Help implant25 Linux - Software 1 09-05-2005 09:39 AM
If you have trouble with remote X session exodist Linux - Software 0 09-25-2004 06:24 PM
can't start remote X session PAM error felkin Linux - General 6 08-25-2004 09:27 PM
start VNC in remote x session yourEgg Linux - Networking 0 05-17-2004 06:48 PM
Command to start remote KDE session on Debian The_Fed Linux - Newbie 1 04-19-2004 05:31 PM


All times are GMT -5. The time now is 11:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration