xpra icon
Bug tracker and wiki

Opened 7 years ago

Closed 7 years 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:

Description

Hello,

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 (3)

comment:1 Changed 7 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 7 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 7 years ago by Antoine Martin

Resolution: wontfix
Status: newclosed

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

Note: See TracTickets for help on using tickets.