rxvt-unicode (urxvt) v9.19 não está relatando usuários que estão usando ttys

1

Eu tenho alguns problemas com o urxvt v9.19, não consigo me ver informado no comando who .

Minha configuração é:

  • Archlinux: Linux arch 3.12.7-1-ARCH # 1 SMP PREPARO sex 10 de janeiro 08:50:35 CET 2014 x86_64 GNU
  • shell zsh
  • rxvt-unicode (urxvt) v9.19
  • impressionante v3.5.2 (The Fox)

Eu tentei outros emuladores de terminal como: termite , terminator e xterm , todos estão funcionando bem. Eu verifiquei o PKGBUILD do arco e eu semeei que o urxvt foi compilado com utmp .

Eu usei htop para analisar o processo de desova. O processo é gerado a partir do processo raiz, algo assim:

/sbin/init  
 |   
 urxvt  
  |  
  zsh  

E se eu usar w de urxvt , obtenho isto:

 ➜  ~  w   
 22:34:41 up  1:05,  0 users,  load average: 0.11, 0.17,  
 0.50   USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT

Se eu usar w de xterm ou terminator ou termite , obtenho isto:

 ➜ ~  w  
 22:46:25 up  1:17,  1 user,  load average: 0.22, 0.19, 0.33  
 USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT  
 starlays pts/0     22:46    0.00s  0.06s  0.00s w  

Como posso corrigir urxvt para funcionar corretamente e se reportar no comando w ?

    
por Starlays 13.01.2014 / 21:50

1 resposta

1

Na página de manual do urxvt :

Selo de login

urxvt tries to write an entry into the utmp(5) file so that it can be seen via the who(1) command, and can accept messages. To allow this feature, urxvt may need to be installed setuid root on some systems or setgid to root or to some other group on others.

Ou, em outras palavras:

  sudo chmod 4755 /path/to/urxvt
    
por 13.01.2014 / 22:10