Hello Marc,

thanks a lot for your fast help!

On SuSE13.1 chown root.utmp /usr/bin/urxvt; chmod g+s /usr/bin/urxvt
solves the problem.

But still I'm confused:
Why does urxvt needs the setgid utmp while xterm and the others don't need this
to enable the registration in utmp?

 % ls -l /usr/bin/(xterm|lxterminal|gnome-terminal|urxvt)
-rwxr-xr-x 1 root root   81888 22. Nov 13:18 /usr/bin/gnome-terminal
-rwxr-xr-x 1 root root   59552 28. Sep 12:34 /usr/bin/lxterminal
-rwxr-sr-x 1 root utmp 1307664  8. Nov 17:02 /usr/bin/urxvt
-rwxr-xr-x 1 root root  506832  2. Okt 13:53 /usr/bin/xterm

Michael

---------------------------------------

On Sun, 5 Jan 2014, Marc Lehmann wrote:

On Sun, Jan 05, 2014 at 02:46:40AM +0100, Michael Traxler <[email protected]> 
wrote:
Any idea what I have to set to get this working?

utmp writing needs to be enabled (+ut) and urxvt needs to have the necesary
permissions (e.g. setgid utmp, depending on your distro).

there is also a bug in urxvtd (not urxvt) in the current release, where a
overzealous protection mechanism in libptytty didn't allow urxvtd to access
utmp when setgid.

--
               The choice of a       Deliantra, the free code+content MORPG
     -----==-     _GNU_              http://www.deliantra.net
     ----==-- _       generation
     ---==---(_)__  __ ____  __      Marc Lehmann
     --==---/ / _ \/ // /\ \/ /      [email protected]
     -=====/_/_//_/\_,_/ /_/\_\


_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to