Écran login + mdp mais pas d'accès, retour même écran ?

heeeuuu, j’ignore à quoi je devais m’attendre en lançant $ startx – :1 , mais ce n’était probablement pas ce que j’ai vu.

Écran tty2, avec un paquet de messages d’erreurs qui ont défilés, je suis repassé sur OS maître et j’ai monter sdb1, 6,7,8 sur /mnt/chroot et j’ai pu récupérer la sortie console startx – 1 2>

Première fois que je vois un tel message, je n’ai pas compris grand chose … :033

:~$ startx -- 1 2>messages_derreur_20092011_18h02.txt

mktemp: impossible de créer le fichier à partir du modèle « /tmp/serverauth.XXXXXXXXXX »: Permission non accordée
xauth:  creating new authority file
xauth:  unable to link authority file , use -n

use: X [:<display>] [option]
-a #                   default pointer acceleration (factor)
-ac                    disable access control restrictions
-audit int             set audit trail level
-auth file             select authorization file
-br                    create root window with black background
+bs                    enable any backing store support
-bs                    disable any backing store support
-c                     turns off key-click
c #                    key-click volume (0-100)
-cc int                default color visual class
-nocursor              disable the cursor
-core                  generate core dump on fatal error
-dpi int               screen resolution in dots per inch
-dpms                  disables VESA DPMS monitor control
-deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
-f #                   bell base (0-100)
-fc string             cursor font
-fn string             default font name
-fp string             default font path
-help                  prints message with these options
-I                     ignore all remaining arguments
-ld int                limit data space to N Kb
-lf int                limit number of open files to N
-ls int                limit stack space to N Kb
-logo                  enable logo in screen saver
nologo                 disable logo in screen saver
-nolisten string       don't listen on protocol
-noreset               don't reset after last client exists
-reset                 reset after last client exists
-p #                   screen-saver pattern duration (minutes)
-pn                    accept failure to listen on all ports
-nopn                  reject failure to listen on all ports
-r                     turns off auto-repeat
r                      turns on auto-repeat
-render [default|mono|gray|color] set render color alloc policy
-retro                 start with classic stipple and cursor
-s #                   screen-saver timeout (minutes)
-t #                   default pointer threshold (pixels/t)
-terminate             terminate at server reset
-to #                  connection time out
-tst                   disable testing extensions
ttyxx                  server started from init on /dev/ttyxx
v                      video blanking for screen-saver
-v                     screen-saver without video blanking
-wm                    WhenMapped default backing-store
-wr                    create root window with white background
-maxbigreqsize         set maximal bigrequest size
+xinerama              Enable XINERAMA extension
-xinerama              Disable XINERAMA extension
-dumbSched             Disable smart scheduling, enable old behavior
-schedInterval int     Set scheduler interval in msec
+extension name        Enable extension
-extension name        Disable extension
-query host-name       contact named host for XDMCP
-broadcast             broadcast for XDMCP
-multicast [addr [hops]] IPv6 multicast for XDMCP
-indirect host-name    contact named host for indirect XDMCP
-port port-num         UDP port number to send messages to
-from local-address    specify the local address to connect from
-once                  Terminate server after one session
-class display-class   specify display class to send in manage
-cookie xdm-auth-bits  specify the magic cookie for XDMCP
-displayID display-id  manufacturer display ID for request
[+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ]
                       enable/disable accessx key sequences
-ardelay               set XKB autorepeat delay
-arinterval            set XKB autorepeat interval


Device Dependent Usage
-config file           specify a configuration file, relative to the
                       xorg.conf search path, only root can use absolute
-configdir dir         specify a configuration directory, relative to the
                       xorg.conf.d search path, only root can use absolute
-verbose [n]           verbose startup messages
-logverbose [n]        verbose log messages
-quiet                 minimal startup messages
-pixmap24              use 24bpp pixmaps for depth 24
-pixmap32              use 32bpp pixmaps for depth 24
-fbbpp n               set bpp for the framebuffer. Default: 8
-depth n               set colour depth. Default: 8
-gamma f               set gamma value (0.1 < f < 10.0) Default: 1.0
-rgamma f              set gamma value for red phase
-ggamma f              set gamma value for green phase
-bgamma f              set gamma value for blue phase
-weight nnn            set RGB weighting at 16 bpp.  Default: 565
-layout name           specify the ServerLayout section name
-screen name           specify the Screen section name
-keyboard name         specify the core keyboard InputDevice name
-pointer name          specify the core pointer InputDevice name
-nosilk                disable Silken Mouse
-flipPixels            swap default black/white Pixel values
-disableVidMode        disable mode adjustments with xvidtune
-allowNonLocalXvidtune allow xvidtune to be run as a non-local client
-allowMouseOpenFail    start server even if the mouse can't be initialized
-ignoreABI             make module ABI mismatches non-fatal
-isolateDevice bus_id  restrict device resets to bus_id (PCI only)
-version               show the server version
-showDefaultModulePath show the server default module path
-showDefaultLibPath    show the server default library path
vtXX                   use the specified VT number
-keeptty               don't detach controlling tty (for debugging only)
-novtswitch            don't immediately switch to new VT
-sharevts              share VTs with another X server


X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.37-trunk-amd64 x86_64 Debian
Current Operating System: Linux Debian-pc-1 2.6.32-5-amd64 #1 SMP Fri Sep 9 20:23:16 UTC 2011 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-amd64 root=UUID=256700db-871e-4e9e-b1ce-b6974454501e ro quiet
Build Date: 18 February 2011  08:27:24PM
xorg-server 2:1.7.7-13 (Cyril Brulebois <kibi@debian.org>)
Current version of pixman: 0.16.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Tue Sep 20 18:09:04 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
SELinux: Disabled on system, not enabling in X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Cannot open "/tmp/server-1.xkm" to write keyboard description
>                   Exiting
(EE) Error compiling keymap (server-1)
(EE) XKB: Couldn't compile keymap
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.

Fatal server error:
Failed to activate core devices.

Please consult the The X.Org Foundation support
	 at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.1.log" for additional information.

giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

De ce fait, je n’ai guère pu consulter le moindre log :mrgreen:

Que donne :

# df -h

vérifie l’espace disque disponible dans tes partitions …

Ma foi, de ce côté j’ai de la marge.

[quote]root@Debian-pc-1:/mnt/chroot# df -h
Sys. de fichiers Taille Uti. Disp. Uti% Monté sur
/dev/sda5 38G 19G 18G 52% /
tmpfs 502M 0 502M 0% /lib/init/rw
varrun 502M 220K 502M 1% /var/run
varlock 502M 0 502M 0% /var/lock
udev 496M 236K 496M 1% /dev
tmpfs 502M 0 502M 0% /dev/shm
/dev/sda10 136G 23G 107G 18% /home
/dev/sda9 21G 12M 20G 1% /tmp
/dev/sda6 12G 4,8G 6,5G 43% /usr
/dev/sda7 42G 20G 21G 49% /var
/dev/sdb1 79G 19G 57G 25% /mnt/chroot
/dev/sdb6 199G 17G 172G 9% /mnt/chroot/home
/dev/sdb7 61G 4,9G 53G 9% /mnt/chroot/usr
/dev/sdb8 81G 19G 59G 24% /mnt/chroot/var

root@Debian-pc-1:/mnt/chroot# [/quote]

$ startx – :1

startx ESPACE tiret-tiret ESPACE deux points un

C’est bien ce que j’avais fait l’ami, j’ai juste fait une erreur au post précédent dans le copier/coller de la commande.

Je viens d’y retourner (sur le clone) en tty2.

Le message est identique.

-edit-

/usr/share/X11/xorg.conf.d est un répertoire chez moi.

Suis allé consulter le fichier/var/log/Xorg.1.log, du clone.

[code]X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.37-trunk-amd64 x86_64 Debian
Current Operating System: Linux Debian-pc-1 2.6.32-5-amd64 #1 SMP Fri Sep 9 20:23:16 UTC 2011 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-amd64 root=UUID=256700db-871e-4e9e-b1ce-b6974454501e ro quiet
Build Date: 18 February 2011 08:27:24PM
xorg-server 2:1.7.7-13 (Cyril Brulebois kibi@debian.org)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: “/var/log/Xorg.1.log”, Time: Tue Sep 20 19:27:04 2011
(==) Using config file: “/etc/X11/xorg.conf”
(==) Using system config directory “/usr/share/X11/xorg.conf.d”
(==) ServerLayout “Layout0”
(
) |–>Screen “Screen0” (0)
() | |–>Monitor “Monitor0”
(
) | |–>Device “Device0”
() |–>Input Device “Keyboard0”
(
) |–>Input Device “Mouse0”
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to “/usr/lib/xorg/modules”
(WW) AllowEmptyInput is on, devices using drivers ‘kbd’, ‘mouse’ or ‘vmmouse’ will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x7c8aa0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(–) using VT number 3

(–) PCI:*(0:5:0:0) 10de:01df:1043:81f3 nVidia Corporation G71 [GeForce 7300 GS] rev 161, Mem @ 0xfa000000/16777216, 0xd0000000/268435456, 0xfb000000/16777216, BIOS @ 0x???/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) “extmod” will be loaded by default.
(II) “dbe” will be loaded by default.
(II) “glx” will be loaded. This was enabled by default and also specified in the config file.
(II) “record” will be loaded by default.
(II) “dri” will be loaded by default.
(II) “dri2” will be loaded by default.
(II) LoadModule: “glx”
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module 195.36.31 Thu Jun 3 08:59:25 PDT 2010
(II) Loading extension GLX
(II) LoadModule: “extmod”
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: “dbe”
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: “record”
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: “dri”
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: “dri2”
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: “nvidia”
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver 195.36.31 Thu Jun 3 08:27:29 PDT 2010
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 05@00:00:0
(II) Loading sub module “fb”
(II) LoadModule: “fb”
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module “wfb”
(II) LoadModule: “wfb”
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module “ramdac”
(II) LoadModule: “ramdac”
(II) Module “ramdac” already built-in
() NVIDIA(0): Depth 24, (–) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(
) Sep 20 19:27:05 NVIDIA(0): Enabling RENDER acceleration
(II) Sep 20 19:27:05 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Sep 20 19:27:05 NVIDIA(0): enabled.
(II) Sep 20 19:27:05 NVIDIA(0): NVIDIA GPU GeForce 7300 GS (G72) at PCI:5:0:0 (GPU-0)
(–) Sep 20 19:27:05 NVIDIA(0): Memory: 524288 kBytes
(–) Sep 20 19:27:05 NVIDIA(0): VideoBIOS: 05.72.22.43.00
(II) Sep 20 19:27:05 NVIDIA(0): Detected PCI Express Link width: 16X
(–) Sep 20 19:27:05 NVIDIA(0): Interlaced video modes are supported on this GPU
(–) Sep 20 19:27:05 NVIDIA(0): Connected display device(s) on GeForce 7300 GS at PCI:5:0:0:
(–) Sep 20 19:27:05 NVIDIA(0): STN SAMTRON (CRT-0)
(–) Sep 20 19:27:05 NVIDIA(0): STN SAMTRON (CRT-0): 400.0 MHz maximum pixel clock
(II) Sep 20 19:27:05 NVIDIA(0): Assigned Display Device: CRT-0
(==) Sep 20 19:27:05 NVIDIA(0):
(==) Sep 20 19:27:05 NVIDIA(0): No modes were requested; the default mode “nvidia-auto-select”
(==) Sep 20 19:27:05 NVIDIA(0): will be used as the requested mode.
(==) Sep 20 19:27:05 NVIDIA(0):
(II) Sep 20 19:27:05 NVIDIA(0): Validated modes:
(II) Sep 20 19:27:05 NVIDIA(0): “nvidia-auto-select”
(II) Sep 20 19:27:05 NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(–) Sep 20 19:27:05 NVIDIA(0): DPI set to (85, 86); computed from “UseEdidDpi” X config
(–) Sep 20 19:27:05 NVIDIA(0): option
(==) Sep 20 19:27:05 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(–) Depth 24 pixmap format is 32 bpp
(II) Sep 20 19:27:05 NVIDIA(0): Initialized GPU GART.
(II) Sep 20 19:27:05 NVIDIA(0): Setting mode “nvidia-auto-select”
(II) Loading extension NV-GLX
(II) Sep 20 19:27:05 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Sep 20 19:27:05 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
SELinux: Disabled on system, not enabling in X server
(EE) Error compiling keymap (server-1)
(EE) XKB: Couldn’t compile keymap
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.

Fatal server error:
Failed to activate core devices.

Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at “/var/log/Xorg.1.log” for additional information.

[/code]

Attribue les droits sur /tmp de cette façon :

chmod 1777 /tmp

et essaye de nouveau.

J’ai vraiment lancé cette commande sans conviction, ceci dans la mesure ou /tmp fût copier par rsync sur le “clone” par le biais de la “sauvegarde”.

Commande lancer après un # chroot /mnt/chroot.

Même punition au re-boot …

Apparemment :

# chmod 777 /var/tmp

Je n’avais pas exclus /var/tmp avec rsync.

Salut,
j’ai lu en diagonale le topic mais ça m’est arrivé
récemment sur une machine et :

a résolu mon pb.

diagonale … que diable … :005

non, les droits ont étaient vérifiés. C’est tout autre (me semble t-il) … :083

Je crois avoir cerner le souci, … une erreur glisser dans l’utilisation de rsync par l’oubli d’un “/

J’ai lancé une reconstruction complète du nouvelle OS autonome basé sur les sauvegardes, et non pas un clone qui lui dépends de l’OS maître.

Dès que … :wink: