Re: What is the proper way to invoke GDM at start-up
Matthieu Herrb <[email protected]>
| Newsgroups | gmane.os.openbsd.x11 |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > Hello, everyone, > > I installed Gnome and Gdm from snapshot packages (as of April 24). > IBM ThinkPad A30p, OS snapshot April 20. > Everything's OK, but I'm having issues auto-starting Gdm. > If I put /usr/local/bin/gdm into /etc/rc.local, it starts, but > ignores the keyboard to the point that I can't even do ctrl-alt-fn. > Mouse works, so if I, say, select xdmcp chooser, then cancel > (i.e. restart the gdm), keyboard now works fine. It looks likegdm is not passing the correct vtxx option to the X server. > After a healthy dose of googling and man pages, it looks like > the problem is in tty allocation. At least on linux gdm can > take an additional argument like vt7 to grab tty7. > if I put gdm into /etc/ttys, it works (keyboard is OK), even > if slow on start, but complains along the lines "server failed to restart" > to the logs on logout/session end. > > Could somebody please enlighten me on what is the proper way of > starting the gdm automatically on OpenBSD? And why xdm works fine from /etc/rc > and gdm doesn't? I don't know much about gdm's configuration files, but you need to add a 'vt05' option to the command= line used to launch the X server. This could probably be fixed in the port... -- Matthieu [demime 0.98d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]