-
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

HP 2x 10GB OPNsense Quad Core i5-8500 8GB RAM 3Port Gigabit Firewall AES-NI SSD
$199.95

OPNsense Firewall 16-Core Atom C3958 16GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI
$195.00

Barracuda NextGen CloudGen Cloud Based Firewall F280 BNGF280a w/ 8.3.1 Firmware
$89.99

Eaton G4 208V 3 Phase Managed Rack PDU (EVMA1530A)
$1624.90

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$145.00

Firewalla Gold Gigabit 4-Port Router Firewall VPN Security Appliance Working
$298.00

Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN
$229.99

Sophos XG 210 Rev. 3 Firewall Appliance – 8GB RAM / 128GB SSD – Tested & Reset
$149.99

SonicWall TZ280 Firewall 03-SSC-6933 Advanced Edition 3YR NEW SEALED
$999.99

Check Point 1590 Firewall & w builtin WiFI and builtin LTE sim slot
$95.99