You are not logged in.

#1 2022-04-05 12:16:11

regid
Member
Registered: 2016-06-06
Posts: 208

[Solved] Xorg server: multiple instances on one PC with a single graph

Quoting xnest tutorial by linuxtoday from 2019

xnest-tutorial wrote:

multiple instances of your X server, but link each one to a separate Linux virtual terminal. This approach works well, but has the disadvantage

Does that statement wrong, when referring to a single machine, with a single graphic card, trying to run concurrent instances? One reason is, the X server places a lock on the hardware device. Once the 1st instance grabbed the lock, no other instance is able to run.

Edit: Original title was
    Xorg server: multiple instances on one PC with a single graphic card
In order to add the [Solved] prefix, the title was modified to
    [Solved] Xorg server: multiple instances on one PC with a single graph

Last edited by regid (2022-04-05 13:16:33)

Offline

#2 2022-04-05 12:23:12

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,464

Re: [Solved] Xorg server: multiple instances on one PC with a single graph

AFAIK, multiple istances are not a big problem.
The statement is not wrong in the sense that does not seem to refer to "concurrent" instances.
When you switch to one, the other(s) are just freezed.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#3 2022-04-05 13:11:32

regid
Member
Registered: 2016-06-06
Posts: 208

Re: [Solved] Xorg server: multiple instances on one PC with a single graph

Right. Thank you.

$ xinit

(EE) 
Fatal server error:
(EE) Server is already active for display 0
	If this server is no longer running, remove /tmp/.X0-lock
	and start again.
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) 
X connection to :0 broken (explicit kill or server shutdown).

A working method, in this case, is

$ xinit -- :1

Last edited by regid (2022-04-05 23:43:04)

Offline

Board footer

Powered by FluxBB