Red HatThis forum is for the discussion of Red Hat Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
yeah, you would look to change the process spawned on each tty as defined in /etc/inittab. Not sure what getty is used off hand, but I think mingetty, agetty etc can directly log you in. Alternatively you can (AFAIK) replace the getty process with a bash process etc.
Without knowing a hell of a lot more about WHY you're doing this, I can only suggest that this is an amazingly bad idea, but with context, maybe less do.
In theory it does sound like a bad idea, however the intention is for RHEL to act solely as the OS, on top of which I will run an XP virtual desktop (using VM Player), which will be used for logging in and authenicating users
I've been trying to see how I can load the virtual desktop without displaying the Linux desktop.
In runlevel 5 (default) the default Display Manager (DM) or Chooser is run. This presents a login window at which the user can also select their preferred Desktop Environment (DE) to run. After logging in the DE is started which starts the Window Manager (WM). In short you could: install VMWare (if you run VMWare Server make it start on boot or runlevel change), then configure /etc/X11/prefdm, /etc/sysconfig/desktop to make X11/Xorg not start a default DM but VMWare instead.
What I used to do (years ago) was start X without DM or DE and run an application fullscreen but I can't figure out how to do that now within the limits of available time. But apparently my VMware Server setup now throws "not configured" errors I can't bypass each time I start it from 'gdm'. Might be my particular setup but this makes I can't post good examples for VMWare. For now you could try and run it from 'gdm' this way (works with other applications): add a user account, lets call it "vmwareuser". Remove the password (don't do this with unprotected hosts and certainly not hosts connected to any network). In /etc/gdm/Xsession you see a reference to "$SWITCHDESKPATH/Xclients.$1" meaning you can drop a file in /usr/share/switchdesk/ called Xclients.vmware which 'gdm' then will run. The contents are the same as the other /usr/share/switchdesk/Xclients.* files (so copy one) except the WM variable and the "exec" line (with VMWare server be sure to make it read something like "vmware -l -q -X /path/to/VM/VM.vmx"). To be sure there's more files to edit like /etc/X11/gdm/Sessions/*, /etc/X11/xinit/Xsession, /etc/X11/xinit/Xclients to cover all possibilities but see if you can run this. Now in 'gdm' selecting the "vmware" session (might remove all other sessions later on when it works) with the "vmwareuser" should show VMWare.