Getting Started, Documentation, Tips & Tricks

[How-To] Add pictures to the visual login screen

...i bet i'm stuck to something very basic, but i'm quite dizzy right now and i'd appreciate some help...

following Gerhard Lenerz's tips :
Use chkconfig to make sure that visuallogin is set to on and noiconlogin to off . The icons (SGI RGB format, at least 100x100 pixels) can be placed in the following locations:

Code: Select all

/$HOME/.icons/login.icon
/usr/lib/faces/$USER
/usr/local/lib/faces/$USER

$USER is the loginname of the user, $HOME the home directory.

there was no "faces" directory under /usr/lib/ nor /usr/local/lib so i created 'em and copyied the image file over there:

Code: Select all

o2 1# ls /usr/lib/faces/fu
mad_127_100.rgb
o2 2# ls /usr/local/lib/faces/fu
mad_127_100.rgb
o2 3#

my chkconfig looks like:

Code: Select all

o2 3% chk
Flag                 State
====                 =====

acct                 off
appletalk            off
array                off
audit                off
autoconfig_ipaddress off
autofs               on
automount            off
cesag                off
cluster              off
desktop              on
esp                  off
fcagent              off
fontserver           off
gated                off
grio                 off
grio2                off
ipaliases            off
isdnd                off
ldap                 off
lockd                on
lp                   on
mediad               on
mrouted              off
named                off
nds                  off
neko_sshd            on
network              on
nfs                  on
nfsd                 on
noiconlogin          off
nostickytmp          off
ns_admin             off
ns_fasttrack         off
nsd                  on
pam                  off
pmcd                 off
pmie                 off
privileges           off
proclaim_relayagent  off
proclaim_server      off
proxymngr            off
quickpage            off
rarpd                off
routed               off
rsvpd                off
rtmond               on
rwhod                off
sar                  off
savecore             on
sdpd                 off
sendmail             off
sendmail_cf          off
sesdaemon            off
sgi_apache           on
snetd                off
soundscheme          on
sshd                 off
tfxd                 off
timed                off
timeslave            off
ts                   off
verbose              on
visuallogin          on
vswap                off
webface              off
webface_apache       off
windowsystem         on
xdm                  on
xlv                  off
yp                   off
ypmaster             off
ypserv               off

o2 4% uname -aR
IRIX o2 6.5 6.5.26m 10060437 IP32
o2 5%


..any tips..?
fu wrote: there was no "faces" directory under /usr/lib/ nor /usr/local/lib so i created 'em and copyied the image file over there:

Code: Select all

o2 1# ls /usr/lib/faces/fu
mad_127_100.rgb
o2 2# ls /usr/local/lib/faces/fu
mad_127_100.rgb
o2 3#


You need to rename the image file so it matches your login name, i.e. mv mad_127_100.rgb fu

So it should look like: /usr/local/lib/faces/fu (with fu being the image file itself, not a subdirectory)

Here's an example from my Fuel (I use /usr/lib/faces instead of /usr/local/lib/faces but either location works):

Image

Code: Select all

[Mai:~] neko 7# ls -la /usr/lib/faces
total 80
drwxr-xr-x    2 root     sys            28 Oct  3  2005 ./
drwxr-xr-x   69 root     sys         12288 Sep 19 04:42 ../
-rw-r--r--    1 neko     user        30512 Sep 28  2005 neko
-rw-r--r--    1 neko     user        30512 Oct  3  2005 root

[Mai:~] neko 9# file /usr/lib/faces/neko
/usr/lib/faces/neko:    SGI imagelib image (100 x 100)

[Mai:~] neko 10# file /usr/lib/faces/root
/usr/lib/faces/root:    SGI imagelib image (100 x 100)


'man clogin' for more details.
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
nekonoko wrote: You need to rename the image file so it matches your login name, i.e. mv mad_127_100.rgb fu

So it should look like: /usr/local/lib/faces/fu ( with fu being the image file itself , not a subdirectory)

Code: Select all

[Mai:~] neko 7# ls -la /usr/lib/faces
total 80
drwxr-xr-x    2 root     sys            28 Oct  3  2005 ./
drwxr-xr-x   69 root     sys         12288 Sep 19 04:42 ../
-rw-r--r--    1 neko     user        30512 Sep 28  2005 neko
-rw-r--r--    1 neko     user        30512 Oct  3  2005 root

[Mai:~] neko 9# file /usr/lib/faces/neko
/usr/lib/faces/neko:    SGI imagelib image (100 x 100)

[Mai:~] neko 10# file /usr/lib/faces/root
/usr/lib/faces/root:    SGI imagelib image (100 x 100)


yay!

that did the trick

thnx neko :D
fu wrote: yay!

that did the trick

So, are you going to show us the image? :wink:
josehill wrote:
fu wrote: yay!

that did the trick

So, are you going to show us the image? :wink:


hex!

i'm gonna take some screengrabs later...

i 've been messing with irix's vizual customization (X11 forwarding + VNC too) 2day and it's been (relatively) easy 2 do some funky stuff... 8)
Will probably look better than my digital camera snapshot - capturing the login screen is (normally) tough (though it sounds like X11 forwarding may be one way to do it) ;)
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
We used to have the Simpson's mugshots as visual logins for all of our users, this was a cool display...
unixmuseum wrote: We used to have the Simpson's mugshots as visual logins for all of our users, this was a cool display...


I bought an Indigo2 on eBay a while back that had the entire clogin window filled with a spoof "Episode I" poster (Bart/Homer) :)
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
nekonoko wrote: You need to rename the image file so it matches your login name, i.e. mv mad_127_100.rgb fu

So it should look like: /usr/local/lib/faces/fu (with fu being the image file itself, not a subdirectory)


Interesting addition to Tips & Tricks. Thanks for this hint neko! I'll try it.