[OpenIndiana-discuss] OI and console switching

Udo Grabowski (IMK) udo.grabowski at kit.edu
Sat Oct 27 17:54:41 UTC 2012


On 10/27/12 07:12 PM, Jim Klimov wrote:
> 2012-10-27 16:36, Udo Grabowski (IMK) пишет:
>> I also had some problems in a5 (a2 was ok), which disappeared
>> again in a7. But I have a slightly different setting on vt7:
>> /etc/gdm.conf (I think that's only a question of taste, but
>> who knows...):
>> ...
>> [security]
>> CheckDirOwner=false
> ...
>
> The file /etc/gdm.conf (nor /etc/gdm/gdm.conf) did not exist at
> all, I tried creating it now.

Uh, sorry, new name, it is /etc/gdm/custom.conf now !

>
> Directory /var/run/gdm is also absent (though X11 session is up);
> how do you ensure it exists, given that /var/run is tmpfs? Do you
> create it manually (via startup scripts/SMF), or some GDM setting
> provides it? Can it influence the console problems and/or X user
> switching?

SMF, in /lib/svc/method/svc-gdm, add :

mkdir /var/run/gdm 1>/dev/null 2>&1;chown gdm:gdm /var/run/gdm	

just before /usr/sbin/gdm $arg &
Maybe that should also go into the next OI.

 > Can it influence the console problems and/or X user switching?
I don't think so, but at least one .xerrors message disappears...
-- 
Dr.Udo Grabowski    Inst.f.Meteorology a.Climate Research IMK-ASF-SAT
www-imk.fzk.de/asf/sat/grabowski/ www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology            http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany  T:(+49)721 608-26026 F:-926026



More information about the OpenIndiana-discuss mailing list