--- rxvt-unicode/src/rxvtd.C 2005/02/09 08:32:57 1.19 +++ rxvt-unicode/src/rxvtd.C 2005/02/14 20:46:47 1.20 @@ -196,6 +196,7 @@ term->log_hook = 0; environ = old_environ; + chdir ("/"); if (!success) term->destroy (); @@ -215,6 +216,8 @@ { rxvt_init (); + chdir ("/"); + char *sockname = rxvt_connection::unix_sockname (); unix_listener l (sockname); printf ("rxvt-unicode daemon listening on %s.\n", sockname);