You are not logged in.

#1 2021-09-21 15:07:37

nahush
Member
Registered: 2019-01-18
Posts: 170

can you all help me in building a good customize xdm login manager?

hello guys ,

i know today nobody wants to build something like login manager , but i feel awsome to do such things , if anyone interested please help me .

1. changing background image
2.making box for writing username and password
3.reboot, shutdown, help option

thank you.

Last edited by nahush (2021-09-21 15:12:51)

Offline

#2 2021-09-21 15:16:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,302

Re: can you all help me in building a good customize xdm login manager?

What from https://wiki.archlinux.org/title/XDM#Theming is unclear to you?

Offline

#3 2021-09-21 15:20:49

nahush
Member
Registered: 2019-01-18
Posts: 170

Re: can you all help me in building a good customize xdm login manager?

thanks for reply 
i try to go with that but change in xconsole command  is not working

i did replace thing

  GNU nano 5.8                 /etc/X11/xdm/Xsetup_0                            
#!/bin/sh
/usr/bin/qiv -zr /usr/local/share/backgrounds/back .png

actually update is :

every setting i did it as per the page https://wiki.archlinux.org/title/XDM#Theming  but nothing is working , if you can guide me through

 
  GNU nano 5.8                                                                       /etc/X11/xdm/Xresources                                                                        Modified  
Xcursor.theme: whiteglass

xlogin*login.translations: #override \
        Ctrl<Key>R: abort-display()\n\
        <Key>F1: set-session-argument(failsafe) finish-field()\n\
        <Key>Delete: delete-character()\n\
        <Key>Left: move-backward-character()\n\
        <Key>Right: move-forward-character()\n\
        <Key>Home: move-to-begining()\n\
        <Key>End: move-to-end()\n\
        Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\
        <Key>KP_Enter: set-session-argument() finish-field()\n\
        Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
        <Key>Return: set-session-argument() finish-field()

xlogin*greeting: Welcome to CLIENTHOST
xlogin*namePrompt: \040\040\040\040\040\040\040Login:
xlogin*fail: Login incorrect or forbidden by policy

#if WIDTH > 800
xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*greetFace:       Serif-24:bold:italic
xlogin*face:            Helvetica-18
xlogin*promptFace:      Helvetica-18:bold
xlogin*failFace:        Helvetica-18:bold
#else
xlogin*greetFont: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1
xlogin*greetFace:       Serif-18:bold:italic
xlogin*face:            Helvetica-12
xlogin*promptFace:      Helvetica-12:bold
xlogin*failFace:        Helvetica-14:bold
#endif

#ifdef COLOR
xlogin*borderWidth: 1
xlogin*frameWidth: 5
xlogin*innerFramesWidth: 2
xlogin*shdColor: grey30
xlogin*hiColor: grey90
xlogin*background: grey
xlogin*inpColor: grey80
!xlogin*foreground: darkgreen
xlogin*greetColor: Blue3
xlogin*failColor: red
xlogin*greetColor: Blue3
xlogin*failColor: red
*Foreground: black
*Background: #fffff0
#else
xlogin*borderWidth: 3
xlogin*frameWidth: 0
xlogin*innerFramesWidth: 1
xlogin*shdColor: black
xlogin*hiColor: black
#endif
#if PLANES >= 8
#xlogin*logoFileName: /usr/share/xdm/pixmaps/xorg.xpm
#else
#xlogin*logoFileName: /usr/share/xdm/pixmaps/xorg-bw.xpm
#endif
xlogin*useShape: true
xlogin*logoPadding: 10

XConsole.text.geometry: 480x130
XConsole.verbose:       true
XConsole*iconic:        true
XConsole*font:          fixed

Chooser*geometry:               700x500+300+200
Chooser*allowShellResize:       false
Chooser*viewport.forceBars:     true
Chooser*label.font:             *-new century schoolbook-bold-i-normal-*-240-*
Chooser*label.label:            XDMCP Host Menu from CLIENTHOST
Chooser*list.font:              -*-*-medium-r-normal-*-*-230-*-*-c-*-iso8859-1
Chooser*Command.font:           *-new century schoolbook-bold-r-normal-*-180-*

##change took from XDm theming

## for font

xlogingreetFont:  -adobe-helvetica-bold-o-normal--20------iso8859-1
xloginfont:       -adobe-helvetica-medium-r-normal--14------iso8859-1
xloginpromptFont: -adobe-helvetica-bold-r-normal--14------iso8859-1
xloginfailFont:   -adobe-helvetica-bold-r-normal--14------iso8859-1


##login dialog positioning

xlogin*frameWidth: 1
xlogin*innerFramesWidth: 1
xlogin*logoPadding: 0
xlogin*geometry:    300x175-0-0

Last edited by nahush (2021-09-21 15:44:10)

Offline

Board footer

Powered by FluxBB