LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   X11 connection to client. (https://www.linuxquestions.org/questions/linux-server-73/x11-connection-to-client-639981/)

ayush1440 05-05-2008 05:06 AM

X11 connection to client.
 
Hello frends,

Currently i am using freenx package for configure X11 desktop sharring. I put autostart java application when X11 client connects to desktop and its working properly.

my problem is when a user connects and working on X11 client, on another pc same user want to try connects and it connected but 1st connection was terminated. So it is possible that when 1st connection is running, then no other connection can be connect?

I hope you can understand my question.

Please help me,

Thank You.

ChrisAbela 05-05-2008 05:32 AM

I don't know anything about freenx, but I hope this helps.

Check the DISPLAY setting: echo $DISPLAY

should be something like :0.0

Maybe you need to change the second parameter: export DISPLAY=":1.0"

Did you try to connect via ssh -X ,in my experience it is the simplest and it always works?

Chris

ayush1440 05-05-2008 05:43 AM

Quote:

Originally Posted by ChrisAbela (Post 3143163)
I don't know anything about freenx, but I hope this helps.

Check the DISPLAY setting: echo $DISPLAY

should be something like :0.0

Maybe you need to change the second parameter: export DISPLAY=":1.0"

Did you try to connect via ssh -X ,in my experience it is the simplest and it always works?

Chris

Thank for replying..

Yeah u told that command is works. no doubt for that. Let me clarify for that.

Think User A and client pc is 1,2 and 3. when User A is connected to X11 server on pc 1. Now somebody, who is try to connect same user A on pc2. Now what happend that pc2 is connected and shows display of user A but at that time on pc 1 who is already connected, was dissconnected on that display. I just want to break this. If user is connected anywhere, then same user cannot be allows connection anywhere.

ChrisAbela 05-06-2008 03:05 AM

Is X also running on PC2?

Chris


All times are GMT -5. The time now is 10:27 AM.