You are not logged in.

#1 2012-11-02 18:08:55

wasutton3
Member
Registered: 2011-03-19
Posts: 27

Run two X servers simultaneously with remote access.

I have a htpc running a xbmc frontend. I would like to have it run a second X environment that I can access via vnc (or VNC like protocol) only. Does anyone have any recommendations or a better solution?
I would like to have whatever application I am running remotely to continue running if I lose my connection. Would this be possible with screen and ssh X11 forwarding?

Last edited by wasutton3 (2012-11-02 18:11:59)

Offline

#2 2012-11-02 19:25:14

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Run two X servers simultaneously with remote access.

I have the same environment here, an htpc with XBMC. Have a look at xpra (xpra-winswitch-svn in the AUR). It allows you to forward single X windows that integrate more or less in your remote environment. I wrote few scripts to start different sets of applications remotely via ssh. It is often faster than forwarding an entire desktop and you can even have one X $DISPLAY per set of applications. It is by far the most elegant solution I have used.

If you really need an entire desktop, I'd recommend NX instead of VNC.

Offline

#3 2012-11-02 19:48:47

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: Run two X servers simultaneously with remote access.

NX is one option, a vncserver like tigervnc is another.  See the 'vncserver' wiki page for more.

...but that didn't answer your original question.

Offline

Board footer

Powered by FluxBB