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

New to SGIs? Need help getting things going? This is the forum for you!
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
fu
Posts: 1119
Joined: Thu Sep 29, 2005 9:39 am
Location: constant traveler [nyc/london/berlin]
Contact:

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

Unread postby fu » Fri Sep 22, 2006 1:03 pm

...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..?
Last edited by fu on Sat Sep 23, 2006 5:30 pm, edited 1 time in total.

User avatar
nekonoko
Site Admin
Site Admin
Posts: 8145
Joined: Thu Jan 23, 2003 1:31 am
Location: Pleasanton, California
Contact:

Re: Adding pictures to the visual login screen

Unread postby nekonoko » Fri Sep 22, 2006 1:09 pm

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.

User avatar
fu
Posts: 1119
Joined: Thu Sep 29, 2005 9:39 am
Location: constant traveler [nyc/london/berlin]
Contact:

Re: Adding pictures to the visual login screen

Unread postby fu » Fri Sep 22, 2006 1:40 pm

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

User avatar
josehill
Moderator
Moderator
Posts: 3334
Joined: Mon Jun 06, 2005 9:53 pm
Location: New England, USA
Contact:

Re: Adding pictures to the visual login screen

Unread postby josehill » Fri Sep 22, 2006 1:54 pm

fu wrote:yay!

that did the trick

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

User avatar
fu
Posts: 1119
Joined: Thu Sep 29, 2005 9:39 am
Location: constant traveler [nyc/london/berlin]
Contact:

Re: Adding pictures to the visual login screen

Unread postby fu » Fri Sep 22, 2006 2:03 pm

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)

User avatar
nekonoko
Site Admin
Site Admin
Posts: 8145
Joined: Thu Jan 23, 2003 1:31 am
Location: Pleasanton, California
Contact:

Unread postby nekonoko » Fri Sep 22, 2006 2:08 pm

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.

unixmuseum
Posts: 2783
Joined: Mon Apr 19, 2004 4:25 pm
Location: Los Angeles, CA

Unread postby unixmuseum » Fri Sep 22, 2006 2:12 pm

We used to have the Simpson's mugshots as visual logins for all of our users, this was a cool display...

User avatar
nekonoko
Site Admin
Site Admin
Posts: 8145
Joined: Thu Jan 23, 2003 1:31 am
Location: Pleasanton, California
Contact:

Unread postby nekonoko » Fri Sep 22, 2006 2:16 pm

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.

cicero
Posts: 115
Joined: Wed Jul 27, 2005 12:12 pm
Location: Austria

Re: Adding pictures to the visual login screen

Unread postby cicero » Fri Sep 22, 2006 3:47 pm

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.


Return to “Getting Started, Documentation, Tips & Tricks”

Who is online

Users browsing this forum: No registered users and 1 guest