Larry Doolittle composed on 2022-03-30 19:31 (UTC-0700):

> Felix Miata wrote:

>> Is the problem avoided if you login via a display manager (gdm, sddm, 
>> lightdm,
>> etc.) instead of using startx?
 
> Beats me.  I don't have any software like that installed.

You could install one. Try LightDM. Uncompressed Size: 852 k, plus whatever 
deps.

> Would they run xauth before or after cd'ing to my home directory?

I don't know the middle of the chains of events that gets an X sessions
started, whether via DM, or startx, only some start and end points. I booted up 
a
Bullseye installation to multi-user.target, logged in, then ran startx, and got 
this:

# ls -alrtgG | tail -n9
drwxr-xr-x  3   4096 Feb  9 20:36 .mc
drwxr-xr-x 27   4096 Mar 16 21:23 ..
-rw-------  1  33857 Mar 30 20:20 .bash_history
-rw-------  1     99 Mar 30 20:23 .Xauthority
-rw-r--r--  1     52 Mar 30 20:23 .DCOPserver_ab560__0
lrwxrwxrwx  1     26 Mar 30 20:23 .DCOPserver_ab560_:0 -> 
/root/.DCOPserver_ab560__0
-rw-------  1     31 Mar 30 20:23 .mcoprc
drwx------ 15   4096 Mar 30 20:23 .
-rw-------  1 103873 Mar 30 20:23 .xsession-errors

Next I rebooted to graphical.target, logged in, and got this:
# ls -alrtgG | tail -n9
drwxr-xr-x  3   4096 Feb  9 20:36 .mc
drwxr-xr-x 27   4096 Mar 30 20:39 ..
-rw-------  1     99 Mar 30 20:49 .Xauthority
-rw-r--r--  1     52 Mar 30 20:49 .DCOPserver_ab560__0
lrwxrwxrwx  1     26 Mar 30 20:49 .DCOPserver_ab560_:0 -> 
/root/.DCOPserver_ab560__0
-rw-------  1     31 Mar 30 20:49 .mcoprc
-rw-------  1  34072 Mar 30 20:49 .bash_history
drwx------ 15   4096 Mar 30 20:49 .
-rw-------  1  48801 Mar 30 20:49 .xsession-errors
-- 
Evolution as taught in public schools is, like religion,
        based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata

Reply via email to