Er... how to disable X session autostart when logging as root?
(I run SWIKEE and BREAK but this is edition-independent question).
root and X session [solved]
Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: root and X session
Do you say you log in as "root" and it automatically logs in to X? Check the /root/.bash_profile file, you can comment the line that says "startx" (if it's there)
..gnutella..
Re: root and X session
It's not there
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: root and X session
Solved.
I found 'startx' in
/etc/profile.d/zz-live-config_xinit.sh
so I removed the file and added 'exec startx' to user's .bash_profile
I found 'startx' in
/etc/profile.d/zz-live-config_xinit.sh
so I removed the file and added 'exec startx' to user's .bash_profile
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: root and X session
^ this file is added automatically by https://packages.debian.org/sid/live-config. Every new upgrade of live-config creates it again. I recommend removing live-config and live-boot if you don't plan to remaster your installation.
you're welcome.
you're welcome.
..gnutella..