a sort of exam...

Tom Legrady legrady-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Sun Jan 8 23:58:29 UTC 2006


"programmatically" means by using a program, rather than typing  
things manually

I would suggest that having a shell script

for display in 1 0 2
do
   startx -- :$display
done


would qualify.  Having several command lines in your .login might be  
eligible



Tom

On 8-Jan-06, at 6:45 PM, Muhammad Imran wrote:

> One way is to use VNC. You can use Xvnc (raw x-server). Xvnc can be  
> started on demand using xinetd. For example, it will automatically  
> be started on a new display once a client comes in. And X session  
> will be terminated as the client exits. You will need TightVNC (or  
> RealVNC) and a vncviewer for that.
>
> I actually did a project in college. What it does is, it displays a  
> complete copy of Open Office running inside any java-enabled web  
> browser. For every new instance of browser a new Xvnc session is  
> created with Open Office and a window manager running on it. Every  
> user has independent session. This was done using java-based VNC  
> viewer being served by Apache through xinetd.......
>
> If you want to do something similar then i can give u additional  
> information.
>
> XDMCP can also be used for X-Terminal server. For that you may want  
> to have a look at this document:
>
> http://en.tldp.org/HOWTO/XDMCP-HOWTO/
>
> All the best,
> Imran.
>
>
>> From: Zbigniew Koziol <zkoziol-Zd07PnzKK1IAvxtiuMwx3w at public.gmane.org>
>> Reply-To: tlug-lxSQFCZeNF4 at public.gmane.org
>> To: tlug-lxSQFCZeNF4 at public.gmane.org
>> Subject: [TLUG]: a sort of exam...
>> Date: Sun, 08 Jan 2006 16:07:56 -0500
>>
>> Right, I was given an opportunity to perform a test for a new  
>> possible job. My question is of the kind of young age students  
>> ask: please help me to solve this problem ;)
>>
>> Since however my life is largely at stake (yes) I do not hesitate  
>> to ask for help. I promisse: I will write that down that the  
>> answer was due to the help from TLUG :)
>>
>> OK, here the question is, with explanation (I cite everything  
>> exactly as I read):
>>
>> ==citation starts==
>>
>> Question: At the foundation of X server Clients how do you  
>> "PROGRAMMATICALLY" create and run multiple and individual X window  
>> instances?
>>
>> Explanation: What we nees is to create a multiple instance of X  
>> server simultanous on the same computer. Each instance should use  
>> a different Display. How create them PROGRAMMATICALLY and manage  
>> each session.
>> Technically in gross steps, how would you create/implement the  
>> basis of a terminal server using X.
>>
>> ==citation ends==
>>
>> No, I do not know what "programmatically" means. But the answer  
>> must be made correct any way.
>>
>> Any ideas how to approach the problem? there is no time left...
>>
>> Kind,
>> zb.
>> --
>> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
>> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
>> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
>
>
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list