Droits de root sur X11


#1

Je souhaite installer la dernière version de XFCE (mais peu importe pour XFCE):

  1. L’installeur (.bin) doit se lancer sous X11.
  2. Mais cet installeur doit être lancé en tant que root.
  3. Or, root n’a pas accès à X11 par défaut.

Bref, à chaque fois que je lance l’installeur, sous le compter user, en sudo ou su, il me sort que X11 doit être lancé (pourtant je lance l’installeur sous xorg).

Pour info, l’installeur fonctionne avec le compte user sans sudo.

Ma question:
comment autoriser le compte root à utiliser X11?

J’ai essayé un adduser root video, mais sans succès…


#2

[quote]emeraude:~$ aptitude show sux
Paquet : sux
État: installé
Automatiquement installé: non
Version : 1.0.1-3.2
Priorité : optionnel
Section : admin
Responsable : Millis Miller millis@faztek.org
Taille décompressée : 65,5k
Recommande: xbase-clients
Description : wrapper around su which will transfer your X credentials
Sux is a wrapper around the standard su command which will transfer your X credentials to the target user.

fgouget.free.fr/sux/ )

Marqueurs: admin::login, interface::commandline, security::authentication, use::login, x11::application

[/quote]


#3

[quote=“isterios”]Je souhaite installer la dernière version de XFCE (mais peu importe pour XFCE):

  1. L’installeur (.bin) doit se lancer sous X11.[/quote]
    En voilà une drôle d’idée de vouloir installer XFCE comme ça. Il existe des paquets Debian$ apt-cache search XFCE xfce4 - Installs Xfce4 core and scripts to set it up xfce4-artwork - additional artwork for the XFce4 Desktop Environment xfce4-battery-plugin - battery monitor plugin for the Xfce4 panel xfce4-clipman-plugin - clipboard history plugin for the Xfce4 panel xfce4-cpufreq-plugin - cpufreq information plugin for the Xfce4 panel xfce4-datetime-plugin - date and time plugin for the Xfce4 panel xfce4-diskperf-plugin - disk performance display plugin for the Xfce4 panel xfce4-fsguard-plugin - filesystem monitor plugin for the Xfce4 panel xfce4-goodies - enhancements for the Xfce4 Desktop Environment xfce4-icon-theme - Xfce Standard icon theme xfce4-mcs-plugins - Special modules for the xfce4-mcs-manager xfce4-minicmd-plugin - Mini-command line plugin for the Xfce4 panel xfce4-mixer - Xfce4 Mixer frontend xfce4-mixer-alsa - Xfce4 Mixer ALSA backend xfce4-mixer-oss - Xfce4 Mixer OSS backend xfce4-netload-plugin - network load monitor plugin for the Xfce4 panel xfce4-notes-plugin - Sticky notes plugin for the Xfce4 desktop xfce4-panel - The Xfce4 desktop environment panel xfce4-panel-dev - The Xfce4 panel development files xfce4-radio-plugin - v4l radio control plugin for the Xfce4 panel xfce4-sensors-plugin - hardware sensors plugin for the Xfce4 panel xfce4-session - Xfce4 Session Manager xfce4-showdesktop-plugin - show desktop button for the Xfce4 panel xfce4-smartbookmark-plugin - search the web via the Xfce4 panel xfce4-systemload-plugin - system load monitor plugin for the Xfce4 panel xfce4-systray - Systray panel plugin for Xfce4 panel xfce4-terminal - Xfce terminal emulator xfce4-toys - Eyes plugin for Xfce4 panel and xfce4-tips xfce4-trigger-launcher - Panel plugin to start/stop programs xfce4-wavelan-plugin - wavelan status plugin for the Xfce4 panel xfce4-weather-plugin - weather information plugin for the Xfce4 panel xfdesktop4 - Provides desktop background and root menu xffm4 - File manager for the Xfce4 desktop environment xffm4-icons - Icons for xffm4, the FM of XFce4 xfmedia - Xfce media player xfmedia-dev - The Xfmedia development files xfprint4 - Printer GUI for Xfce4 xfwm4 - window manager of the Xfce project xfwm4-themes - Theme files for xfwm4 xfce4-appfinder - Application finder for the Xfce4 Desktop Environment xfce4-iconbox - Iconbox for the Xfce4 Desktop Environment xfce4-mcs-manager - Settings manager for Xfce4 xfce4-mcs-manager-dev - Development files and static plugins xfce4-utils - Various tools for Xfce
    C’est bien plus simple :smt023