Seems quite odd to me.  Please file a radar at http://bugreport.apple.com, and 
let me know the number, so I can CC myself.  Make sure you include a 
sysdiagnose and reproduction steps.


> On Jun 1, 2017, at 05:01, Richard Tobin <rich...@inf.ed.ac.uk> wrote:
> 
> On several occasions - but this is the first when I've had time to
> look into it - the first few xterms opened in a new session
> have been returning the wrong username from getlogin():
> 
> getuid() -> 26013 (correct)
> getpwuid(getuid()) -> richard (correct)
> getlogin() -> _spotlight (wrong)
> 
> The terminal ownership is right:
> 
> macaroni$ tty
> /dev/ttys001
> 
> macaroni$ ls -l /dev/ttys001
> crw--w----  1 richard  tty   16,   1 Jun  1 12:58 /dev/ttys001
> 
> The xterms are run with "xterm -ls".
> 
> Any suggestions as to what to look for?
> 
> -- Richard
> 
> -- 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
> 
> 
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/xquartz-dev
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Xquartz-dev mailing list
Xquartz-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/xquartz-dev

Reply via email to