Re: X crashing on startup
Almudena Garcia writes: > I tried a simple experiment, adding setuid to xinit file, with > > chmod u+s /usr/bin/xinit > > After do this, I stopped xdm and execute startx to run the DE directly. > > And now Xorg finish correctly when I logout!! :-) Congrats!!! Haha. Are you running the Hurd in a vm? I think I've read online somewhere that the Hurd can run X fairly reliably, if the Linux host OS runs the X server, and the Hurd connects to the server as the client. If you decide to give this unsolicited advice a try, would you mind reporting back how it works? > > 2018-06-12 0:14 GMT+02:00 Almudena Garcia : > > It's correct :) > > But my solution cause another problem: If I want to return to tty, I have to > stop the xdm service from the same DE, which It's a bit bizarre ;) > > 2018-06-12 0:10 GMT+02:00 Samuel Thibault : > > Almudena Garcia, le mar. 12 juin 2018 00:08:18 +0200, a ecrit: > > I've just installed xdm. If I start the DE session from this, the logout > > returns correctly to the login screen > > Yes, because the X server does not need to be killed in that case :) > > Samuel
Re: X crashing on startup
Almudena Garcia, le mar. 12 juin 2018 13:04:09 +0200, a ecrit: > I've just check this, executing whoami in the terminal emulator, and It > returns > my username, not root Oh, interesting, xinit indeed does setuid(getuid()). Samuel
Re: X crashing on startup
Almudena Garcia, le mar. 12 juin 2018 12:56:43 +0200, a ecrit: > I tried a simple experiment, adding setuid to xinit file, with > > chmod u+s /usr/bin/xinit > > After do this, I stopped xdm and execute startx to run the DE directly. > > And now Xorg finish correctly when I logout!! :-) Err, but is the session really running as normal user instead of root? Samuel
Re: X crashing on startup
I tried a simple experiment, adding setuid to xinit file, with chmod u+s /usr/bin/xinit After do this, I stopped xdm and execute startx to run the DE directly. And now Xorg finish correctly when I logout!! :-) 2018-06-12 0:14 GMT+02:00 Almudena Garcia : > It's correct :) > > But my solution cause another problem: If I want to return to tty, I have > to stop the xdm service from the same DE, which It's a bit bizarre ;) > > 2018-06-12 0:10 GMT+02:00 Samuel Thibault : > >> Almudena Garcia, le mar. 12 juin 2018 00:08:18 +0200, a ecrit: >> > I've just installed xdm. If I start the DE session from this, the logout >> > returns correctly to the login screen >> >> Yes, because the X server does not need to be killed in that case :) >> >> Samuel >> > >
Re: X crashing on startup
It's correct :) But my solution cause another problem: If I want to return to tty, I have to stop the xdm service from the same DE, which It's a bit bizarre ;) 2018-06-12 0:10 GMT+02:00 Samuel Thibault : > Almudena Garcia, le mar. 12 juin 2018 00:08:18 +0200, a ecrit: > > I've just installed xdm. If I start the DE session from this, the logout > > returns correctly to the login screen > > Yes, because the X server does not need to be killed in that case :) > > Samuel >
Re: X crashing on startup
Yes, I used this document to add ctrl_alt_bksp support in xorg.conf, but I didn't found any solution to logout problem in this. 2018-06-12 0:07 GMT+02:00 Samuel Thibault : > Almudena Garcia, le mar. 12 juin 2018 00:00:17 +0200, a ecrit: > > Thanks by the info. > > > > I set a dirty patch adding support for ctrl_alt_backspace in xorg.conf. > > There is a documented way on > https://www.debian.org/ports/hurd/hurd-install > > Samuel >
Re: X crashing on startup
Almudena Garcia, le mar. 12 juin 2018 00:08:18 +0200, a ecrit: > I've just installed xdm. If I start the DE session from this, the logout > returns correctly to the login screen Yes, because the X server does not need to be killed in that case :) Samuel
Re: X crashing on startup
I've just installed xdm. If I start the DE session from this, the logout returns correctly to the login screen 2018-06-12 0:00 GMT+02:00 Almudena Garcia : > Thanks by the info. > > I set a dirty patch adding support for ctrl_alt_backspace in xorg.conf. > When DE crash after logout, I simply press this keycomb to kill Xorg > process. > > 2018-06-11 23:55 GMT+02:00 Samuel Thibault : > >> Almudena Garcia, le lun. 11 juin 2018 23:40:41 +0200, a ecrit: >> > When I press "logout" option, Xorg don't finish correctly, and mantains >> the DE >> > running, and don't allow to return to tty or open any program. >> >> That's a known issue, see the kill_setuid wiki page. >> >> Samuel >> > >
Re: X crashing on startup
Almudena Garcia, le mar. 12 juin 2018 00:00:17 +0200, a ecrit: > Thanks by the info. > > I set a dirty patch adding support for ctrl_alt_backspace in xorg.conf. There is a documented way on https://www.debian.org/ports/hurd/hurd-install Samuel
Re: X crashing on startup
Thanks by the info. I set a dirty patch adding support for ctrl_alt_backspace in xorg.conf. When DE crash after logout, I simply press this keycomb to kill Xorg process. 2018-06-11 23:55 GMT+02:00 Samuel Thibault : > Almudena Garcia, le lun. 11 juin 2018 23:40:41 +0200, a ecrit: > > When I press "logout" option, Xorg don't finish correctly, and mantains > the DE > > running, and don't allow to return to tty or open any program. > > That's a known issue, see the kill_setuid wiki page. > > Samuel >
Re: X crashing on startup
Almudena Garcia, le lun. 11 juin 2018 23:40:41 +0200, a ecrit: > When I press "logout" option, Xorg don't finish correctly, and mantains the DE > running, and don't allow to return to tty or open any program. That's a known issue, see the kill_setuid wiki page. Samuel
Re: X crashing on startup
Thanks!! Now Xorg runs correctly. But It feels that there is a problem with "logout" option from Desktop Environment or Window Manager. When I press "logout" option, Xorg don't finish correctly, and mantains the DE running, and don't allow to return to tty or open any program. 2018-06-11 22:07 GMT+02:00 Samuel Thibault : > Hello, > > FI, I have uploaded a fixed package on debian-ports, so Xorg works > again. > > Samuel > >
Re: X crashing on startup
Hello, FI, I have uploaded a fixed package on debian-ports, so Xorg works again. Samuel
Re: X crashing on startup
Hi, Samuel Thibault wrote: Just in case of an ABI incompatibility, I queued a rebuild of the mouse and keyboard drivers. Actually it's a mere API incompatibility, it doesn't build at all on all archs... I have reported the bug. fun (not really). Thanks for finding the root. Strange it is we HURD-ers to notice that. Riccardo
Re: X crashing on startup
Samuel Thibault, le lun. 04 juin 2018 23:43:58 +0200, a ecrit: > Samuel Thibault, le lun. 04 juin 2018 21:27:50 +0200, a ecrit: > > Riccardo Mottola, le lun. 04 juin 2018 21:25:11 +0200, a ecrit: > > > /usr/lib/xorg/modules/input/mouse_drv.so: undefined symbol: xf86GetOS > > > > > > I suppose there is an issue with Xorg.. any clues? > > > > The message above looks promising :) > > Just in case of an ABI incompatibility, I queued a rebuild of the mouse > and keyboard drivers. Actually it's a mere API incompatibility, it doesn't build at all on all archs... I have reported the bug. Samuel
Re: X crashing on startup
Samuel Thibault, le lun. 04 juin 2018 21:27:50 +0200, a ecrit: > Riccardo Mottola, le lun. 04 juin 2018 21:25:11 +0200, a ecrit: > > /usr/lib/xorg/modules/input/mouse_drv.so: undefined symbol: xf86GetOS > > > > I suppose there is an issue with Xorg.. any clues? > > The message above looks promising :) Just in case of an ABI incompatibility, I queued a rebuild of the mouse and keyboard drivers. Samuel
Re: X crashing on startup
Riccardo Mottola, le lun. 04 juin 2018 22:47:49 +0200, a ecrit: > Samuel Thibault wrote: > > > /usr/lib/xorg/modules/input/mouse_drv.so: undefined symbol: xf86GetOS > > > > > > I suppose there is an issue with Xorg.. any clues? > > The message above looks promising:) > > the mouse driver doesn't know about HURD ? > or better we don't implement fx86GetOS Or there's some link issue. Samuel
Re: X crashing on startup
Hi, Samuel Thibault wrote: /usr/lib/xorg/modules/input/mouse_drv.so: undefined symbol: xf86GetOS I suppose there is an issue with Xorg.. any clues? The message above looks promising:) the mouse driver doesn't know about HURD ? or better we don't implement fx86GetOS Riccardo
Re: X crashing on startup
Riccardo Mottola, le lun. 04 juin 2018 21:25:11 +0200, a ecrit: > /usr/lib/xorg/modules/input/mouse_drv.so: undefined symbol: xf86GetOS > > I suppose there is an issue with Xorg.. any clues? The message above looks promising :) Samuel