Hello Wesley, 

note: ``autologin'' is a regular user in my case. I never saw the
X.org errors you mention. To make sure I keep pasting my configs of the
next steps:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
$ cat .xinitrc 
/usr/X11R6/bin/xset m 4/1 4 &
/usr/X11R6/bin/xset -dpms &
/usr/X11R6/bin/xset s off &
/usr/X11R6/bin/xsetroot -solid black
/usr/X11R6/bin/fvwm || /usr/X11R6/bin/xterm
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
$ cat .fvwmrc
AddToFunc InitFunction
+ "I" Module FvwmButtons AutologinButtons
+ "I" AutologinRunRdp
AddToFunc RestartFunction
+ "I" Module FvwmButtons AutologinButtons
+ "I" AutologinRunRdp
#
DeskTopSize 1x2
EdgeResistance 500 20
EdgeScroll 100 100
EdgeThickness 1
ClickTime 750
SnapAttraction 5 All
SnapGrid 5 5
ColormapFocus FollowsFocus
GlobalOpts SmartPlacementIsReallySmart, ClickToFocusDoesntPassClick, 
ClickToFocusRaises, MouseFocusClickRaises, CaptureHo norsStartsOnPage, 
RecaptureIgnoresStartsOnPage, ActivePlacementHonorsStartsOnPage
#
Style           "*"             BorderWidth 0
Style           "*"             HandleWidth 0
#
Style "AutologinButtons"    Icon toolbox.xpm, ClickToFocus, NoTitle, Sticky, 
WindowListSkip
*AutologinButtonsColumns 1
*AutologinButtonsRows *
*AutologinButtonsBack rgb:20/20/20
*AutologinButtonsFore white
*AutologinButtonsBoxSize smart
*AutologinButtonsFrame 1
*AutologinButtonsPadding 1 2
*AutologinButtonsFont               -*-*-*-*-*-*-20-*-*-*-*-*-*-*
#
Key a A SCM AutologinRunRdp
*AutologinButtons(Title "Verbindung herstellen     (strg+alt+shift+a)", Size 
500 50, Action AutologinRunRdp)
#
Key s A SCM AutologinRunKillRdp
*AutologinButtons(Title "Alle Verbindungen Trennen (strg+alt+shift+s)", Size 
500 50, Action AutologinRunKillRdp)
#
Key q A SCM AutologinRunShutdown
*AutologinButtons(Title "Herunterfahren            (strg+alt+shift+q)", Size 
500 50, Action AutologinRunShutdown)
#
Key w A SCM AutologinRunReboot
*AutologinButtons(Title "Neustart                  (strg+alt+shift+w)", Size 
500 50, Action AutologinRunReboot)
#
Key t A SCM AutologinRunTerm
*AutologinButtons(Title "Terminal                  (strg+alt+shift+t)", Size 
500 50, Action AutologinRunTerm)

AddToFunc AutologinRunRdp
+ "I" Exec exec /usr/local/bin/rdesktop -g workarea -D -K -u "" -k de rdp
#+ "I" Exec exec /usr/local/bin/rdesktop -g workarea -D -K -u "" -k de -z -x m 
rdp
AddToFunc AutologinRunKillRdp
+ "I" Exec exec /usr/bin/pkill rdesktop
AddToFunc AutologinRunShutdown
+ "I" Exec exec sudo /sbin/shutdown -hp now
AddToFunc AutologinRunReboot
+ "I" Exec exec sudo /sbin/reboot
AddToFunc AutologinRunTerm
+ "I" Exec exec xterm
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Bye, Marcus

open...@e-solutions.re (Wesley), 2012.10.31 (Wed) 08:56 (CET):
> Le 2012-10-30 12:24, MERIGHI Marcus a écrit :
> >$ grep ttyC1 /etc/ttys
> >ttyC1   "/usr/local/sbin/autologin.getty" vt220 on  secure
> >
> >$ cat /usr/local/sbin/autologin.getty
> >#!/bin/sh -e
> >TERM=vt220 /usr/local/sbin/autologin < /dev/$1 > /dev/$1
> >
> >$ cat /usr/local/sbin/autologin
> >#!/bin/sh -e
> >echo running autologin...
> >exec su -l autologin
> >
> >$ cat /home/autologin/.profile
> >/usr/X11R6/bin/startx
> >
> 
> Hi,
> Thank you very much, now keyboard works, therefore, in each xterm i
> have the following errors :
> 
> "
> xauth:  file /home/stac/.serverauth.457 does not exist
> xauth: (stdin):1:  bad display name "accueil:0" in "add" command
> 
> 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"
> 
> When start "fwvm", it is possible to disable xterm at startup ?
> 
> Again, thank you very much for your precious help!
> 
> Cheers,
> 
> Wesley
> 
> !DSPAM:5090d9d1142819426116008!

Reply via email to