Change in login/logout behaviour?

Hi all,
I used to start my wm automatically from tty login using the following in .profile:
if [[ ! $DISPLAY && -z `pgrep -u $USER xinit` ]]; then
xinit &
exit
fi
This would automatically start the wm and then logout, freeing up the tty, but the X session would persist.
Since the recent update to util-linux and shadow, this no longer works because the X session is killed upon logout. This is not specific to X, any process launched to the background in .bashrc or .profile is killed on logout. On the other hand, simply executing
xinit & exit
at the console gives the previous behaviour where the X session persists after logout.
Does anyone know why this has changed and if it is possible to go back to the old behaviour?
Last edited by fijit (2012-07-06 13:34:05)

DSpider wrote:Post your /etc/inittab.
It's not meaningfully changed from default
# /etc/inittab
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
## Only one of the following two lines can be uncommented!
# Boot to console
id:3:initdefault:
# Boot to X11
#id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty --noclear -8 -s 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux
#c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux
#c5:2345:respawn:/sbin/agetty -8 -s 38400 tty5 linux
#c6:2345:respawn:/sbin/agetty -8 -s 38400 tty6 linux
# Serial Virtual Console for KVM and others VMs
#s0:2345:respawn:/sbin/agetty -8 -s 9600 ttyS0 linux
# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 -s 38400 hvc0 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1
# End of file

Similar Messages

  • Getting ~/Library to sync in background when login/logout sync turned off

    I have a bunch of laptop users with very slow network connections where I need to turn off login/logout sync and only sync data in the background manually. Problem is, if you turn off login/logout sync it also turns off syncing ~/Library in the background.
    Now if you use the Details tab for MCX setting in WGM you can add the key "Sync Preferences in the Background" and set it to "sync" but it doesn't make any difference.
    Anyone know how to work around this so I don't have to sync anything at login/logout but can still sync Preferences in background when I manually do a sync?

    I don't think it's in the GUI, but you can manage this stuff pretty granularly with the following boolean flags in ~/Library/Preferences/com.apple.homeSync.plist:
    <key>syncBackgroundSetAtLogin</key>
    <string>dontSync</string>
    <key>syncBackgroundSetAtLogout</key>
    <string>dontSync</string>
    <key>syncPreferencesAtLogin</key>
    <string>dontSync</string>
    <key>syncPreferencesAtLogout</key>
    <string>sync</string>
    <key>syncPreferencesAtSyncNow</key>
    <string>dontSync</string>
    <key>syncPreferencesInBackground</key>
    <string>dontSync</string>
    I think the keys you want are syncPreferencesInBackground and/or syncPreferencesAtSyncNow. However, I found that this unpredicatably didn't sync everything. PHD has a generally hard time with open files and many of these files are open. Also, note that 10.5 changed in that it considers any hidden folders loose in your home folder (e.g. .ssh/) to be included in "Preference" syncing only occurring at Logout and Login. This isn't really documented or shown anywhere. I'm pretty sure that they are ignored in the background *even with* the above flags in use. Note that I haven't played with these in a while, so your mileage might vary. Perhaps they're just not ready for prime time.
    EDIT:
    Actually, I just remember where and how I found these: You need to follow the directions for "Using the Preference Editor to Manage Core Services" on page 236 of the User Management manual. This gives you the location of Preference Manifest for Home Folder Syncing which has a bucketload of cool options, including automatic conflict resolution.
    Message was edited by: jaydisc

  • Login/logout sync hangs

    I am trying to migrate my user account to a portable home directory. (OSX Server 10.4.8, OSX Client 10.4.8). I have a small network (8 users) and everyone else has been using network accounts and portable home directories for months. I had a large amount of data in my account and just didn't want to take the time until I had some serious sound problem with my laptop and had to do an erase and install to fix it. So I decided to convert to a network account but put most of my files outside my home directory. The only thing in my home directory are my apple mail files. I can't get login logout sync to complete succeessfully. It goes through "checking items" and changes the folder it displays until it gets to the last one where it hangs for hours and never actually starts synchronizing. My work around was to remove all but a couple of my mailboxes from ~/library/mail and then sync by logging out/in. I then would add a couple more mail boxes and repeat. This is a tedious process.
    I could not find any discussion about limitations on the number of files that login/logout sync can process. I suspect there is some memory limit on the total number of files in a directory or the total number of changed files and instead of complaining it just hangs. Has anyone seen this? Does anyone know of a limit on the number of files. I have about 14 GB of mail archives with 100,000s of messages.
    I suspect I will have to archive them outside of the ~/library/mail folder and maybe do a symlink.

    Not even sure you can do this but you might look for Login/Logout Hooks that can perform the action your looking to do. There would have to be a way to shell-script the Sync part of RHD which I'm not sure you can.
    On the Server Side you can control what get auto synced and what does not in WGM. Then you just set it all to auto on login/logout.

  • Forum Login/Logout

    I'm not a fan of your new forum login/logout policy. While the login form has a "remember me" option, it does not appear to do anything. I still must login one or more times per day to participate in discussions.

    Make sure your Internet options looks something like this:
    If it isn't then change it and then try again.  If it is then post back for somebody else to suggest something else.
    You may wish to clear the cache (& coockies)  once to make sure there is nothing that is bugging your IE.
    Good luck.

  • How can I get all Login/Logout details

    How can I get all Login/Logout details of all SAP Users from SAP Server/Database of any one year? I am asking about SAP License User. Is their any Table or Report by which I can get these details? For example USR02(Logon Data) Table store the last login/logout details of SAP Users. So in same way is any table which store Users Login/Logout details through out a year or month.

    Hi Sudheer,
    Check this .
    You can find the transactions by a particular user from the transaction SM04.
    SM04 gives you the details of the users logged in,terminals,transactions the user is working on, the time he has logged in,no of sessions user has opened, and the memory used by the user's programs... all of that w.r.t to the client we login. but we can't get info like date and number of times the user has logged in.
    U can see tables:
    USR01 User master record (runtime data)
    USR02 Logon data
    USR03 User address data
    USR05 User Master Parameter ID
    USR12 User master authorization values
    plz rewards points if helpful
    cheers
    srinivas.k
    Edited by: k srinivas on Apr 28, 2008 11:54 AM

  • HR runtime error on agent login/logout

                       Good afternoon.
    Has anyone run in a a runtime error when running agent login/logout reports? I am unable to run this report.
    a runtime error occurred while executing the inquiry. i know there used to be bugs on this but.
    uccx, ha, 8.5.1. i have included the log. Thank you for any assistance.

    I removed my deployments from the remote OC4J server and removed deployment entries from http-web-site.xml and server.xml. I redeployed my simpleJSP bibean application to my local and remote OC4J server. It works locally but fails now with this new error:
    javax.servlet.jsp.JspException: BIB-10310 An unknown exception occurred.
    BIB-10101 Handler failed to handle UserObject.
    oracle.bali.ewt.elaf.windows.WindowsEWTPagingComponentUI
         at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:254)
         at simpleJSP.jspService(_simpleJSP.java:72)
         [SRC:/simpleJSP.jsp:6]
         at com.orionserver[Oracle9iAS (9.0.2.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:508)
    Regards,
    Dan

  • Login/Logout sync with user control over folders to sync

    We have a user who needs modify the folders that are synced periodically.
    The user has multiple computers that they keep synced with OS X Server 10.4.10.
    We turned background sync to unmanaged and they are able to modify their settings and left login/logoff sync as managed. Any time they login/logoff auto sync does not occur.
    How do we configure their settings so that they can adjust the folders that get synced and still have auto sync at login/logoff?

    Not even sure you can do this but you might look for Login/Logout Hooks that can perform the action your looking to do. There would have to be a way to shell-script the Sync part of RHD which I'm not sure you can.
    On the Server Side you can control what get auto synced and what does not in WGM. Then you just set it all to auto on login/logout.

  • Changing AD login's to reflect new SMTP addresses set in exchange... will it break connection to smartphones that use activesync?

    Hello,
    My organization is in the process of migrating mailboxes from Exchange 2003 to 2010. In addition to migrating we are also changing the login's in users AD objects. These users also have smart phones that are configured via activesync. I've come across a
    few users that when we change their login names. It breaks the activesync configuration on their smartphone. Is there a tool available that will help carry over the new login and won't break the activesync connection?

    Hi,
    Any update?
    Just checking in to see if the suggestions were helpful. Please let us know if you would like further assistance.
    Best Regards,
    Andy Qi
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Andy Qi
    TechNet Community Support

  • How to change the login's background

    Hi all,
    I'm new with apex and i need to change the login's background, i want to place an image as the login's background.
    how do i do that?? where should i change it ??
    Regards
    Carlos

    Hello,
    Here you can see it in details:
    http://application-express-blog.e-dba.com/?p=1681
    http://www.grassroots-oracle.com/2011/07/modifying-your-apex-login-page.html
    Regards,
    Fateh

  • Are there login/logout widgets

    Hi All
    I am looking for a very robust franework where common elements to typical ecommerce type of websites are available. For example I see most sites have a login and logout system. I have written previous login logouts for my sites but im looking for something very sophisticated and robust
    key features would be
    1 - ability to know how many people are logged in to your site
    2 - storing as much information about login client during login process in databases. example ip info, datetime, referring site, page loigged in from and so on
    3 - logging unsucessful logins
    4 - placing cookies or session cookies on successful logins
    5 - terminating sessions if client logs out by clicking logout button in website and flag log in databases saying he has logged out.
    6 - terminating sessions if they do not logout and flag log in databases saying he has logged out.
    also there may be other important features in login/logout that i havnt thought of.
    Is something available like this that i can pick up?
    Regards
    Antek

    Hi,
    There is a feature of DISQUS called "Guest commenting". If you use this feature, user willnot have to login or register
    Guest Commenting | DISQUS
    Hope this helps

  • How to change the login process

    Hi SDN,
    I've set up an Ecommerce 7.0 application with a B2B config. All is running an ok.
    I want to change the login process. We have userid's like 000005999999. In the LoginAction, i want to add this zeros before the id automatically so that the user can login with 5999999.
    My problem is that i don't find the Action which is performed after login.
    The form in the login.jsp looks like this:
    (Sorry i couln't post that code normally because SAP means thats cross site scripting. Remove spaces, then i looks normally)
    for /user/login there should be a forward at config.xml...but it isn't. No entry at config.xml and no entry at config_user.xml.
    Which Action is performed if i press the login button on login.jsp? Can someone help me please?
    Where can i change this Action to a Z_Action ?
    I think its the LoginAction.java... but where is it called? Where can i change the call to the Z_ class?
    For b2c it will be easy to find the LoginAction...there its defined in the config.xml... but at b2b... i really do not understand how that is working. Please help me with that problem.
    Thanks and best regards,
    Toni
    Edited by: Toni Flückiger on Apr 20, 2011 3:45 PM
    Edited by: Toni Flückiger on Apr 20, 2011 3:46 PM

    In web.xml  there is an init-param definition that maps as this:
    <init-param>
      <param-name>config/user</param-name>
      <param-value>/WEB-INF/config_user.xml</param-value>
    </init-param>
    So, all the forward name s with /user prefix  will be checked in the config_user.xml
    If you are trying to define a ZAction and would like to add /user prefix to the forward name, then you have to place it in the config_user.xml.
    Easwar Ram
    http://www.parxlns.com

  • Controlling Login/Logout and Background Sync

    Mac OS X Server 10.5.7
    Mac OS X Client 10.5.7
    Everything setup perfectly and by the book on both Server and Client.
    Problem:
    Why in God's name has Apple COMBINED the sync rules for both Login/Logout and Background Sync??? It's the most illogical thing and it does not work!!!
    Question:
    I know how to prevent Background items from Syncing at Login (through the preference manifest), but how to I get the Background sync NOT to sync LOGIN/LOGOUT items.
    The problem is always and systematically been mostly with the LIBRARY folder giving all sorts of sync errors. I have tried every possible trick combination but nothing seems to work.
    Is this STILL a bug even after a year?? If so, other than skipping the Library folder completely, mobile homes is utterly useless and unreliable. If I skip the Library folder, then mobile homes aren't really complete if a user moves to another machine.
    Has anyone found a reliable solution to this mess?
    PLEASE HELP.

    Something is definitely breaking it. Its as if at some random point in time, the sync stops obeying the background rules. I can only conclude that there is still is a bug somewhere that is not fixed.
    For example, I initially created the mobile home setting using the computer groups. When that started giving me errors, then I figured, let me try it by doing it via groups. So I created a new group and then, undid the settings for mobile homes that I had set for my computer group.
    The first time I logged in, it was working perfectly. Then my laptop's battery died. When I plugged it back, it reconnected to my wireless network and THATS when the bug started showing up again. No matter how many times I restarted, if I have firefox or entourage open, I automatically see that exclamation point in the upper right hand corned (on the mobile homes icon) and its ALWAYS the library files pertaining to those apps that 'are in use'.
    This is really frustrating and most non-apple like. This used to work perfectly under Tiger Server, I don't understand how Apple can mess this up THIS BAD and worse, not have a solid fix after a year.
    This bug even occurred with a brand new installation of Leopard server on a Xserve and a Mac OS X 10.5.7 station. The instant the mobile user logged on, that exclamation point came on complaining about the entourage files being in use even though that entire folder is set to be SKIPPED during Background Syncing.
    Not sure where to look anymore.
    And one more thing; as soon as I encounter that exclamation point, the time/date stamp reporting the last sync stops working as well.
    Could you provide screenshots of your setup? Could it be that Im missing one tiny detail somewhere? I just dont see where though.
    This is an updated output after it breaks (maybe there's a clue in there somewhere)
    excludedItems = (
    comparison = fullPath;
    value = "~/.SymAVQSFile";
    comparison = fullPath;
    value = "~/.Trash";
    comparison = fullPath;
    value = "~/.Trashes";
    comparison = fullPath;
    value = "~/Documents/Microsoft User Data";
    comparison = fullPath;
    value = "~/Library";
    comparison = fullPath;
    value = "~/NAVMac800QSFile";
    excludedPrefItems = (
    comparison = fullPath;
    value = "~/.SymAVQSFile";
    comparison = fullPath;
    value = "~/.Trash";
    comparison = fullPath;
    value = "~/.Trashes";
    comparison = fullPath;
    value = "~/Library/Application Support/SyncServices";
    comparison = fullPath;
    value = "~/Library/Caches";
    comparison = fullPath;
    value = "~/Library/Logs";
    comparison = fullPath;
    value = "~/Library/Printers";
    comparison = startsWith;
    value = "IMAP-";
    comparison = startsWith;
    value = "Exchange-";
    comparison = startsWith;
    value = "Mac-";
    homeSyncCompleted = 1;
    homeSyncTime = 2009-05-25 21:09:29 -0400;
    isNewMobileAccount = 0;
    periodicSyncOn = 1;
    syncPeriodSeconds = 0;
    syncedFolders = (
    path = "~";
    syncedPrefFolders = (
    path = "~/Library";
    path = "~/Documents/Microsoft User Data";
    }

  • Reporting of users login / logout

    Hi,
    Can we get Reporting of users login / logout / tea break / prayer break / meeting break status (i.e. complete login-logout monthly report of each employee) in CDR or some other way in CUCM.
    Regards.

    Hi
    1-The Cisco Extension Mobility and Cisco Extension Mobility Cross Cluster  features keep a record of the devices to which users are actively logged  in. For the Cisco Extension Mobility feature, the actively logged-in  device report tracks the local phones that are actively logged in by  local users; for the Cisco Extension Mobility Cross Cluster feature, the  actively logged-in device report tracks the local phones that are  actively logged in by remote users.
    Please find the below link:-
    https://supportforums.cisco.com/thread/2184881
    2- For your question , you need advanced solution which will help you to monitor status of user , as IPCC .,etc..
    Thanks
    Please rate all useful information

  • Very slow login/logout with Portable Home Directories

    I've set up Portable Home Directories for our department so that people can work from different computers if need be (also, I think our network is too slow to use network home directories). However, the login times are excruciating - some users report average 45 minute login times. None of these users are moving huge files or anything, and even if I just log someone out (completing the sync) and then log back in, the login will be very slow.
    If I disconnect the computers from the network, obviously it logs in quickly because it can't connect to the server, but I don't want to do that (or disable login/logout sync altogether). I tried removing things from the login/logout sync rules, but often the sync takes time just on 'Finishing' or 'Stopping', so I don't think that it's any particular files that take a lot of time.
    On a possibly related note, for some reason our computers all take perhaps 30 seconds to get an IP address when starting up, waking up from sleep, etc. Is there any reason why the computer would need to be doing this repeatedly? Especially on logout, this wouldn't seem relevant, but I've seen that mentioned in other threads.
    Thanks in advance for any advice,
    Greg

    Apple Discussions has a special forum just for Portable Home Directories, you might want to search and/or post your question there:
    http://discussions.apple.com/forum.jspa?forumID=1249

  • Mobile Account Login/Logout Sync Not Skipping Inputted Items

    I'm running a Leopard Server 10.5.6 Advanced Config ODM.
    No matter what I put into the Login & Logout Sync tab underneath "Skip items that match any of the following" it still syncs everything.
    I enter "ends with" ".mp3", "mp3" and it still syncs the test MP3s I put onto the desktop for the user.
    I ask it to not sync ~/Documents and it still syncs the test documents I put into that folder.
    This user is set to sync at login and logout with no background sync. The client machine is using 10.5.6.
    Merge with user's settings NOT checked
    Background Sync > Never
    Option > Never
    Account Creation > Creation
    Create mobile account when user logs in to network CHECKED
    Create home:
    with default sync settings: CHECKED

    Thanks for the reply.
    Under
    GROUP->PREFERENCES->MOBILE->RULES
    Login and Lougout Sync->Always
    Sync at login and logout->Checked
    Merge with user's settings->Not Checked and never has been.
    Unfortunately, that can't be it
    Here are some screen shots of my settings. As you can see Background sync is not enabled.
    Nevermind, it won't let me attach files.
    Message was edited by: jakelh

Maybe you are looking for

  • Movies in .flv . QuickPlayer can't read this. Can you help me, please.

    QuickPlayer can't read this. Can you help me, please.

  • Can we Create new Web Component in OAF LIb?

    Dear all, 1) Can we create a new WEB Component in OAF? 2)Can we call any Flash Based Application in OAF? 3)Can we create any Pie Chart where each Part should be have has a link(Ex:In Pie chart If we have 5 Parts when I click on any part of Pie chart

  • Canon 100m f/2.8 L IS USM Macro Lens - What's in the Box for real?

    I want to purchase the Canon 100m f/2.8 L IS USM Macro Lens, and the website says the only thing in the box is the lens itself and a manual. I realize that at the very least the Lens Cap and Cover MUST be included, but then I called customer service

  • Documentation in SAP Solution Manager.

    Hi Experts, we are looking for documentation (configuration Doc.) for ISU billing in sap solution manager. could any one please tell me the required steps to get the same. Thanks & regards Arpan Saini.

  • GRN for NLAG typed material

    Hello experts, I am trying to post GRN for NLAG typed materials. While doing so i am getting error message as "Sales price for A250000000905 could not be found" Message no. M7158 (A250000000905 is the material code) Please help.