xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 10 years ago

Closed 10 years ago

Last modified 12 months ago

#115 closed enhancement (wontfix)

Bail out when password file is not present

Reported by: ahuillet Owned by: Antoine Martin
Priority: major Milestone: 0.3
Component: server Version: 0.2.0
Keywords: Cc:



when Xpra is passed an incorrect password file when starting a session (xpra start), it spits out the following:

cannot open password file passwd: [Errno 2] No such file or directory: 'passwd'
and happily goes on.

It should actually exit.

Change History (4)

comment:1 Changed 10 years ago by Antoine Martin

Strongly disagree: the password file can be created, or changed, at any time. If it does not exist then the password just won't match - which is also fine.
This way, scripts and tools can change/delete the password file to prevent/give-new access to a session.

comment:2 Changed 10 years ago by ahuillet

I understand and it's a good idea.

I have one question however: it seems that Xpra's CWD becomes / for some reason, so passing a relative path to the password file doesn't work (at least in the case I tried). Are you aware of that?

comment:3 Changed 10 years ago by Antoine Martin

Resolution: wontfix
Status: newclosed

hmmm, I don't know about CWD changing to '/' - it sort of rings a bell.

comment:4 Changed 12 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/115

Note: See TracTickets for help on using tickets.