Not authorized when suspensing, but not when logged in from terminal

Hi All,
I have the following line in my inittab, to start an X server for the user "cedric"
x:5:once:/bin/su cedric -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"
This works great, my X server is started during the startup of the rest of the services. when I then try to mouns an USB stick, suspend or reboot the machine, I get the message "Not autorized"
When I then kill X, login from a terminal, and then start X, everything works great, I can mount USB sticks, and suspend my machine from the lxde session without any problem, the message "not autorized" never comes up anymore
What have I missed in the iniitab line above? Is there a better way to autostart the X server? How can I debug these messages?
Best regards,
Cedric

Read the note in https://wiki.archlinux.org/index.php/St … ot#inittab
Try https://wiki.archlinux.org/index.php/St … sh_profile instead.

Similar Messages

  • I need to view the available commands and alias on my macbook. also i need to check system log history from terminal

    I think I am missing some stuff in the commands. I need it to show a list of all available to me and alias ....any suggestions?
    <Edited by Host>

    rockymountainblues,
    do you mean commands as in items in the Applications folder, or commands as in things that would be run from within Terminal? What sort of stuff do you think is missing from the commands?
    By aliases, do you mean aliases within the shell that Terminal executes?
    To check your system log history from Terminal, log in as an administrative user and go to /var/log. You should see several files with names that begin with system.log — the ones that end in .gz are inactive and compressed. The file named just system.log is the one that’s currently active.

  • Thumbnails do not display when logged in from a second account at the same iMac

    Hi,
    I am using Lightroom on an iMac with OSX 10.8.2. I have two user accounts. The library is located in a shared users folder, so that either user 1 or user 2 can have access to it (of course not at the same time). The pictures physically reside on an external drive and are recognized as such without any issue.
    Here is my problem: Under user 1 everything works perfect. Under user 2 the thumbnails of the pictures are not displayed for some reason. In the develop module user 2 can access the pictures. Nevertheless the thumbnails remain grey.
    I have worked in that configuration in LR 3 without any problem. After upgrading to LR 4 the problem started. Upgrading to 4.2 did not solve the problem. Rerendering the thumbnails when logged in as user 2 stalles.
    Any help is very much appreciated.

    Hi,
    It seems to be a known issue. Hope it will be fixed by next update.
    Also you can feedback in the link below:
    http://blogs.technet.com/b/lync/archive/2012/11/01/lync-app-feedback-you-asked-and-here-it-is.aspx
    The workaround is to use Lync Web App to share PPTs. You can see the Thumbnails for Powerpoint slides using Lync Web App.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Getting Error when log-out from Portal

    Hello,
    Sometimes when I log out from Oracle Portal (by clicking the link "Log Out"), I am getting the following error. Can someone tell me why I am getting this error?
    Thanks in advance
    Jay
    Wed, 20 Dec 2000 04:36:01 GMT
    ORA-00164: autonomous transaction disallowed within distributed transaction
    DAD name: portal30
    PROCEDURE : PORTAL30.wwsec_app_priv.logout
    URL : http:myServer.com:80/pls/portal30/PORTAL30.wwsec_app_priv.logout?p_done_url=http%3A%2F%2FmyServer.com%2Fpls%2Fportal30%2FPORTAL30.home
    PARAMETERS :
    ============
    p_done_url:
    http://myServer.com/pls/portal30/PORTAL30.home
    ENVIRONMENT:
    ============
    PLSQL_GATEWAY=WebDb
    GATEWAY_IVERSION=2
    SERVER_SOFTWARE=Apache/1.3.12 (Win32) ApacheJServ/1.1 mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.22
    GATEWAY_INTERFACE=CGI/1.1
    SERVER_PORT=80
    SERVER_NAME=myServer.com
    REQUEST_METHOD=GET
    QUERY_STRING=p_done_url=http%3A%2F%2FmyServer.com%2Fpls%2Fportal30%2FPORTAL30.home
    PATH_INFO=/pls/portal30/PORTAL30.wwsec_app_priv.logout
    SCRIPT_NAME=/pls
    REMOTE_HOST=
    REMOTE_ADDR=120.35.34.32
    SERVER_PROTOCOL=HTTP/1.0
    REQUEST_PROTOCOL=HTTP
    REMOTE_USER=
    HTTP_CONTENT_LENGTH=
    HTTP_CONTENT_TYPE=
    HTTP_USER_AGENT=Mozilla/4.73 [en] (WinNT; U)
    HTTP_HOST=myServer.com
    HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
    HTTP_ACCEPT_ENCODING=gzip
    HTTP_ACCEPT_LANGUAGE=en
    HTTP_ACCEPT_CHARSET=iso-8859-1,*,utf-8
    HTTP_COOKIE=portal30=3.0,en,us,AMERICA,BF4E17B4007870DE5A058FBEE2C5E54C261F756E2A2DC2285E5C9409B767916ADACBABE24D811A309E18C061091F58641C41F762C351E2CD871095366B8C03C017ADAC7177117 3C5D2496F1EC900800E5E9B07EB52A81B738DCF2E0E4BFD7AD1; portal30_sso=3.0,en,us,AMERICA,5D12C2D19C7A48C3D4E2EC2C77BB00E0C64F5EB9DCC9785B986CDBE3792A7F32E3EF30A61EBCA5C27BD6042A0D700C252F9403E5D3DFBFF73B7D271667DD479AA218821DA31ABBAEB0157 13F830F315835F33CFC8C8224DE
    Authorization=
    HTTP_IF_MODIFIED_SINCE=

    Apologies for the late response. I was on vacation.
    Following are the steps I followed in creating the database link. (1) Created a public database link using the SYSTEM account [used the clause USING to provide the host information] (2) Created a database link with the name same as above, using the account ACNTAPPS.
    After the creation of database links, I created the package in ACNTAPPS schema where some reports are generated using the DBLINK. I also created a PUBLIC synonym for the package and granted EXECUTE privilege to PORTAL30.
    Now I started creating portlets using the account PORTAL30. One portlet displays the small report, generated through the above package. Everything works fine. But sometimes when I click on LOG-OUT, I get the above error.
    Is there any way I can resolve this error? Any help / hints will be highly appreciated.
    Thanks
    Jay

  • 10.9.4 not responding when logging in from screen saver

    I have a MacBook Air with Mavericks and this wee I updated to 10.9.4. I have password activated restart from screensave; everything was normal but today, when I close the display and it sleeps, at the start screen I type my password and it freezes, it does not log in or does anything else, the dots showing representing the password go grey and ceases working. If I press the power button it restarts the login screen but after typing the password it does the same. If you type the wrong pass it shakes and says bad password so it responds to that but does not login.
    If I force a restart, at the login screen it accepts the password and logs in but not after sleep or screen saver. Any ideas? I deactivated the password protected screen saver but it is not a solution, I hope you could help me.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • ORA-02248: invalid option for ALTER SESSION when logging in from client

    Hi,
    I am a junior dba and I was hoping if someone could help me out with a problem I am having. I recently installed on oracle 10g client on my windows machine. I am trying to remote connect to my database on a unix box but I am getting the below error when trying to connect from the client.
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02248: invalid option for ALTER SESSION
    I've done some digging around on this and I think it might be something to do with the NLS_LANG setting maybe. I'm not sure though and to be honest I'm a bit lost on this.
    Any help would be greatly appreciated. Cheers.
    Rgs,
    Rob

    Please see below
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

  • Login request failed, when logging in from the iPhone simulator.

    Hi all,
    I am currently working on a setup, based on the Co-innovation Architecture with a SUP 2.0 server and SAP Netweaver Mobile 7.1. We have created a SWCV in Netweaver Mobile and deployed it SUP 2.0 and generated Objective C code.
    The iOS 4.3 simulator is able to connect to the SUP server, and the device is registered in the control center, thus a "Login request failed" is thrown.
    Here are the logs from the SUP server:
    2011-11-24 11:45:34 INFO DataServices sup.mbs.10 [com.sybase.vader.mms.DataServiceImpl]9#78311995 supAdmin d1_mypackage_mdc.1_0 (sup.mbs.10) com.sybase.vader.mms.DataServiceImpl::execute:238 - Response From Operation: doec.execute {response={content={}, id=1322131361, pkg=mypackage_MDC:1.0, method=loginFailed, loginFailed=true, log=[{"timestamp":"2011-11-24 11:45:34","message":"No Subscription Found","level":"error","code":404}], cid=9#78311995}, pushTo=sup.mbs.moca.5}
    2011-11-24 11:45:34 DEBUG DOEC sup.mbs.10 [com.sybase.vader.sap.doe.SapDoeConnectorOperation]execute( login ) --> result:
    | cid : 9#78311995 : 10
    | log : [{"timestamp":"2011-11-24 11:45:34","message":"No Subscription Found","level":"error","code":404}]
    | loginFailed : true
    | method : loginFailed : 11
    | pkg : MYPACKAGE_MDC:1.0 : 19
    | id : 1322131361 : 10
    | content : {}
    DOE-C Response Message
    2011-11-24 11:45:34 WARN DOEC sup.mbs.10 [com.sybase.vader.sap.doe.SapDoeConnectorOperation]Login request failed:
    | cid : 9#78311995 : 10
    | pid : moca://SIMULATOR-MAC2SIM2__SUP101 : 33
    | method : login : 5
    | pushTo : sup.mbs.moca.5 : 14
    | pkg : MYPACKAGE_MDC:1.0 : 19
    | ppm : eyJsYW5ndWFnZSI6bnVsbCwidXNlcm5hbWUiOiJzdXBBZG1pbiIsInBhc3N3b3JkIjoiczNwQWRtaW4ifQ== : 84
    | replyTo : sup.mbs.moca.5 : 14
    | upa : *
    | content : {}
    | id : 1322131361 : 10
    2011-11-24 11:45:34 DEBUG DOEC sup.mbs.10 [com.sybase.vader.sap.doe.SapDoeConnectorOperation]execute --> login
    2011-11-24 11:45:34 TRACE DataServices sup.mbs.10 [com.sybase.vader.service.interaction.PipelineCompositeInteractionOperation] 9#78311995 supAdmin d1_mypackage_mdc.1_0 (sup.mbs.10) com.sybase.vader.service.interaction.PipelineCompositeInteractionOperation]Invoking d1_mypackage_mdc_1_0_subscriptions.findSubscriptionByClientInteractionOperationBean.getResult
    It looks like it is the doe-c throwing the error. I am able to ping Netweaver Mobile from the control center, with the tech user defined.
    I hope you have any suggestions.
    /Nima
    Edited by: NimaZandi on Nov 24, 2011 12:48 PM

    Hi Nima,
    Were you able to resolve this issue? I am also facing a similar problem.
    Thanks,
    Krishneel

  • HT3819 My old computer is broken so bought new one.When logged into itunes had to reset password etc.Anyway once on all playlist were different and can't find original stuff.I thought I would just log on and it would be my playlists but not to be.Help ple

    My old computer is broken so bought new one.When logged into itunes had to reset password etc.Anyway once on, all playlists were different and can't find original stuff.I thought I would just log on and I would carry on as usual  but not to be.Help please.

    Donmcp wrote:
    I thought I would just log on and I would carry on as usual 
    Why would you think this?  That's an ignorant assumption to make.
    Your media is only where you put it.
    Either move it from the old computer or restore it from the backup of the old computer.

  • I keep authorizing my pc, but when I sync my IPod touch, it doesn't want to sync because "Your computer is not authorized.". Any help?

    I keep authorizing my pc, but when I sync my IPod touch, it doesn't want to sync because "Your computer is not authorized.". Any help?

    Click here and follow the instructions.
    (92988)

  • HT1338 i currently have a macbook 2.1 and want to update. what can it support? I can't even download IPhoto! I can't open anything in my ICloud account either! its not on my current browser nor am i able when logging onto my ICloud account.

    i currently have a macbook 2.1xersion 10.6.8 and want to update. what can it support? Everything i try, it won't support! I can't even download IPhoto! I can't open anything in my ICloud account either! its not on my current browser nor am i able when logging onto my ICloud account. Can anyone give me some advice besides buying a newer laptop?

    Lion 10.7.5 is as far as you can go. You must have at least 2 GBs of installed RAM.
    Upgrading from Snow Leopard to Lion or Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99.
    If you sign into the App Store and try to purchase Mountain Lion but the App Store says your computer is not compatible then you may still be able to upgrade to Lion per the following information.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. Or you can order directly on the online Apple Store. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.

  • When i delete an audio book from my computer it does not delete the book from my Iphone. it seems to be deleting the name from the computer but not the content. this has just started happening since the last itune progam updated. the result is i have

    I record audio books from my library onto my old iPhone. I download the book from Overdrive to my computer. I connect the Iphone to the computer and transfer the audio-book to the iPhone.  When I am done listening to the book i delete it from the iPhone by connecting it to the computer and doing a manual sync. this worked fine until the last i-tunes update on my computer. Now when the iPhone is connected and i tell the computer to delete a book it is only deleting the name of the book on the computer it is not deleting the book from the phone. The next time I connect the phone to the computer the program does not show the book in the phone but it is still in the phone.  I have no more room on my phone to get any new books on it.
    Does anyone know how to fix this? Please

    You are correct.  Syncing should transfer any purchased media, including videos, from your device to your iTunes library provided your computer is authorized for the Apple ID used to make these purchases.  You mentioned that you have uninstalled iTunes before, but if you didn't follow this guide exactly, uninstalling iTunes and all of its components in the order specified, it may not have been successful so you should try again:  Windows XP or Windows Vista/7.

  • When occurs crash recovery,why use active online redo log not archived log?

    If current redo log had archived, but it's still 'ACTIVE'. As we all know, archived log is just an archived copy of the current redo log which is still 'ACTIVE', they have the same data. But why use active online redo log not archived log for crash recovery?(I think, if crash recovery can use archived log, then whether the online redo log is 'ACTIVE' or not, it can be overwritten)
    Quote:
    Re: v$log : How redo log file can have a status ACTIVE and be already archived?
    Hemant K Chitale
    If your instance crashes, Oracle attempts Instance Recovery -- reading from the Online Redo Logs. It doesn't need ArchiveLogs for Instance Recovery.
    TanelPoder
    Whether the log is already archived or not doesn't matter here, when the instance crashes, Oracle needs some blocks from that redolog. Archivelog is just an archived copy of the redolog, so you could use either the online or achive log for the recovery, it's the same data in there (Oracle reads the log/archivelog file header when it tries to use it for recovery and validates whether it contains the changes (RBA range) in it what it needs).

    Aman.... wrote:
    John,
    Are you sure that the instance recovery (not the media recovery) would be using the archived redo logs? Since the only thing that would be lost is the isntance, there wouldn't be any archived redo log generated from the Current redo log and the previous archived redo logs, would be already checkpointed to the data file, IMHO archived redo logs won't participate in the instance recovery process. Yep, shall watch the video but tomorrow .
    Regards
    Aman....
    That's what I said. Or meant to say. If Oracle used archivelogs for instance recovery, it would not be possible to recover in noarchive log mode. So recovery relies exclusively on the online log.
    Sorry I wasted your time, I'll try to be less ambiguous in future

  • Itunes says it is not authorized when trying to sync

    itunes says it is not authorized when trying sync, but after authorizing it does it again so I can not sync my phone.

    You can use the search bar at the top of this page by "Support" as well as we can.
    I typed you subject into it and got:
    iOS: Device not recognized in iTunes for Windows
    iOS: Device not recognized in iTunes for Mac OS X

  • I am trying to set up family sharing and do not have the setup option when logged in, help!

    I am trying to set up family sharing and do not have the setup option when logged in, help!

    Hello Carney10,
    Thank you for visiting Apple Support Communities.
    When you say you do not have the setup option for Family Sharing, that seems like you log into the iCloud System Preference but the "Set Up Family" button is not there.
    Is your Mac updated to Yosemite?
    Family Sharing - Apple Support
    iOS 8 and OS X Yosemite are required to set up or join a Family Sharing group and are recommended for full functionality.
    Where in the setup are the options not available or working?
    OS X Yosemite: Set up Family Sharing
    Best regards,
    Nubz

  • Fn key can not work when logged in as a specific user

    I use fn + (F1-F12) to control my MBP(adjust brightness etc). This setting works well for more than a year.
    Recently, when I logged into my user account, I found I can not use fn+(F1-F12) to adjust setting anymore. When I press fn + f1, the result is equivalent to just press f1 without holding the fn key.
    The fn key can work well when I am in the login screen, but after I type my password and press enter, the fn key will not function anymore. Even logout can not help.
    If I log into another user (guest or newly created user), the fn key can work well. If I log into my account first, then another user, the fn key will be disabled until I reboot my machine.
    It seems that my user account launched some weird applications that disabled my fn key.
    I tried to disable as many login items as I can, but the problem still remains.

    Thank you for your answer.
    Unfortunately I can't try your solution on the computer where the problem occurred because it is used in another course for the moment and is therefore not available. But I tried to recreate the problem on another computer. I created a restricted account and when logged in on that account I opened my VI and it worked fine... (all subVI:s were found). By default, the restricted account had Read & Execute, List Folder Contents and Read permissions for the MAX folder. So, I then unchecked the Allow-boxes in an attempt to recreate the problem, but the VI still worked on the restricted account. Then I checked the Deny-boxes for the permissions mentioned above, but the VI still worked. Since I couldn't recreate the problem I don't know if your solution is the right one, but at least I can draw the conclusion that it is possible to run my VI from a restricted account.
    But I will try your solution on the computer where the problem occurred when it is available and I will let you know whether the problem was solved or not.

Maybe you are looking for

  • HP Officejet Pro 8600 color copy

    When trying to copy in color, it makes vertical colored lines all over the page.  I can copy fine in black.  I can also print from the computer fine.  It prints the test sheets fine.  It is only when I select to copy in color that is a problem.  I ha

  • Satellite A665 - EasyControl Panel Issue

    Hi! 3 days ago EasyControl panel and touchpad on/off button stopped responding. On EasyControl works only volume buttons, others like eco and wifi don't work. Anyone knows how to help me?

  • In-home Agent doesn't install correctly

    Tried this several times and no luck. Get an error that something in the installation process did not finish correctly. This is a Windows 8 computer.

  • Workflow question: managing photos

    Let me say first, I am new to iWeb. I have lots of photos in iPhoto. I use some of them on my web pages. Obviously I want the images in iWeb to be smaller in size than what I keep them in iPhoto. So, do you create a new folder, put COPIES there, resi

  • Unable to install Elements 10. The Wizard failed to install Shared Technologies. Please help.

    After PC repair I am unable to re-install Photoshop Elements 10 from a bundled disc as the Wizard was interupted. The Shared Technologies failed to install. I am using Windows XP Pro. I have been struggling with this problem for 6 weeks now and would