-
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

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$39.99

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$22.00

TP-Link Omada SG3428 24-Port Gigabit L2+ Managed Switch 4x SFP w/ Ears
$99.99

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$36.98

Monoprice 5-Port 10/100/1000Mbps Gigabit Ethernet Unmanaged Switch Network Hub
$8.99

TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern
$15.25

~NIB~ Netgear GS728TPP-300NAS V3 24 PORT GIGABIT POE MNGD W. 4 SFP PORTS
$349.95

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99