[SOLVED] Automatic login to TTY1, openbox error

SOLUTION at the last post.
Hello,
I was trying to create the systemd autologin.service, to log into TTY1 right after boot.
I have been following the instructions on the wiki:
https://wiki.archlinux.org/index.php/Au … al_console
PROBLEM: after boot, the login happens a few times with an error, flashing, and then dissapears leaving with a basic underscore " _ ". I can still use TTY2.
If I go back to TT1, I see the following error multiple times, (maybe its a loop):
Last login: today, etc TTY1
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
Which is weird because I don't have openbox set to autostart or anything, I think.  (.xinitrc is basic as well; .dmrc has kde-plasma set.)
+Info:
$ systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
[email protected] loaded failed failed Getty on tty1
$ systemctl status [email protected]
[email protected] - Getty on tty1
Loaded: loaded (/etc/systemd/system/[email protected]; enabled)
Active: failed (Result: start-limit) since Fri 2013-02-08 01:02:10 CET; 8min ago
Docs: man:agetty(8)
man:systemd-getty-generator(8)
http://0pointer.de/blog/projects/serial-console.html
Process: 878 ExecStart=/sbin/agetty --noclear -a ubunchu %I 38400 linux (code=exited, status=0/SUCCESS)
Any hints on what could be it? What file should I check?
Thanks in advance! Cheers!
Last edited by ubunchu (2013-02-21 09:34:15)

systemctl list-unit-files
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
dev-hugepages.mount static
dev-mqueue.mount static
proc-fs-nfsd.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount static
var-lib-nfs-rpc_pipefs.mount static
cups.path enabled
systemd-ask-password-console.path static
systemd-ask-password-wall.path static
accounts-daemon.service disabled
adb.service disabled
atieventsd.service disabled
[email protected] enabled
[email protected] disabled
avahi-daemon.service disabled
avahi-dnsconfd.service disabled
blkmapd.service disabled
bluetooth.service disabled
brltty.service disabled
canberra-system-bootup.service disabled
canberra-system-shutdown-reboot.service disabled
canberra-system-shutdown.service disabled
colord.service static
console-getty.service disabled
console-shell.service disabled
cronie.service disabled
cups-browsed.service disabled
cups.service enabled
cupsd.service disabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.NetworkManager.service enabled
dbus-org.freedesktop.timedate1.service static
dbus.service static
debug-shell.service disabled
dhcpcd.service disabled
[email protected] disabled
emergency.service static
fancontrol.service disabled
ftpd.service disabled
gdm.service disabled
[email protected] disabled
[email protected] static
gpm.service disabled
healthd.service disabled
ip6tables.service disabled
iptables.service disabled
irexec.service disabled
kdm.service disabled
krb5-kadmind.service disabled
krb5-kdc.service disabled
krb5-kpropd.service disabled
[email protected] static
lightdm.service disabled
lirc.service disabled
lircm.service disabled
lm_sensors.service disabled
lvm-on-crypt.service disabled
lvm.service disabled
lxdm.service disabled
mdadm.service disabled
mysqld.service disabled
net-auto-wired.service disabled
net-auto-wireless.service disabled
net-profiles.service disabled
netcfg.service disabled
[email protected] disabled
NetworkManager-wait-online.service disabled
NetworkManager.service enabled
nfsd.service disabled
nmbd.service disabled
nscd.service disabled
polkit.service static
[email protected] disabled
quotaon.service static
rescue.service static
rpc-gssd.service disabled
rpc-idmapd.service disabled
rpc-mountd.service disabled
rpc-statd.service disabled
rpc-svcgssd.service disabled
rpcbind.service disabled
rsyncd.service disabled
[email protected] static
rtkit-daemon.service disabled
[email protected] static
sensord.service disabled
[email protected] static
smbd.service disabled
[email protected] static
snmpd.service disabled
speech-dispatcherd.service disabled
sshd.service enabled
[email protected] static
sshdgenkeys.service static
svnserve.service disabled
[email protected] static
syslog-ng.service disabled
systemd-ask-password-console.service static
systemd-ask-password-wall.service static
systemd-binfmt.service static
systemd-fsck-root.service static
[email protected] static
systemd-halt.service static
systemd-hibernate.service static
systemd-hostnamed.service static
systemd-hybrid-sleep.service static
systemd-initctl.service static
systemd-journal-flush.service static
systemd-journal-gatewayd.service static
systemd-journald.service static
systemd-kexec.service static
systemd-localed.service static
systemd-logind.service static
systemd-modules-load.service static
systemd-poweroff.service static
systemd-quotacheck.service static
systemd-random-seed-load.service static
systemd-random-seed-save.service static
systemd-readahead-collect.service disabled
systemd-readahead-done.service static
systemd-readahead-drop.service disabled
systemd-readahead-replay.service disabled
systemd-reboot.service static
systemd-remount-fs.service static
systemd-shutdownd.service static
systemd-suspend.service static
systemd-sysctl.service static
systemd-timedated.service static
systemd-tmpfiles-clean.service static
systemd-tmpfiles-setup.service static
systemd-udev-settle.service static
systemd-udev-trigger.service static
systemd-udevd.service static
systemd-update-utmp-runlevel.service static
systemd-update-utmp-shutdown.service static
systemd-user-sessions.service static
systemd-vconsole-setup.service static
transmission.service disabled
udisks.service disabled
udisks2.service static
upower.service disabled
usbmuxd.service static
[email protected] static
uuidd.service static
vncserver.service disabled
winbindd.service disabled
[email protected] disabled
[email protected] disabled
wpa_supplicant.service disabled
[email protected] disabled
x11vnc.service static
xinetd.service disabled
avahi-daemon.socket disabled
cups.socket enabled
dbus.socket static
git-daemon.socket disabled
krb5-kpropd.socket disabled
rsyncd.socket disabled
saned.socket disabled
smbd.socket disabled
sshd.socket enabled
swat.socket disabled
syslog.socket static
systemd-initctl.socket static
systemd-journal-gatewayd.socket disabled
systemd-journald.socket static
systemd-shutdownd.socket static
systemd-udevd-control.socket static
systemd-udevd-kernel.socket static
uuidd.socket disabled
basic.target static
bluetooth.target static
cryptsetup.target static
ctrl-alt-del.target disabled
default.target enabled
emergency.target static
final.target static
getty.target static
graphical.target disabled
halt.target disabled
hibernate.target static
hybrid-sleep.target static
kexec.target disabled
local-fs-pre.target static
local-fs.target static
mail-transfer-agent.target static
multi-user.target enabled
network.target static
nss-lookup.target static
nss-user-lookup.target static
poweroff.target disabled
printer.target static
reboot.target disabled
remote-fs-pre.target static
remote-fs.target enabled
rescue.target disabled
rpcbind.target static
runlevel0.target disabled
runlevel1.target disabled
runlevel2.target disabled
runlevel3.target disabled
runlevel4.target disabled
runlevel5.target disabled
runlevel6.target disabled
shutdown.target static
sigpwr.target static
sleep.target static
smartcard.target static
sockets.target static
sound.target static
suspend.target static
swap.target static
sysinit.target static
syslog.target static
system-update.target static
time-sync.target static
umount.target static
systemd-readahead-done.timer static
systemd-tmpfiles-clean.timer static
225 unit files listed.
For some reason I can't disable "autologin@tty1".
Yes, this is a vanilla arch (customised by myself).
This is what I have done:
cp /usr/lib/systemd/system/[email protected] /etc/systemd/system/[email protected]
-Edited the file: /etc/systemd/system/[email protected]
the line: ExecStart=-/sbin/agetty --noclear %I 38400 linux
to be like this: ExecStart=-/sbin/agetty --noclear -a ubunchu %I 38400
sudo systemctl daemon-reload
sudo systemctl disable getty@tty1
sudo systemctl enable autologin@tty1
sudo systemctl start autologin@tty1
sudo systemctl enable multi-user.target
-now tried disabling:
sudo systemctl disable getty@tty1 (again)
sudo systemctl disable autologin@tty
sudo systemctl disable autologin@tty1
sudo systemctl disable [email protected]
sudo systemctl disable [email protected]
sudo systemctl disable [email protected]
-no output, looks like it does not disable it

Similar Messages

  • [SOLVED] Automatic Login to Openbox

    Since I'm on a single user machine and have a bios based password prompt at startup, I would like to log in as user automatically and start openbox the same way.
    At the moment I have to log in as usual and can start openbox via startx since I have put
    exec openbox-session
    into ~/.xinitrc.
    How can I automate these steps? I tried it with rc.local, but that way it logically logs in as root which isn't my goal. I would like not to use SLiM if possible.
    Last edited by Flylow (2010-08-06 07:50:53)

    Summary of what I've done to get things work. Maybe somebody can use this as it's a quick version of the wiki - just make sure to replace USERNAME with yours and you've added "exec openbox-session" to your ~/xinitrc.
    Created autologin.c
    #include <unistd.h>
    int main()
    execlp( "login", "login", "-f", "USERNAME", 0);
    Compiled and copied into the right place
    gcc -o autologin autologin.c
    sudo cp autologin /usr/local/sbin/
    Edited /etc/inittab
    id:5:initdefault:
    c1:2345:respawn:/sbin/agetty -n -l /usr/local/sbin/autologin 38400 tty1 linux
    x:5:once:/bin/su USERNAME -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"
    Last edited by Flylow (2010-08-06 08:53:36)

  • [SOLVED] Automatically login to screen

    Is there any way that if I log in with a username, it automatically attached to an existing Screen session, or if there isn't any, creates one?
    Last edited by Lenry (2012-05-10 17:02:02)

    Trilby wrote:
    Well I'm not sure what you're going to do in a screen session if you don't know any shell commands.
    Replace the tmux line with your screen command.  In fact, if you want screen to start whenever you log in to any shell (tty and term emulator) then you can ditch the conditionals and just put a very vanilla screen command in your ~/.bashrc.
    EDIT: as tone is lost online, I wanted to clarify that I didn't mean this in any judgmental or mean way at all.  I was just genuinely confused.  Many people would not know anything about shell commands ... they just wouldn't be looking for a way to run a screen sesssion.
    I know, I sounded / looked stupid, sorry for the lame questions
    Of course I know shell commands, I just don't use these ~/.anythingrc files, as I really rarely need them, and don't know how to use them, what are they syntaxes, etc.
    I have a small linux based fileserver, with remote access and I would like to use screen, for seeing the same stuff, the same processes and running programs from anywhere. It works really good if I start it manually (screen first and screen -x from my other devices), but I wanted to start screen automatically, as I sometimes forget it, and you can be sure that I'd need it then...
    Last edited by Lenry (2012-05-10 13:12:54)

  • [solved] How to revert Automatic login to virtual console?

    Long, long time ago (maybe 3 years back), I set up automatic login for my user. Now, I am trying to revert it so that the console asks me for username (unless it is avoidable) and password upon login.
    So I though "Easy! I'll just go here https://wiki.archlinux.org/index.php/au … al_console and delete the file mentioned there:
    /etc/systemd/system/[email protected]/autologin.conf
    But the file is not present on my system. Instead, I have this:
    /etc/systemd/system/getty.target.wants/getty\@tty1.service
    # This file is part of systemd.
    # systemd is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2.1 of the License, or
    # (at your option) any later version.
    [Unit]
    Description=Getty on %I
    Documentation=man:agetty(8)
    After=systemd-user-sessions.service plymouth-quit-wait.service
    After=rc-local.service
    # If additional gettys are spawned during boot then we should make
    # sure that this is synchronized before getty.target, even though
    # getty.target didn't actually pull it in.
    Before=getty.target
    IgnoreOnIsolate=yes
    # On systems without virtual consoles, don't start any getty. (Note
    # that serial gettys are covered by [email protected], not this
    # unit
    ConditionPathExists=/dev/tty0
    [Service]
    Environment=TERM=linux
    # the VT is cleared by TTYVTDisallocate
    ExecStart=-/sbin/agetty --noclear -a smith %I 38400
    Type=idle
    Restart=always
    RestartSec=0
    UtmpIdentifier=%I
    TTYPath=/dev/%I
    TTYReset=yes
    TTYVHangup=yes
    TTYVTDisallocate=yes
    KillMode=process
    IgnoreSIGPIPE=no
    # Unset locale for the console getty since the console has problems
    # displaying some internationalized messages.
    Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION=
    # Some login implementations ignore SIGTERM, so we send SIGHUP
    # instead, to ensure that login terminates cleanly.
    KillSignal=SIGHUP
    [Install]
    Alias=getty.target.wants/[email protected]
    ... but if I remove it, or even just uncomment the lines in the [Service] section, upon boot the console output stops at the last SystemD init message, and never gets to user/password prompt. I need to switch to other ttys to access it.
    Last edited by Lockheed (2014-10-22 12:43:57)

    Perhaps "grep autologin -R /etc /usr/lib" would point you to something.
    -edit-
    Maybe grep for "getty", as apparently "-a" is equivalent to "--autologin".
    -edit-
    Okay. Remove "-a" in the file you pasted.
    -edit-
    You could also remove the symlink and the file it points to and create there a symlink to the file coming with systemd, as your file differs somewhat from what I have.
    ls -l /etc/systemd/system/getty.target.wants/[email protected]
    lrwxrwxrwx 1 root root 38 Jun 21 2012 /etc/systemd/system/getty.target.wants/[email protected] -> /usr/lib/systemd/system/[email protected]
    Last edited by lucke (2014-10-01 12:12:35)

  • Automatic login to wireless problem

    We have several computers at home, all connected to the internet through a wireless router hooked up to our main PC. Then there is my laptop, my old iMac, and my son's PC. Everything was working fine ... when I'd start my PowerBook G4, it would automatically detect our wireless network and connect my laptop to the network.
    However, we had our son hook up his Playstation3 to the router via an ethernet cable. This way would could take away the ethernet cable to limit his playing time and encourage him to do his homework. The Playstation3 also "hijacks" the IP address, basically blocking anyone else in the house from using the internet.
    Well, my son found the WEP password for the wireless, and decided to put it on his Playstation3 so he could play online whenever we weren't looking. Well, when we found out he had pinched the WEP password, we reset the it on the wireless Linksys router, and I went into my Keychain and changed the WEP key for the wireless network on my PowerBook. Problem solved, right?
    Well, now when I start up my G4 Powerbook, it detects our home wireless network but no longer automatically signs in to the network. Additionally, when I try to select our wireless network from the AirPort pull-down menu from the Finder window menu bar, it says that an error occurred and it can not connect. Hitting the "Try Again" button is futile. I have to go into Internet Connect, select "Other" from the available wireless networks, then pick our home wireless network from the list. I then have to type in that annoying 26 digit WEP 128-bit Hexidecimal security key! Only then do I get the connection to our wireless. Additionally, I have to do this EVERY SINGLE TIME I boot my Powerbook -- it doesn't seem to want to remember the password, even though it is stored in the keychain.
    This problem is very frustrating! Why won't my Powerbook automatically login to our network?

    Good news!
    Yep, that was the WEP I was talking about, 104/128bit/26Hex.
    Now it takes just 3 seconds to extract a 104-bit WEP key from intercepted data using a 1.7GHz Pentium M processor...
    http://www.techworld.com/security/news/index.cfm?newsid=8456
    WPA or better yet WPA2... if your Airport card & Router both support it...
    http://compudent.blogspot.com/2006/09/wireless-wep-vs-wpa-vs-wpa2.html
    http://answers.yahoo.com/question/index?qid=20070924153500AArrQBP
    http://www.home-wlan.com/WEP-vs-WPA.html
    http://support.apple.com/kb/TA21448?viewlocale=en_US
    Finally...
    http://support.apple.com/kb/TA21448?viewlocale=en_US

  • [SOLVED] auto-logout of tty1 after logout of desktop env. possible?

    I don't know if I am missing something...
    I have recently posted here about running X with different screen solutions: https://bbs.archlinux.org/viewtopic.php?id=191255
    I now added the auto-login configuration described here and that helps, except that when I logout, I am stuck at the tty1 console again as opposed to going straight back into auto-login and starting X. I know it's just a simple Ctrl+D to logout of the console, but I would prefer to:
    - logout of desktop environment
    - tty1 auto-logout
    - tty1 auto-login
    Is there a way to do this?
    Last edited by drtebi (2015-01-10 23:48:18)

    Trilby wrote:
    We know what the issue is - but how you start X determines what will happen when it is done.  If you use the exec command as advised, you will be logged out of the tty as soon as X exits, and as you've set up autologin, you will be immediately logged back in.  I have this set up here - it works.
    But hey, if you're so sure your problem couldn't possibly be solved, I'll leave you to be unhappy.
    Not in my nature to be unhappy
    So let me try to give you all the details of my setup:
    I have setup autologin to the console, as described in Automatic login to virtual console.
    Once logged in at the console, ~/.bash_profile starts my desktop environment Enlightenment.
    Here is my ~/.bash_profile:
    # ~/.bash_profile
    # If not running interactively, don't do anything
    [[ $- != *i* ]] && return
    # prompt
    export PS1='[\u@\h \W]\$ '
    # Auto-login to Enlightenment
    if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]
    then
    # set default GUI browser
    export BROWSER=firefox
    # get RESOLUTION
    source ~/.RESOLUTION
    export RESOLUTION=$RESOLUTION
    # startx with xorg.conf file according to $RESOLUTION
    if [ $RESOLUTION = 'lowres' ]
    then
    echo "starting low-res setup"
    startx -- -config xorg.conf-2k
    else
    echo "starting hi-res setup"
    startx -- -config xorg.conf
    fi
    fi
    As you can see, I have two different xorg.conf files, one (/etc/X11/xorg.conf) sets up my four-monitor xinerama display, the other (/etc/X11/xorg.conf-2k) sets up a "normal" HD resolution display. These both work as expected.
    The file ~/.RESOLUTION simply contains this:
    RESOLUTION=hires
    ~/.bash_profile sources this file and sets the environment variable RESOLUTION, which is then used by ~/.xinitrc
    My ~/.xinitrc file contains the following:
    #!/bin/sh
    # ~/.xinitrc
    # Arch Linux Default
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    # start Enlightenment according to the
    # environment variable RESOLUTION
    if [ $RESOLUTION = 'lowres' ]
    then
    exec enlightenment_start
    else
    exec enlightenment_start -fake-xinerama-screen 3840x2400+0+0
    fi
    I have created a script called resw that looks like this:
    #!/usr/bin/bash
    # @author: [email protected]
    # @since: 2015-01-09
    # @version: 0.1
    # @bugs: Works but should really also logout of tty1
    # Script that pops up a zenity list menu
    # with a 'lowres' and 'hires' option. When
    # either is selected and 'OK' is clicked, the file '~/.RESOLUTION'
    # will change it's 'RESOLUTION' value to the one chosen, and
    # Enlightenment exits
    # Now .bash_profile and .xinitrc can use the RESOLUTION value
    # to act accordingly.
    RESOLUTION=`zenity \
    --title="Choose Resolution" \
    --width=680 --height=230 \
    --list --column="Variable" --column="Description" \
    hires "Switch to high resolution [3840x2400]" \
    lowres "Switch to low resolution [1920x1200]"`
    if [[ $RESOLUTION = 'hires' ]]
    then
    sed -i s/lowres/hires/ ~/.RESOLUTION
    enlightenment_remote -exit
    elif [[ $RESOLUTION = 'lowres' ]]
    then
    sed -i s/hires/lowres/ ~/.RESOLUTION
    enlightenment_remote -exit
    else
    exit 0
    fi
    As you can probably make out from the comments in that file, this is what happens when I run the script:
    - A window with a selection-list pops up where I can choose "hires" or "lowres"
    - When I choose either of these, the script rewrites the file ~/.RESOLUTION accordingly
    - The script calls Enlightenment's "exit" function, which shuts down Enlightenment
    - Restarting Enlightenment now will have ~/.bash_profile and ~/.xinitrc use the value that's set in ~/.RESOLUTION to start Enlightenment with the corresponding xorg.conf or xorg.conf-2k file
    Everything works as expected, but what I am trying to accomplish is, that Enlightenment will automatically restart after I use the script above.
    A manual logout does that once back at the console (tty1). But I can not seem to trigger that logout from the script.
    In other words, everything works as expected, but after the script runs and Enlightenment exits, I have to manually do Ctrl+D to logout, which in turn does the automatic login again.
    I know it may sound a bit overkill... but it would really be nice to get this working.
    In case you wonder: running a custom xrandr command or script does not work in my case. It did before, when I was running Enlightenment e17, but apparently they changed something—once Enlightenment is in xinerama mode, it stays there, no matter what xrandr sets. I have tried that before, but it didn't work and that's why I came up with the more complicated solution above which uses two different xorg.conf files and a conditional startup command for startx and enlightenment_start
    I hope it all makes sense, I would really be happy to find a solution for this...

  • Call BEX-Query from VBA with BEX-automatic login?

    Hi,
    I'm trying to call a query from VBA. I have two problems/questions:
    1. Automatic login?
    I want to do an automatic login. I found this peace of code here, but I get an error:
    Public Function  LogonToYourBW()
    ' create Logon & RFC-Handle
    logonToBW = False ‘ clear connect Flag the flag can be used to find out if connected or not
        'load SAP functionality by opening BEX file ( use your installation path)
            Workbooks.Open (“c:\sappc\bw\sapbex.xla”)
        With Run("sapbex.xla!sapbexGetConnection") ‘ call the connection
           ' Set the params for Auto logon
           .client = “YOUR CLIENT NO”
           .user = “YOUR BW USER”
           .Password = “YOUR BW PWD” ‘ I recommend to create a dummy reporting user for this task
           .Language = “YOUR LANGUAGE YOU LIKE TO USE FOR QUERY DISPLAY ( i.E.  “EN”)”
           .SystemNumber = “YOUR SYSTEM NO” ‘
           .ApplicationServer = “YOUR SERVER Name OR IP-ADDRESS”
           .UseSAPLOgonIni = FALSE 'important for automatic connection
           .logon 0, True ‘ This will provide a dialog to appear
            If .IsConnected <> 1 Then
                .logon 0, False
                If .IsConnected <> 1 Then Exit Function
            Else
                Set g_oFunction = CreateObject("SAP.Functions")
                Set g_oFunction.Connection = g_oConnection
            End If
        End With
        Run "sapbex.xla!sapbexinitConnection" ‘ this will enable the connection you just created
        logonToBW = True
    End Function
    The error is by this row:
    Set g_oFunction.Connection = g_oConnection
    Object is needed! How is the g_oConnection-object defined?
    2. How can I pass values for the parameters from VBA?
    If I open the query usually from SAP-BEX-Toolbar, after selecting the query, I get a parameter mask, where I must put in a value. How can I this automatize from VBA? Has anybody a short samplecode for that?
    Thank you for your help
    Stefan
    [email protected]

    Peter and others:
    What I really want to do … is write a stand-alone application that I can run from windows scheduler … that queries our BW for sales data for certain items (in a tabular form) … and pulls that data into a VB recordset, or a .NET dataset … so that I can insert the rows into another database (SQL Server, or Access) … I already know how to do all the data movement to/from datasets and databases … I just cannot figure out how to programmatically grab this sales data from BW … our company has “workbooks” already set up that aggregate WW sales information by region (IE, there is a separate workbook for each region of the world) … I can manually go into the Excel interface, tell it which items to pull the sales info for, and it dumps the data into the worksheet (organized by customer, and then by cat #) …
    So, what I’d like to do is write an app that will pull data every week or so from the BW (from each region’s sales invoice detail “workbook”), and insert it into another database that we use for reporting other, non-sales, data.
    Thoughts on this ?  Is there another, non-BEx method that is better ?
    thanks !!

  • Automatic Login Trouble and Short Name Trouble

    Hello everyone,
    I just got a fresh install of Leopard going on my Macbook (wiped the hard drive during installation instead of just upgrading the OS), but I'm running into a brick wall (two of them, actually).
    First off, for some reason, my Macbook refuses to automatically login. I know this is a good thing in terms of security, but I would really like it to login automatically to save time.
    I also made an error in spelling for my computer's home short name, so it is now sitting here with a capitalization problem. I tried to to change the name through Advanced Options in the Accounts section of the System Preferences, but for some reason, the capitalization won't change. I know that's a pretty minor problem, but I'd still like to fix it.
    Any help that could be sent my way would be deeply appreciated.
    Thank you,
    Arcturus

    If the short name is a problem, reinstall. Changing this name is a nightmare, usually.
    http://www.macupdate.com/info.php/id/16620
    This will help if you want to try it, but it might fail, or screw things up.
    Trashing "com.apple.loginwindow.plist", you may cure the login problem. It's in your User/Library/Preference folder.
    Did you Migrate anything? If yes, re-migrate from your backup (You have one, right?).

  • TS3660 How To Disable Automatic Login

    How To Disable Automatic Login

    It is your only option if you want to get rid of that other user account. It seems the system is Hard Set to boot to that account. How and why I have not Idea but the first thing you should of done was Restoring it to the Original OS, if it was not Mt Lion to begin with, in doing so getting rid of all other accounts and files from that other account.
    Time to Bit the Bullet and Erase the drive completely and reinstall the original shipping version of OS X on that system.
    Anton Mironenko wrote:
    Reinstalling the OS would be too extreme. I already have many programs installed, and I tuned a lot of params. Data migration is another pain.
    I hope, it is possible to solve this issue in another way.

  • Automatic login in 3.0.9

    Hi,
    in 3.0.7. I could let user X automatically login as enduser Y calling wwptl_login.login_url passing ssousername / password, so user X could check his work as content manager whether he had published his content to the correct enduser groups.
    Now in portal 30.9.8.3.A using the same coe I get "service temporarily unavailable errors. Though if I call the procedure as public user it works fine.
    Can anyone help how I can offer the above mentioned functionality ( i.e. logout as user X, login as user Y programmatically) in 3.0.9.?
    thanks

    Carmen,
    Please post this message to the general Portal forum.
    Thanks,
    Jerry

  • Wifi:  Automatic login?

    In one of the public presentations of OS X 3.0 -- probably the initial one -- a feature called automatic login for Wifi was mentioned. Unfortunately, I don't see it.
    I understood that this should solve the following problem: You're using your iPhone in the proximity of an "open" Wifi network, and so your iPhone connects to it. Actually, though, the network isn't open. If you open Safari every attempt to view a page will be redirected to a login screen. So, until you do so, Mail and anything else that depends on an Internet connection will be stuck. The automatic login, I thought, would allow you to "script" the login for a provider.
    Does anybody have anymore information?

    No script required: http://www.apple.com/iphone/how-to/#settings.wi-fi
    Here's one example:
    http://www.wireless.att.com/learn/internet/wifi.jsp
    http://www.wireless.att.com/learn/internet/accessing-wifi.jsp
    "If you purchased an iPhone 3G S or updated your original iPhone or iPhone 3G with the latest Apple iPhone OS 3.0 software here's how to access AT&T Wi-Fi Services:
    Activate Wi-Fi from the settings icon on your iPhone.
    Once you are in an AT&T Wi-Fi Hot Spot, select "attwifi" from the list of available networks.
    Every time you enter an AT&T Wi-Fi Hot Spot, you will be automatically and securely logged into the AT&T Wi-Fi network."

  • How to disable automatic login and to see other accounts?

    I bought MacBook Pro Retina with Mac OS X 10.8.2 in a shop, where there already was account "kiosk".
    I created new account, gave him Administrator priviliges.
    In the Preferences / Users & Groups I see kiosk account as "Managed", and my new account as "Admin".
    I set:
    System Preferences / Security & Privacy / General / Disable automatic login = Checked.
    System Preferences / Users & Groups / Login Options / Automatic login = Off.
    But still I have two issues:
    1) After start the laptop automatically logins into kiosk account, while I explicitly switched off this option
    2) Apart from kiosk account, the OS doesn't see any other accounts, for example my new account.
    For example, when I changed login shell for kiosk account into /usr/bin/false, I couldn't login at all. The OS said something like, there are no active accounts. So I had to set login shell back to /bin/bash using single-user mode.
    The questions are:
    How to disable automatic login into kiosk account?
    How to see a choice between kiosk account and my new account in the login dialog?
    How to delete kiosk account? Currently the delete option is disabled for kiosk in System Preferences / Users & Groups.
    So far after laptop start I automatically login into kiosk, then switch into my new account with entering a password, which is weird.
    Thanks in advance.

    It is your only option if you want to get rid of that other user account. It seems the system is Hard Set to boot to that account. How and why I have not Idea but the first thing you should of done was Restoring it to the Original OS, if it was not Mt Lion to begin with, in doing so getting rid of all other accounts and files from that other account.
    Time to Bit the Bullet and Erase the drive completely and reinstall the original shipping version of OS X on that system.
    Anton Mironenko wrote:
    Reinstalling the OS would be too extreme. I already have many programs installed, and I tuned a lot of params. Data migration is another pain.
    I hope, it is possible to solve this issue in another way.

  • Setup has failed to automatically login to the server ServerMachine

    Hello,
    This error appears when installing the sboclient in a WINXP machine.
    Setup has failed to automatically login to the server <ServerMachine>
    It asks for the userID and Password, and even if I type the correct user and password it doesn't do anything.
    I can access the machine from the windows explorer, it is in a vmware.
    Anyone with the same problem?
    thanks in advance.

    Dear All,
    I was facing the same problem and now it is resolved.
    You should try the same what I did:
    • Browse the SQL Server CD from a client machine.
    • From the Root installation DIR, (SQL2005 in my case) double click "SPLASH.HTA" file.
    • It will ask for Security Warning, click Run.
    • It will pop up a Windows 2005 Server window.
    • Under the Install heading click on "Run the SQL Native Client Installation Wizard"
    • It will again pop up a security warning message. Click "Run"
    • Follow the instructions for installation.
    • Select all the components including SDK if it asks.
    Once it installed, try installing your SAP B1 Client. It must work.
    Best wishes

  • Archiso Automatic Login Issue

    Hello everyone,
    I've been using Fedora for quite some time now and recently planned to move to Arch. Somehow, I'm not able to install the latest ISO available for download - 2013.01.04. It freezes after the below prompts:
    Arch Linux 3.6.11-1-ARCH (tty1)
    archiso login: root (automatic login)
    [ OK ] Started Login Service.
    [ OK ] Reached Target Sound Card.
    I've tried installations with ISOs from Nov'12-Jan'13 and all of them just pause indefinitely after the above messages. I'm using Dell Studio 1458 with Intel Core i3 processor. Please let me know if there's anything I could provide to better understand the problem (ls{pci,usb}, etc).
    I've searched within forum for any existing topics on this issue but could not find definitive solutions. There are a few wiki entries on Dell laptops and I tried looking into them for possible solutions but to no avail.
    I'm keen on learning and open to suggestions. Thanks for your help.

    You may be better off tying to make a usbkey and boot from it - the way to do it is to plug the key in from a running linux box, and if you have the archiso at /path/to/iso then do as root on the unmounted usbkey: dd bs=4M if=/path/to/iso of=/dev/sdX where sdX is the device for your key. See https://wiki.archlinux.org/index.php/US … tion_Media
    unetbootin won't work as the iso has a special hybrid partitioning scheme. If you boot the key as per the recommended method I gave in the paragraph above, then it should give you a graphical screen with the options for installing 32 or 64 bit and a few other options.
    On all machines where I have had problems booting various usbkeys this is the one way I have never had a problem - however for machines with optimus graphics I believe that under linux you are best off switching off the nvidia part... those who I know who have optimus have not been able to get it working with dual graphics under linux though I suppose there may be a few users who have managed to get it working?
    Hope this helps.
    Last edited by mcloaked (2013-01-19 11:19:42)

  • Can't enable automatic login

    For a few months now I have not been able to get my computer to automaticlaly log me in upon startup. Although in the "Accounts" Preference pane Automatic Login is enabled for the admin account I still get the blue screen on startup and have to type in my password.
    This is very frustrating and I would like to be able to jsut have it start up on startup! Any ideas?
    Thanks. TH

    This seems never to have been solved so as I have finally managed to put this right on my computer I thought I'd share my result.
    I used the disk utilities to repair permissions, shut down and started up the iMac again but was still presented with a log in window. I then went to the Accounts settings and Log in Options. The user was selected as automatic log in. I selected the option "disabled", then selected the user name again and it asked me for the password which I typed in. I then re-started the machine and it hasn't asked me for the password since!

Maybe you are looking for