-
newbie: Where is window manager started, and how to change?
Hi there,
I have successfully installed knoppix to hdd. But now I want to create a user that is logged in automatically, but doesn't use any window manager.
How can I do this?
I have a mini-itx that should run without keyboard and mouse. So where can I find the login-sripts, that starts the kde or checks for the keyboard?
And another question: where is a good place to start processes that have to be started while booting? (I need to start lirc)
Thanks, Heiko
-
Junior Member
registered user
Not sure if this all that you are looking for, but take a look at the /etc/init.d/knoppix-autoconfig and xsession scripts. It is well documented as to what each section does
In there Keyboard is configured, and there will be part of a line that says something like DESKTOP="KDE". If you want nothing to load as a window manger, then do DESKTOP="". If you don't want the XServer to start period, then change the init version from 5 to 4 or 3. I forget which one is the correct number. Hope this helps ya out!!!
Mark
-
Senior Member
registered user
--Pardon me, but I don't find anyplace in /etc/rc5.d where /etc/init.d/knoppix-autoconfig is run...
--Anyhow, /etc/inittab gets run first. Then it runs /etc/init.d/rcS, which runs the S99* links in whatever the default runlevel is (/etc/rc5.d for knoppix.)
--I haven't tried this myself, but there is an entry in inittab that looks like this:
' 5:2345:respawn:/sbin/getty 38400 tty5 '
--Now instead of running /sbin/getty, you might try running something like this:
Code:
9:2345:respawn:/usr/bin/open -c 9 -w -- /usr/bin/top -s
12:2345:respawn:/usr/bin/open -c 12 -w -- su -c "tail /var/log/messages -f --lines 50
--See ' man open ' for more details. You might try ' 8:5:respawn:/usr/bin/open -c 8 -w -s -l -- su USERNAME ' to start the user up on console 8 and switch to it. (BTW I just tested this in vmware, and it works.)
--AFA starting a different windowmanager than KDE, I'd like to know myself. I just boot without kdm or any graphical interface, and use xinit.
alias sf='xinit /usr/bin/sawfish & ~/.xinitrc & '

Originally Posted by
DaRacerz
Not sure if this all that you are looking for, but take a look at the /etc/init.d/knoppix-autoconfig and xsession scripts. It is well documented as to what each section does
In there Keyboard is configured, and there will be part of a line that says something like DESKTOP="KDE". If you want nothing to load as a window manger, then do DESKTOP="". If you don't want the XServer to start period, then change the init version from 5 to 4 or 3. I forget which one is the correct number. Hope this helps ya out!!!
Mark
Similar Threads
-
By net_benjo in forum General Support
Replies: 1
Last Post: 09-03-2004, 07:19 PM
-
By RattyMan in forum General Support
Replies: 2
Last Post: 05-23-2004, 07:32 PM
-
By veuf in forum Customising & Remastering
Replies: 5
Last Post: 05-12-2004, 02:12 PM
-
By e7eMeNt in forum General Support
Replies: 5
Last Post: 01-08-2004, 03:02 AM
-
By neotheonlyone in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 07-07-2003, 03:15 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series
$235.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P
$71.49

MSI - B550M PRO-VDH WIFI (Socket AM4) AMD B550 MATX DDR4 Wi-Fi 6 Motherboard ...
$89.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99

Gigabyte GA-B85M-D3H Motherboard
$54.99