Hello Wesley, 

see below...

open...@e-solutions.re (Wesley), 2012.10.31 (Wed) 14:06 (CET):
> I'm sorry, but i did all you write.
> Now when i turn on my OpenBSD Box, i have a pretty GUI, but when i
> run 'Terminal', i get these errors :

> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> xauth:  file /home/stac/.serverauth.22692 does not exist
> Fatal server error:
> Server is already active for display 0
>         If this server is no longer running, remove /tmp/.X0-lock
>         and start again.
> Please consult the The X.Org Foundation support
>          at http://wiki.x.org
>  for help.
> XIO:  fatal IO error 35 (Resource temporarily unavailable) on X
> server ":0"
>       after 7 requests (7 known processed) with 0 events remaining.
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> I have a user : stac, member of wheel group
> 
> my 'ttyC1' from the file /etc/ttys :
> ttyC1   "/usr/local/sbin/autologin.getty"       vt220   on  secure
> 
> $ userinfo stac
> login   stac
> passwd  *
> uid     1001
> groups  users wheel
> change  NEVER
> class
> gecos
> dir     /home/stac
> shell   /bin/ksh
> expire  NEVER
> 
> $ cat /usr/local/sbin/autologin
> #!/bin/sh -e
> echo running autologin...
> exec su -l stac
> 
> $ cat /usr/local/sbin/autologin.getty
> #!/bin/sh -e
> TERM=vt220 /usr/local/sbin/autologin < /dev/$1 > /dev/$1
> 
> $ cat /etc/rc.conf.local
> ntpd_flags=             # enabled during install
> #xdm_flags=
> 
> $ ls -la
> total 12384
> drwxr-xr-x  4 stac  users      512 Oct 31 17:01 .
> drwxr-xr-x  3 root  wheel      512 Oct 11 16:55 ..
> -rw-------  1 stac  users      163 Oct 31 16:56 .Xauthority
> -rw-r--r--  1 stac  users       62 Oct 12 11:56 .Xdefaults
> -rw-------  1 stac  users       16 Oct 31 11:58 .aucat_cookie
> -rw-r--r--  1 stac  users      773 Feb 12  2012 .cshrc
> -rw-r--r--  1 stac  users     2146 Oct 31 16:50 .fvwmrc
> -rw-r--r--  1 stac  users      398 Feb 12  2012 .login
> -rw-r--r--  1 stac  users      113 Feb 12  2012 .mailrc
> drwx------  4 stac  users      512 Oct 12 09:56 .mozilla
> -rw-r--r--  1 stac  users      240 Oct 31 12:28 .profile
> -rw-------  1 stac  users       52 Oct 31 16:56 .serverauth.12948
> drwx------  2 stac  users      512 Oct 12 12:00 .ssh
> -rw-r--r--  1 stac  users      167 Oct 31 16:48 .xinitrc
> -rw-------  1 stac  users        0 Oct 31 11:06 .xsession-errors
> -rw-------  1 stac  users  6290352 Oct 15 08:55 firefox.core
> 
> $ cat .Xdefaults
> XTerm*loginShell:true

I suppose xterm is parsing the .profile and thus starting another
instance of X.org server and giving you these fine errors. 

I would try in .Xdefaults

XTerm*loginShell:false

OR

you could do the following in .profile:
pgrep -f -x "/usr/X11R6/bin/X .*" || /usr/X11R6/bin/xinit

Bye, Marcus

> Any idea ?
> Therefore, i like a lot what you did with fvwm! It is pretty cool ! ;-)
> 
> Cheers,
> 
> Wesley
> 
> Le 2012-10-31 13:22, MERIGHI Marcus a écrit :
> >Hello Wesley,
> >
> >note: ``autologin'' is a regular user in my case. I never saw the
> >X.org errors you mention.
> 
> 
> !DSPAM:5091228654151846291855!

Reply via email to