Modification d'une résolution d'écran Sun

Résolu
Bonjour,

Voici la config de la station :

SunOS 5.8 Generic_117350-47 sun4u sparc SUNW,Sun-Fire-V210

Je souhaiterais modifier la résolution d'écran de celle-ci mais je ne sais pas quelle est la commande à taper ?!

Merci de votre aide

--

Peace ...

8 réponses

  1. Tu es génial dubcek,

    Je m'étais trompé de machine c'est pour ça que je ne trouvais pas (j'en ai 5 à gérer !).

    La machine sur laquelle je devais changer la résolution est une -
    SunOS 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-5_10

    La commande est bien m64config

    Et celle sur laquelle je me fatiguais à trouver est une -
    SunOS 5.6 Generic_105181-39 sun4m sparc SUNW,SPARCstation-10

    Ce qui n'était pas la même chose.
    Du coup sur la deuxieme machine le fichier de config s'appel /usr/platform/sun4m/sbin/cg14config
    car la carte est une cgsix

    merci
    1. Contributeur
      /usr/sbin/m64config -prconf -propt
      si la commande n'est pas là, soit elle n'est pas installée soit elle est ailleurs
      pkginfo | grep SUNWm64

      http://wallaby.cs.man.ac.uk:8888/ab2/coll.40.6/REFMAN1M/@Ab2PageView/140726?
      NAME
      m64config, SUNWm64_config - configure the M64 Graphics Accelerator
      SYNOPSIS
      /usr/sbin/m64config [-defaults] [-depth 8 | 24 | 32] [-dev device-filename] [-file machine | system] [-prconf] [-propt] [ -res video-mode [ now| try] [ noconfirm| nocheck ]]
      /usr/sbin/m64config [-prconf] [-propt]
      /usr/sbin/m64config [-help] [ -res ?]
      1. Contributeur
        déjà déterminer la carte graphique: prtconf | egrep -i "afb|ffb|m64|elite|expert"
        (c'est ancien, peut-être il en manque)
        est-ce que /usr/sbin est dans le PATH ?
        1. Voici ce que ça donne :

          # echo $PATH | grep /usr/sbin
          /usr/sbin:/usr/bin
          # prtconf | egrep -i "afb|ffb|m64|elite|expert"
          SUNW,m64B, instance #0
      2. Merci dubcek,
        Au regret de t'avoir fait te répéter j'étais déjà tombé sur ce post, mais ça n'avait rien donné,
        c'est pour ça que je me suis permis d'en créer un.

        Voici ci-dessous toutes les commandes testées :

        sous le login root j'ai lancé la commande -

        cat toto

        m64config
        afbconfig
        fbconfig
        ffbconfig
        GFXconfig
        pgxconfig
        SUNWafb_config
        SUNWffb_config
        SUNWgfb_config
        SUNWifb_config
        SUNWjfb_config
        SUNWkfb_config
        SUNWm64_config
        SUNWnfb_config
        SUNWpfb_config
        SUNWzulu_config

        Ensuite -

        for i in `cat toto`
        > do
        > echo Test de la commande $i
        > $i
        > echo fin $i
        > done
        -------------------
        Test de la commande m64config
        m64config: not found
        fin m64config
        Test de la commande afbconfig
        afbconfig: not found
        fin afbconfig
        Test de la commande fbconfig
        fbconfig: not found
        fin fbconfig
        Test de la commande ffbconfig
        ffbconfig: not found
        fin ffbconfig
        Test de la commande GFXconfig
        GFXconfig: not found
        fin GFXconfig
        Test de la commande pgxconfig
        pgxconfig: not found
        fin pgxconfig
        Test de la commande SUNWafb_config
        SUNWafb_config: not found
        fin SUNWafb_config
        Test de la commande SUNWffb_config
        SUNWffb_config: not found
        fin SUNWffb_config
        Test de la commande SUNWgfb_config
        SUNWgfb_config: not found
        fin SUNWgfb_config
        Test de la commande SUNWifb_config
        SUNWifb_config: not found
        fin SUNWifb_config
        Test de la commande SUNWjfb_config
        SUNWjfb_config: not found
        fin SUNWjfb_config
        Test de la commande SUNWkfb_config
        SUNWkfb_config: not found
        fin SUNWkfb_config
        Test de la commande SUNWm64_config
        SUNWm64_config: not found
        fin SUNWm64_config
        Test de la commande SUNWnfb_config
        SUNWnfb_config: not found
        fin SUNWnfb_config
        Test de la commande SUNWpfb_config
        SUNWpfb_config: not found
        fin SUNWpfb_config
        Test de la commande SUNWzulu_config
        SUNWzulu_config: not found
        fin SUNWzulu_config
        1. Je voudrais savoir aussi si il y a une commande disponible pour savoir sur quelle résolution je me trouve.

          Merci.
      3. Contributeur
        ca dépend de la carte graphique, voir par ex. m64config -res 800x600

        afbconfig(1M) – configure the AFB Graphics Accelerator
        fbconfig(1M) – Frame Buffer configuration utility
        ffbconfig(1M) – configure the FFB Graphics Accelerator
        GFXconfig(1M) – configure the PGX32 (Raptor GFX) Graphics Accelerator
        pgxconfig(1M) – configure the PGX32 (Raptor GFX) Graphics Accelerator
        # SUNWafb_config(1M) – configure the AFB Graphics Accelerator
        # SUNWffb_config(1M) – configure the FFB Graphics Accelerator
        # SUNWgfb_config(1M) – fbconfig module for configuring Sun XVR-1000 Graphics Accelerator
        # SUNWifb_config(1M) – configure the Sun Expert3D Graphics Accelerator
        # SUNWjfb_config(1M) – fbconfig module for configuring the Sun XVR-600 and XVR-1200 Graphics Devices
        # SUNWkfb_config(1M) – fbconfig module for configuring the Sun XVR-2500 Graphics Device
        # SUNWm64_config(1M) – configure the M64 Graphics Accelerator
        # SUNWnfb_config(1M) – fbconfig module for configuring XVR-300 Graphics Accelerator
        # SUNWpfb_config(1M) – fbconfig module for configuring the XVR-50 and the Sun XVR-100 Graphics Accelerator
        # SUNWzulu_config(1M) – fbconfig module for configuring SunXVR-4000 Graphics Accelerator

        etc
        1. Merci pour ton aide mais ça ne fonctionne pas.

          root # xfree86: not found

          Je souhaiterais effectuer cette commande en prompt car je n'ai pas acces à la partie graphique, car je suis connecté sur la station en telnet.
          1. Contributeur
            Salut,

            je crois que tu utilises encore Xfree86 mais dans le doute essaie la commande :
            xrandr