How Can I create a second display? (virtual maybe???)

Łukasz Maśko ed at yen.ipipan.waw.pl
Tue Jul 6 23:35:27 PDT 2010


Dnia wtorek, 6 lipca 2010, Jimmy Spam napisał:
> Hello friends,
> 
> please, excuse my poor english.
> 
> I have a .sh script which have this line:
> 
> "export DISPLAY=localhost:13"
> 
> and only work fine if vnc is running.... it's very strange.
> 
> I suppose that vnc create a new display (13) and if it isn't running,
> this display doesn't exist and script fail.
> 
> Can I create a second display directly with Xorg, set the DISPLAY
> variable of the script to this second display and stop vnc????
> 
> I want launch this script without need of run vnc.

How about running an sshd daemon with X11Forwarding turned on and then using 
ssh client connected to localhost with -X -Y options?

-- 
Łukasz Maśko                                           GG:   2441498    _o)
Lukasz.Masko(at)ipipan.waw.pl                                           /\\
Registered Linux User #61028                                           _\_V
Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana"



More information about the xorg mailing list