Re: Gentoo with xorg-server, without mouse support



Carsten Salveter wrote:

> I'm building a small X11 system with gentoo-embedded (uclibc). I need no
> mouse support. Input support with keyboard ist enough for my project.
> How I can switch of the mouse support in xorg-server?

You should look at the xorg-server (still masked), this will be a modular
version of Xorg, which allows you to only build those parts that you need, eg
no mouse driver. Of course you still will need the option Simon told about in
the xorg.conf.


> What is the best way to start the X11 server before someone logged on? I
> need no user logon. No GDM/KDM/XDM. I want to start only X11 and one
> application with a gui.

I guess I would make a special user to run this app under and then create an
autologin-binary

---autologin.c---
int main() {
execlp( "login", "login", "-f", "username", 0);
}
--- eof ---

modify the "username" to the user you have created, compile it and copy the
binary where you want to keep it, set the right privileges for it too, so not
everyone can use it.

Modify now your /etc/inittab and pick one of the terminals you want to run
this autologin on

--- from /etc/inittab ---
c1:12345:respawn:/sbin/autologin
--- eo example ---

Now you could add what you want to happen on the users .bashrc, startx and
starting the application in question and of course the exit, so you will
logout and restart X and the app if someone would be exiting the app or
killing the X.

This way you don't have to think about someone being root or mess with sudo
and so on... just keep in mind it's not completely foolproof.


//Aho
.



Relevant Pages

  • Re: Big Mac Hoax 2: "OS X is Unix"
    ... Apple offers *no tech support at all* for Unix-related issues, ... big deal of the fact that there's "Unix under the hood". ... When I installed X11, the first problem I noticed was that when I ...
    (comp.sys.mac.advocacy)
  • Re: Xaw support in V
    ... next release didn't contain X11 just because then the game will be Free Software and thus be able to sit happily in main. ... download, then it doesn't contaminate the Angband package, and Angband can go into main. ... I can always make a separate non-free package for the BMP importer if you want. ... I'm not so convinced about the wisdom of dropping X11 support more generally. ...
    (rec.games.roguelike.angband)
  • Re: LC_CTYPE=UTF-8 in ksh
    ... The multibyte locale support was heavily reworked (partially as part of ... properly read by xterm at startup. ... ..bashrc for X11 or .profile for Terminal) would not help, ...
    (comp.unix.shell)
  • Re: Tournament
    ... it ought to be possible for a public Nethack server to ... support an X11 build, which would allow you to play the game with tiles. ...
    (rec.games.roguelike.nethack)
  • Re: Gentoo with xorg-server, without mouse support
    ... > I'm building a small X11 system with gentoo-embedded (uclibc). ... Input support with keyboard ist enough for my ... > What is the best way to start the X11 server before someone logged on? ...
    (comp.os.linux.x)