-
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

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1299.99

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$149.99

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99

Lot of 2 IBM blade center Type H chassis 8852
$559.00

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$108.92

IBM SERVER SLED WITH HDD SCSI 8.8GB ,P005043441, AS IS,UNTESTED
$165.00

IBM Power S824 12Bay 4U Server - 2x Power8 CPU, 512GB DDR4, MT: 8286-42A
$1731.00

IBM 02YC027 Seagate ST2400MM0129 2.4TB 10K SAS 12Gb/s 2.5" Server Hard Drive
$200.00

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$250.00