X does not work as regular user, but it does at root

parv/freebsd parv.0zero9+freebsd at gmail.com
Sat Apr 17 19:52:01 UTC 2021


On Fri, Apr 16, 2021 at 8:06 PM parv/freebsd wrote:

> On Fri, Apr 16, 2021 at 4:09 PM parv/freebsd wrote:
>
...

> you [may] need
>> to set those permissions on /tmp directory itself. Then anyone can create
>> the
>> files in /tmp & not overwrite each others'
>>
> ...

> as root ...
>>
>>   % chmod 1777 /tmp
>>
>>
All the other directories are created & permissions set after booting
FreeBSD by the system. If that is not the case for you, then you may be
missing or may have mis-edited files in /etc.

Below is /tmp just after booting & I have logged in on the console and not
have started Xorg yet ...

   % /bin/ls -FaCl /tmp/
   total 36
   drwxrwxrwt   7 root  wheel   7 Apr 17 09:37 ./
   drwxr-xr-x  24 root  wheel  29 Apr 16 23:37 ../
   drwxrwxrwt   2 root  wheel   2 Apr 16 23:37 .ICE-unix/
   drwxrwxrwt   2 root  wheel   2 Apr 16 23:37 .X11-unix/
   drwxrwxrwt   2 root  wheel   2 Apr 16 23:37 .XIM-unix/
   drwxrwxrwt   2 root  wheel   2 Apr 16 23:37 .font-unix/
   drwxr-xr-x   2 parv  wheel   2 Apr 17 09:37 gimp-parv/

... that "/tmp/gimp-parv" directory is created during my shell start up. All
others are created by FreeBSD.


- parv


More information about the freebsd-questions mailing list