-
Senior Member
registered user
Logout != shutdown
I want to make my remaster dump the user back to text mode instead of sutting down whenever they logout out of the WM (generally KDE). I made a ~/.xinitrc so they can use startx to get back to a window manager from text mode. But how to I make KDE and other WM's change their default action on logout from shutdown to just return to text mode?
-
AFAIK, when you use a display manager (which is the default) logout always = shutdown. What you want to do is disable any display managers (kdm for kde) (gdm for gnome) (xdm for generic X) and use a startx script. If you want it to boot graphically first and then give text console if they logout, the following worked for me.
in /etc/init.d/xsesison change the line that looks like
su -c "DISPLAY=:0 exec /usr/bin/startkde" - $USER
with
su -c "DISPLAY=:0 exec /etc/X11/xinit/xinitrc" - $USER
and change /etc/X11/xinit/xinitrc to look something like this:
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/games:/usr/local/bin:."
export PATH
exec xloadimage -fullscreen -onroot -center -border black -quiet /usr/local/lib/whatever_file_you_want.jpg&
exec fluxbox -display :0
And that did it for me. Let me know.
Similar Threads
-
By chain in forum General Support
Replies: 26
Last Post: 07-11-2004, 03:16 AM
-
By kriko in forum Hdd Install / Debian / Apt
Replies: 13
Last Post: 11-18-2003, 06:38 PM
-
By heathenx in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 11-18-2003, 01:11 PM
-
By mihael.kukec in forum Customising & Remastering
Replies: 1
Last Post: 11-04-2003, 11:01 PM
-
By ariszlo in forum Hardware & Booting
Replies: 0
Last Post: 03-11-2003, 04:21 PM
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

LSI 9260-8i 512MB SAS SATA 8-port PCI-E 6Gb RAID Controller Card US
$29.88

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69

9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US
$49.50

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99

New 4 Port SATA PCI Expansion Card PCI To SATA Adapter Card RAID 5
$15.68

Inspur LSI YZCA-00424-101 12Gbps SAS 3.0 RAID Controller CARD HBA HDD
$14.99

CalDigit VR minin 2 Portable Raid Storage On The Go
$75.00

Cisco GSD-240G V01
$55.00