Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
auto login and startx without a display manager - lenny
-
- Posts: 188
- Joined: 2009-01-10 23:12
- Location: Linköping, sweden
OK. I did read your other thread, I'm no expert, but that looks like a hardware issue to me. May be a ram issue, since the LiveCD craped out as well.contredire wrote:okay, but I cant do that right now, since I cant even start gnome any more! see my post here:
http://forums.debian.net/viewtopic.php?p=201460#201460
Cheers
-
- Posts: 188
- Joined: 2009-01-10 23:12
- Location: Linköping, sweden
I made a backup of my files, so now I dare starting to fix the problem.
First I tried
sudo aptitude purge gnome-desktop-environment
now, I get to the gnome desktop after boot instead of the log in windows, but the design is rather changed but my settings are still there.. and when entering a ctrl-alt-F1 prompt, the X server is terminated, and started again when I log in on the ctrl-alt-F1-prompt
what about that? how to get rid of all gnome, KDE and fluxbox files, configs etc?
First I tried
sudo aptitude purge gnome-desktop-environment
now, I get to the gnome desktop after boot instead of the log in windows, but the design is rather changed but my settings are still there.. and when entering a ctrl-alt-F1 prompt, the X server is terminated, and started again when I log in on the ctrl-alt-F1-prompt
what about that? how to get rid of all gnome, KDE and fluxbox files, configs etc?
Debian Lenny
You should have only removed GDM, gnome desktop manager not the whole gnome desktop.contredire wrote:I made a backup of my files, so now I dare starting to fix the problem.
First I tried
sudo aptitude purge gnome-desktop-environment
now, I get to the gnome desktop after boot instead of the log in windows, but the design is rather changed but my settings are still there.. and when entering a ctrl-alt-F1 prompt, the X server is terminated, and started again when I log in on the ctrl-alt-F1-prompt
what about that? how to get rid of all gnome, KDE and fluxbox files, configs etc?
Cheers
-
- Posts: 188
- Joined: 2009-01-10 23:12
- Location: Linköping, sweden
-
- Posts: 188
- Joined: 2009-01-10 23:12
- Location: Linköping, sweden
You'll have to remove gdm from the rc scripts. This worked for me:
Code: Select all
update-rc.d gdm remove
More paranoid than AMLJ!
-
- Posts: 221
- Joined: 2009-11-27 02:31
- Location: North Cackalack
Re: auto login and startx without a display manager - lenny
Very nice, the first post still works.
PS There's the nodm package.
PPS For Xfce, both of these approaches--the nodm package and the inittab script--disable the powerdev user's ability to shutdown or restart the computer, so in that case, gdm seems best because it can be configured from Xfce settings. Kdm can be configured from systemsettings if you could supply the administrative password. That was done by running 'kdesu systemsettings' in KDE 4.4, but I don't know how it's done in Xfce. Xdm isn't really simple either, so gdm wins.
PS There's the nodm package.
PPS For Xfce, both of these approaches--the nodm package and the inittab script--disable the powerdev user's ability to shutdown or restart the computer, so in that case, gdm seems best because it can be configured from Xfce settings. Kdm can be configured from systemsettings if you could supply the administrative password. That was done by running 'kdesu systemsettings' in KDE 4.4, but I don't know how it's done in Xfce. Xdm isn't really simple either, so gdm wins.
Re: auto login and startx without a display manager - lenny
Just modify the line, i have tested and works.
$ apt-get install mingetty
$ vim /etc/inittab
# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
# <id>:<runlevels>:<action>:<process>
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
#1respawn:/sbin/getty 38400 tty1
1respawn:/sbin/mingetty --autologin sun tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
$ apt-get install mingetty
$ vim /etc/inittab
# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
# <id>:<runlevels>:<action>:<process>
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
#1respawn:/sbin/getty 38400 tty1
1respawn:/sbin/mingetty --autologin sun tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
Re: auto login and startx without a display manager - lenny
Hello,
I'm not sure I understand the difference in the following:
Is this still working with Wheezy (testing)?
Many thanks for your help!
I'm not sure I understand the difference in the following:
I have no display manager and want to get to the desktop directly. Do I go through step 1 and 2? Or just step 2?MeanDean wrote: 1. for auto login
edit /etc/inittab and changeto make it look likeCode: Select all
1:2345:respawn:/sbin/getty 38400 tty1
below it add the following new lineCode: Select all
#1:2345:respawn:/sbin/getty 38400 tty1
be sure to replace YOUR_USER_NAME with the user you want to be automatically logged inCode: Select all
1:2345:respawn:/bin/login -f YOUR_USER_NAME tty1 </dev/tty1 >/dev/tty1 2>&1
2: for automatic startx
edit .bash_profile (or other file that gets run when you login) and addCode: Select all
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then startx fi
Is this still working with Wheezy (testing)?
Many thanks for your help!
-
- Posts: 459
- Joined: 2012-02-24 18:36
Re: auto login and startx without a display manager - lenny
If you do not want to have to type in a username and password AND you want the graphical environment to start automatically then you want 1 and 2to get to the desktop directly.
I haven't tried it lately. I can't think of any reason it wouldn't but I will soon try it and post back.Is this still working with Wheezy (testing)?
Re: auto login and startx without a display manager - lenny
Many thanks adenukolnis, for your clear reply. I'll try that as soon as.
Re: auto login and startx without a display manager - lenny
Well, it didn't work for me. The boot got as far
and then it hanged.Starting system message bus: dbus
Re: auto login and startx without a display manager - lenny
It works for me.librefan wrote: Is this still working with Wheezy (testing)?
Re: auto login and startx without a display manager - lenny
Thank you guys, i'm overwhelmed, so much help and so ****** fast!
THANK YOU!!!
THANK YOU!!!
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid
KISS - Keep It Simple, Stupid
Re: auto login and startx without a display manager - lenny
hey guys old thread but I need to know
I assume the user that's being logged in has no password since I see nothing in the posted code that indicates a password is given.
how would one modify
1respawn:/bin/login -f YOUR_USER_NAME tty1 </dev/tty1 >/dev/tty1 2>&1
with a password
I assume the user that's being logged in has no password since I see nothing in the posted code that indicates a password is given.
how would one modify
1respawn:/bin/login -f YOUR_USER_NAME tty1 </dev/tty1 >/dev/tty1 2>&1
with a password
- manishthatte
- Posts: 15
- Joined: 2014-05-12 02:46
Re: auto login and startx without a display manager - lenny
I want to try meandean's method.
But how do i find the bash profile?
But how do i find the bash profile?
Taking baby steps in Debian
- manishthatte
- Posts: 15
- Joined: 2014-05-12 02:46
Re: auto login and startx without a display manager - lenny
I tried iamtrying's method too. Doesnt work. Still the login screen is there.
What to do?
What to do?
Taking baby steps in Debian
- manishthatte
- Posts: 15
- Joined: 2014-05-12 02:46
Re: auto login and startx without a display manager - lenny
Below given method worked for me:
1) Edit /etc/lightdm/lightdm.conf with sudo
2) Remove # from the line > autologin-user = manish
3) Save the file and reboot
1) Edit /etc/lightdm/lightdm.conf with sudo
2) Remove # from the line > autologin-user = manish
3) Save the file and reboot
Taking baby steps in Debian
Re: auto login and startx without a display manager - lenny
I am running Jessie and tried the rungetty method,
it does not work.
A login is still displayed.
I wonder how to troubleshoot this..
Many thanks
it does not work.
A login is still displayed.
I wonder how to troubleshoot this..
Many thanks