xdm and gdm
i run xdm normally. after logging it runs my $HOME/.xsession that starts things like fvwm2 i wanted to run gnome-session once, changed fvwm2 to /usr/local/bin/gnome-sessions after loggin in it just exits. no .xsession-errors is created. no idea where to seek error messages at all. with gdm loading gnome works. any ideas? (except: just use gdm please) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: xdm and gdm
On Sat, 21 Jul 2012 19:19:15 +0200 (CEST), Wojciech Puchar wrote: i run xdm normally. after logging it runs my $HOME/.xsession that starts things like fvwm2 i wanted to run gnome-session once, changed fvwm2 to /usr/local/bin/gnome-sessions ^ Is this a typo? According to the Handbook, /usr/local/bin/gnome-session (without trailing 's') should be executed. Source: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html See 6.7.1.2: Installing GNOME. after loggin in it just exits. no .xsession-errors is created. no idea where to seek error messages at all. Maybe errors are reported to the 1st virtual terminal where the XDM process outputs its messages to (currently not running xdm, so I can't check). with gdm loading gnome works. Do you have gdm_enable=YES gnome_enable=YES in /etc/rc.conf, and /proc mounted, as suggested in the Handbook? Maybe gdm has some preparations that aren't found by gnome-session when started autonomously. But the Handbook says it works without GDM, so it should work either per .xinitrc (startx command) _and_ also with xdm (and therefore with wdm and others). any ideas? (except: just use gdm please) Just use... computer. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: xdm and gdm
Is this a typo? According to the Handbook, /usr/local/bin/gnome-session (without trailing 's') should be executed. indeed a typo. thank you. after loggin in it just exits. no .xsession-errors is created. no idea where to seek error messages at all. Maybe errors are reported to the 1st virtual terminal where the XDM process outputs its messages to (currently not running xdm, so I can't check). there are imho nowhere. Do you have gdm_enable=YES gnome_enable=YES in /etc/rc.conf, and /proc mounted, as suggested in the Handbook? Maybe gdm has some preparations that aren't found by gnome-session when started autonomously. But the Handbook says it works without gdm is fine and works. the problem is that i wasn't able to my non-gnome .xsession work properly with gdm at all. at the same time i like xdm and want to use, RARELY use it to run gnome. Do you have any data about preparations that gdm do? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: xdm and gdm
On Sat, 21 Jul 2012 20:40:44 +0200 (CEST), Wojciech Puchar wrote: after loggin in it just exits. no .xsession-errors is created. no idea where to seek error messages at all. Maybe errors are reported to the 1st virtual terminal where the XDM process outputs its messages to (currently not running xdm, so I can't check). there are imho nowhere. When I do startx, the vitrual terminal from which I issue this command will capture the messages related to X. In case of xdm, I did assume that would be ttyv0 implicitely. Do you have any data about preparations that gdm do? The Handbook mentions /proc to be mounted, but that's not related. The settings gdm_enable=YES gnome_enable=YES in /etc/rc.conf would (if I understand the mechanism correctly) correspond to scripts /usr/local/etc/rc.d/gdm /usr/local/etc/rc.d/gnome respectively. So any possibly relevant preparations should be done by those scripts. I can't check those as I haven't got Gnome installed here. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
SOLVED: xdm and gdm
adding DisplayManager*authName:MIT-MAGIC-COOKIE-1 solves the problem. Do you have any data about preparations that gdm do? The Handbook mentions /proc to be mounted, but that's not related. The settings gdm_enable=YES gnome_enable=YES in /etc/rc.conf would (if I understand the mechanism correctly) correspond to scripts /usr/local/etc/rc.d/gdm /usr/local/etc/rc.d/gnome respectively. So any possibly relevant preparations should be done by those scripts. I can't check those as I haven't got Gnome installed here. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org