home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.ubuntu      I preferred Xubuntu, seemed a bit faster      134,474 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 133,597 of 134,474   
   Markus Robert Kessler to All   
   Re: X11-app after su - leads to DISPLAY    
   09 Dec 23 14:18:40   
   
   XPost: comp.sys.raspberry-pi, alt.os.linux.mageia   
   From: no_reply@dipl-ing-kessler.de   
      
   On Sat, 9 Dec 2023 12:09:35 +0000 The Natural Philosopher wrote:   
      
   > On 09/12/2023 11:54, Markus Robert Kessler wrote:   
   >> What I found out is, that when switching 'su - newaccount', then   
   >>   
   >> - a file ~/.xauth* (e.g.: .xauthOa9EpX) is automatically created   
   >>    (by su? by pam?)   
   >> - and when either starting x-app like xclock, so this works, or -   
   >> deleting this .xauth* and starting x-app, then above error occurs   
   >   
   > This suggests that the original problem may have been su'ing to a user   
   > with no home directory, or one that the user has no permissions for, so   
   > this file cannot be created.   
      
   Hi, good point, indeed, but on Mageia, where this works, I can switch   
   freely via su - test... betweeen test* accounts. Directory /home/ lists   
   like   
      
   drwx------  9 test     test     4,0K Dez  9 12:56 test/   
   drwx------  2 test1    test1    4,0K Dez  7 16:46 test1/   
   drwx------  2 test2    test2    4,0K Nov  4 20:10 test2/   
   drwx------ 10 test3    test3    4,0K Dez  9 11:24 test3/   
   drwx------  2 test4    test4    4,0K Nov 21 14:45 test4/   
      
   So, the root cause may be located somewhere else.   
      
   BR,   
      
   Markus   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca