rahnas / pagavcs

Automatically exported from code.google.com/p/pagavcs
0 stars 0 forks source link

Paga doesn't run correctly in multi user environment - Windows always pop up on screen of first logged in user #143

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Paga only works for the first user who logs in. When the second user clicks on 
anything in paga context menue, the windows pop up on the screen of the other 
logged in user!

Rebooting the machine and first logging in the another user enables him to use 
paga but again the second logged in user can't use it.

______________________________________
-System is a Ubuntu 10.10
-uname -a
  Linux pallas 2.6.35-28-server #49-Ubuntu SMP Tue Mar 1 14:55:37 UTC 
  2011 x86_64 GNU/Linux

System is running a Sunray Server, connecting Sun Thin clients to the system.

If you need further informations about the error, please tell me. We really 
like PagaVCS, but this this bug, is unusable.

Original issue reported on code.google.com by sebi.sti...@gmail.com on 7 Oct 2011 at 10:15

GoogleCodeExporter commented 8 years ago
hi!
This is the sideeffect of the current architecture of PagaVCS; you cannot use 
it in one time for more than one user.
If you wanna only use as one user at one time, then there's a "workaround":

- from terminal (command line):
pagavcs stop
- it will stop the pagavcs server, and it'll be started automatically using the 
current user's screen.

Original comment by gabor.pa...@gmail.com on 8 Oct 2011 at 12:24

GoogleCodeExporter commented 8 years ago
remark for me:
currently the server(=background) stuff and the client(=display) stuff are one 
process. To be able to serve two users (with their own X desktop) the client 
part must be a separate process.
- does it cause too much memory usage?
- does it cause too slow opening windows (eg update)?
- the temp directory should be per user too (/tmp/pagavcs/[username]?)
- the communication port should be also per user different

Original comment by gabor.pa...@gmail.com on 8 Oct 2011 at 12:30

GoogleCodeExporter commented 8 years ago
Hi,

as we wanted to use it in a multi user environment over sunray thin clients, it 
is essential for us to work with more than one user.

I will check back later to see if you were able to fix this. Really like paga, 
but this way it's unusable for us.

Thank you for answering,

Greets from the black forrest germany,
Sebi

Original comment by sebi.sti...@gmail.com on 19 Oct 2011 at 5:14

GoogleCodeExporter commented 8 years ago
Hi Sebi!

I forgot that the solution is already built in:
in
~/.pagavcs/config.properties
change the port to a different value at each user (it only uses one port per 
instance)

example:

#Mon Oct 17 22:58:52 CEST 2011
debug=false
port=12906

mfG,
Gábor

(ps.
I was a big fan of "Die Schwarzwaldklinik" as a kid :))

Original comment by gabor.pa...@gmail.com on 20 Oct 2011 at 6:28

GoogleCodeExporter commented 8 years ago

Original comment by gabor.pa...@gmail.com on 21 Oct 2011 at 5:51

GoogleCodeExporter commented 8 years ago
Hi,

i think this is more a workaround, than a real fix, but it will work for us. 
When creating new users we run a script afterwards, which adds files to the 
users home directory and changes a few other things. With a small addition to 
this script it should be possible, to create you're properties file and set an 
unique port number based on the uid i.e.

Thank you anyway for sharing the solution with me.

ps: I never watched Schwarzwaldklinik, but i know it. :) (Was more a fan of 
McGyver and Enterprise)

Original comment by sebi.sti...@gmail.com on 4 Nov 2011 at 1:43