Systemd/user: tmux sessions get killed when stopping systemd session

Following the wiki guide on systemd/user, I am now starting my X sessions using systemd unit files for my user.
My problem: when I quit X or exit the systemd session (for example through $ systemctl --user exit), my tmux sessions get killed along with it. Note, I do not start tmux with unit files, but simply through invoking “tmux” in a virtual terminal. I have also tried detaching the tmux session before quitting the systemd session, but to no avail.
How can I make my tmux sessions survive X closing?

That is beacuse tmux becomes a child process of the systemd --user session.  So it gets caught up in the cgroup and everything.  What I have done is I start a system service of tmux as my user (I have creatively come up with the name "[email protected]").  Here is what I've got, that has been working for me:
% cat /etc/systemd/system/[email protected]
[Unit]
Description=Start detached tmux session
After=multi-user.target
Before=shutdown.target
[Service]
Type=forking
User=%I
WorkingDirectory=%h
ExecStart=/usr/bin/tmux new-session -d -s %u
ExecStop=/usr/bin/tmux kill-session -t %u
Restart=always
[Install]
WantedBy=multi-user.target
Last edited by WonderWoofy (2013-04-27 22:35:27)

Similar Messages

  • How to prevent session getting  killed

    Hi All,
    I am trying to execute a procedure which contains a long running query .
    The query takes so much time to execute that the session gets killed .
    Can anybody please let me know what should I do to prevent my session being killed/
    Is there any parameter to be set to do so?
    Many thanks in advance.

    try to avoid posting 2 questions for the same subject
    Can I alter the default profile

  • User exit which gets triggered when a line item is deleted in va02

    Hello all,
                   I am unable to find a User exit which gets trigerred when i delete a line item from va02.If I use the User Exits for saving data in Include MV45AFZZ the screen field VBAP-POSNR for line item is not getting accessed.All i need to compare the line item texts. Which means if any of these texts change then i need to write my logic. But the screen field name for all the texts is the same.Please guide me.

    Hello,
    Whever you perform any actions on the line item, we have the user exit in MV45AFZZ, userexitxvbap. Whenever the the item is deleted the UPDKZ value in XVBAP value is set to 'D', else since you are using the transaction VA02, any change is recorded in YVBAP(for old values) and XVBAP(for new values), so using this two internal table you can write any necessary logic.
    BR
    Sudhakar.

  • JSP session getting destroyed when second user logs in

    Hi,
    I am facing a session related problem in a small login program in jsp. I am using three jsp pages, login.jsp (user logs in), page1.jsp (creates a session and stores username) and page2.jsp (accesses session).
    Login.jsp:
    No jsp actually. Just a simple html form.
    Page1.jsp:
    String name=request.getParameter("Name");
    session=request.getSession(true);
    session.setAttribute("Name",name);
    Page2.jsp:
    session=request.getSession(false);
    if(session.isNew())
    System.out.println("new session created");
    String name=session.getAttribute("Name").toString();
    As expected, it works like session getting set at page1 and used at page2. It works good if users log in one by one. The problem arises when 2 (or more users with different logins) try to access the page at same time. When a new user logs in, the previous user session gets destroyed (session.isNew() becomes true and session Id changes).
    Is it the way I am using sessions (missing something), or there is some setting in tomcat server to specify maximum number of logins (sessions that can be handled).
    Regards
    Kamal

    Hi,
    Thanks for reply, but I guess the problem is not clear. Let me explain..
    A user logs in, he reaches first page (page1.jsp), here session is getting set. Then user goes to page2.jsp where application retrieves the information from session and uses it. It works all well.
    When two (or more) user logs in.. First user logs in, he reaches page 1, session is set. But then another user logs in (different id) and a session is set for him as well. Now the problem here is that session for first user gets destroyed at this point, which is unexpected (two sessions should not conflict, on different machines).
    Additionally, the problem does not happen necessarily at second login. eg. sometimes 4 users log in and when fifth one logs in, fourth gets logged out (session gets destroyed).
    I am not able to figure out, whether the problem is in code (given in first post) or there is some tomcat setting responsible for this behavior.
    Regards
    Kamal

  • Session gets hanged when breakpoint is set, else works properly.

    Hello Experts,
      I am expierencing that when i activate the breakpoints in my source code, my sessions gets hanged up.But when i remove the same breakpoint , i get to see the output. I have all the rights , and i use to debug till this last week.
    Can anyone help me in this issue.
    Thanks in advance.
    Swapnil

    Hi, Waghmare
    Please Check your GUI version and Patch Level i think problem is with your GUI
    Follow Steps Bellow
    --> Press ALT + F12
    --> From the menu Select About from here you can Check the Version and Patch Level
    Regards,
    Faisal
    Edited by: Faisal Altaf on Feb 1, 2010 3:12 PM

  • Session is killed when I go to a new app, HELP!!

    I use Tomcat and there I have 1 login App. But there are more webapps in the webapps dir of tomcat. I want to create a session in the login web app and then go to another web app and then check the login and pasword that I entered in the session. But when I go to another web app the Session is empty.
    How can I solve this problem? Should I use sessions or maybe something else?
    Pleassssssssseee can you help me?

    If what you want to share among several webapps on the same server is just the login, you just have to configure the single sign on option (see http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Single%20Sign%20On).
    If you want to share more data (some kind of "server session" attributes and not only "webapp session" attribute), I think you have to manage it yourself (using a java.util.Hashtable and the javax.servlet.http.HttpSessionListener for example).
    Regards.

  • [Solved] systemd/user : how to exit window manager & stop X?

    Solution: Jump to https://bbs.archlinux.org/viewtopic.php … 6#p1262166
    I have set up my system to user systemd units to start my environment (roughly following the wiki).
    My problem is that I cannot exit my window manager (using “io (exitWith ExitSuccess)” in Xmonad): the service file starting the WM (xmonad) stops/exits with success, but the xorg.service keeps
    running. I need to switch to TTY2, systemctl --user stop xorg.service by hand, then switch to TTY1, execute Ctrl-C, and then I finally get my login
    prompt back.
    This is a bit annoying, and I don't know how to fix it.
    Here are the relevant (I think) unit files:
    # xmonad.target
    [Unit]
    Description=XMonad
    Wants=xorg.target
    Wants=xinit.target
    Requires=dbus.socket
    AllowIsolate=true
    [Install]
    Alias=default.target
    # xmonad.service
    [Unit]
    Description=Starts Xmonad
    Before=xinitrc.target
    After=xorg.target
    Requires=xorg.target
    [Service]
    ExecStart=/usr/bin/xmonad
    Environment=DISPLAY=:0
    Restart=no
    [Install]
    WantedBy=xmonad.target
    RequiredBy=xorg.service
    As you can see, I have added the RequiredBy=xorg.service line at the bottom, hoping that if xmonad.service exits, so should xorg.service - but to
    no avail.
    What do I have to do in order to completely stop X and get my login prompt on TTY1 back?
    EDIT: I am of course using the user-session-units.
    Last edited by Stalafin (2013-04-22 13:54:45)

    I know it's an old thread (not really old) but I have the same problem. The question is your solution doesnt work with me. It just give me an error like this:
    Failed to issue method call: The name org.freedesktop.login1 was not provided by any .service files
    Failed to issue method call: Process /bin/false exited with status 1

  • User of TCS- getting error when launching Captivate

    I am a TCS user, which comes with Captivate. I have been
    using FM and RoboHelp for sometime now... and now we want to start
    using Captivate. When I go to launch Captivate off my start menu, I
    am unable to do so- I get this error: "This Product is already
    installed as a component of Adobe Technical Suite Installer. If you
    want to install it as an individual product please remove it from
    Suite." My only choice is OK, so I choose that. Then it tries to
    configure Captivate with the little installer ICON, the message
    re-appears, I click OK, and the whole thing does this about 3 times
    until it closes.
    I am able to launch Captivate out of FrameMaker- but again,
    when I try to save a project, start a new one, etc. I get the same
    error message and same cycle. I need some help please! Everything
    else in TCS seems to be working correctly...
    Adriana

    Hi Adriana
    I might suggest you report this to Adobe as a possible bug.
    Click here to view the wish form/bug reporting form
    You may also wish to contact Adobe Support.
    Cheers... Rick

  • Error: 1013290  Cannot kill or stop a session: in constant terminating

    I have a session the I tried to terminate by Killing it and Logging off the user. The Request State changes to "terminating" but never goes away. Anyone have a solution? thanks

    user13426216 wrote:
    I have a session the I tried to terminate by Killing it and Logging off the user. The Request State changes to "terminating" but never goes away. Anyone have a solution? thanksyou need to terminate the OS process/thread; depending upon OS of DB Server

  • Tuxonice suspends/resumes ok but my X session gets killed on resume

    The weirdest of problems... Up until yesterday my tuxonice setup used to suspend/resume flawlessly. Some very rare lockups occured but I didn't mind. Since 2 days ago, my laptop resumes but the saved X session (xfce4) is killed and I'm presented with the gdm login screen. The only thing I can remember that changed is a regular update of the system:
    [2010-02-14 16:21] installed beautiful-soup (3.1.0.1-1)
    [2010-02-14 16:21] upgraded anki (0.9.9.8.5-2 -> 0.9.9.8.6-2)
    [2010-02-14 16:21] upgraded bin32-wine (1.1.37-1 -> 1.1.38-1)
    [2010-02-14 16:21] upgraded diffutils (2.8.1-6 -> 2.9-1)
    [2010-02-14 16:21] upgraded zlib (1.2.3.7-2 -> 1.2.3.8-1)
    [2010-02-14 16:21] upgraded ffmpeg-svn (21736-1 -> 21817-1)
    [2010-02-14 16:21] upgraded filesystem (2010.02-1 -> 2010.02-2)
    [2010-02-14 16:21] upgraded flashplugin (10.0.42.34-1 -> 10.0.45.2-1)
    [2010-02-14 16:21] upgraded fuse (2.8.1-1 -> 2.8.3-1)
    [2010-02-14 16:21] upgraded ghostscript (8.70-4 -> 8.71-1)
    [2010-02-14 16:21] upgraded gnome-screensaver (2.28.1-1 -> 2.28.3-1)
    [2010-02-14 16:21] upgraded gqview (2.0.4-2 -> 2.0.4-3)
    [2010-02-14 16:21] upgraded gstreamer0.10 (0.10.25-1 -> 0.10.26-1)
    [2010-02-14 16:21] upgraded gstreamer0.10-base (0.10.25-1 -> 0.10.26-1)
    [2010-02-14 16:21] upgraded gstreamer0.10-base-plugins (0.10.25-1 -> 0.10.26-1)
    [2010-02-14 16:21] upgraded gstreamer0.10-good (0.10.17-2 -> 0.10.18-1)
    [2010-02-14 16:21] upgraded gstreamer0.10-good-plugins (0.10.17-2 -> 0.10.18-1)
    [2010-02-14 16:21] upgraded kdebase-workspace (4.4.0-3 -> 4.4.0-4)
    [2010-02-14 16:21] upgraded kdelibs (4.4.0-3 -> 4.4.0-4)
    [2010-02-14 16:21] upgraded libidn (1.15-1 -> 1.16-1)
    [2010-02-14 16:21] upgraded libisofs (0.6.26-1 -> 0.6.28-1)
    [2010-02-14 16:21] upgraded mc (4.6.1-5 -> 4.7.0.2-3)
    [2010-02-14 16:21] upgraded mlt-git (20100208-1 -> 20100213-1)
    [2010-02-14 16:21] upgraded nano (2.2.2-1 -> 2.2.3-1)
    [2010-02-14 16:21] upgraded networkmanager (0.7.999-2 -> 0.7.999-3)
    [2010-02-14 16:21] upgraded ntfs-3g (2009.11.14-1 -> 2010.1.16-1)
    [2010-02-14 16:21] upgraded perl-cgi (3.48-1 -> 3.49-1)
    [2010-02-14 16:21] upgraded tzdata (2010a-1 -> 2010b-1)
    [2010-02-14 16:21] upgraded vlc (1.0.5-2 -> 1.0.5-3)
    [2010-02-14 16:21] upgraded xfburn (0.4.2-1 -> 0.4.3-1)
    [2010-02-14 16:21] upgraded youtube-dl (2010.01.06-1 -> 2010.02.13-1)
    [2010-02-15 04:03] upgraded filesystem (2010.02-2 -> 2010.02-3)
    [2010-02-15 04:03] upgraded mkinitcpio (0.6-1 -> 0.6.1-1)
    [2010-02-17 09:41] upgraded google-chrome-dev (4.0.249.11-1 -> 5.0.322.2-1)
    [2010-02-17 09:45] upgraded babl (0.1.0-1 -> 0.1.2-1)
    [2010-02-17 09:45] upgraded bluefish (1.0.7-4 -> 2.0.0-1)
    [2010-02-17 09:45] upgraded ffmpeg-svn (21817-1 -> 21859-1)
    [2010-02-17 09:45] upgraded geany (0.18-1 -> 0.18.1-1)
    [2010-02-17 09:45] upgraded gegl (0.1.0-2 -> 0.1.2-1)
    [2010-02-17 09:45] upgraded gimp (2.6.8-2 -> 2.6.8-3)
    [2010-02-17 09:45] upgraded git (1.6.6.1-1 -> 1.7.0-1)
    [2010-02-17 09:45] upgraded imagemagick (6.5.9.0-2 -> 6.5.9.5-1)
    [2010-02-17 09:45] upgraded lib32-curl (7.19.7-1 -> 7.20.0-1)
    [2010-02-17 09:45] upgraded lib32-glibc (2.11.1-1 -> 2.11.1-1.1)
    [2010-02-17 09:45] upgraded lib32-libdrm (2.4.17-2 -> 2.4.17-4)
    [2010-02-17 09:45] upgraded lib32-libjpeg (8-1 -> 8-2)
    [2010-02-17 09:45] upgraded lib32-libx11 (1.3.2-1 -> 1.3.3-1)
    [2010-02-17 09:45] upgraded lib32-sqlite3 (3.6.21-1 -> 3.6.22-1)
    [2010-02-17 09:45] upgraded lib32-qt (4.5.3-4 -> 4.6.1-1)
    [2010-02-17 09:45] upgraded libarchive (2.7.1-1 -> 2.8.0-1)
    [2010-02-17 09:45] upgraded libssh (0.4.0-1 -> 0.4.1-1)
    [2010-02-17 09:45] upgraded mkinitcpio (0.6.1-1 -> 0.6.2-1)
    [2010-02-17 09:45] upgraded mkvtoolnix (3.1.0-1 -> 3.2.0-1)
    [2010-02-17 09:45] upgraded qt (4.6.1-1 -> 4.6.2-1)
    [2010-02-17 09:45] upgraded sudo (1.7.2p2-1 -> 1.7.2p3-1)
    [2010-02-17 15:17] upgraded gstreamer0.10-ugly-plugins (0.10.13-3 -> 0.10.13-4)
    I run a tailored-to-laptop vanilla kernel with the tuxonice patch and nvidia-beta-all, but neither was touched in any way before the problem started. During my tests, I left a screen session running
    while sleep 1; do date >>/tmp/log ; ps ax >>/tmp/log ;echo ==================" >>/tmp/log; done
    in case it caught anything strange, but it didn't. One ps ax showed xfce4 up, the next nothing. I realize of course this would be a long shot, given the 1s interval, but since the logs and dmesg didn't show anything, I grew kind of desperate.
    Any ideas?

    I dug a little deeper and found some more info, in daemon.log:
    Feb 17 23:23:00 orion gdm-binary[2884]: WARNING: gdm_slave_xioerror_handler: Fatal X error - Restarting :0
    And in Xorg.0.log.old:
    Backtrace:
    0: /usr/bin/Xorg (xorg_backtrace+0x28) [0x45a848]
    1: /usr/bin/Xorg (0x400000+0x61989) [0x461989]
    2: /lib/libpthread.so.0 (0x7f405f7c1000+0xee80) [0x7f405f7cfe80]
    3: /usr/lib/xorg/modules/drivers/nvidia_drv.so (_nv001465X+0x16) [0x7f405ae1c256]
    4: /usr/lib/libpixman-1.so.0 (0x7f405fe2c000+0xa6d2) [0x7f405fe366d2]
    5: /usr/lib/libpixman-1.so.0 (0x7f405fe2c000+0x34a09) [0x7f405fe60a09]
    6: /usr/lib/libpixman-1.so.0 (0x7f405fe2c000+0x2f13b) [0x7f405fe5b13b]
    7: /usr/lib/libpixman-1.so.0 (0x7f405fe2c000+0x36e72) [0x7f405fe62e72]
    8: /usr/lib/libpixman-1.so.0 (0x7f405fe2c000+0x381e0) [0x7f405fe641e0]
    9: /usr/lib/libpixman-1.so.0 (0x7f405fe2c000+0x2ee4a) [0x7f405fe5ae4a]
    10: /usr/lib/libpixman-1.so.0 (pixman_image_composite+0x17c) [0x7f405fe5bc7c]
    11: /usr/lib/xorg/modules/libwfb.so (wfbComposite+0x1c0) [0x7f405a50eab0]
    12: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f405ad4b000+0x32b8a5) [0x7f405b0768a5]
    13: /usr/lib/xorg/modules/libxaa.so (0x7f405a0a2000+0x52a75) [0x7f405a0f4a75]
    14: /usr/bin/Xorg (0x400000+0xaa720) [0x4aa720]
    15: /usr/bin/Xorg (0x400000+0x11d7a9) [0x51d7a9]
    16: /usr/bin/Xorg (0x400000+0x11da75) [0x51da75]
    17: /usr/bin/Xorg (0x400000+0x11d276) [0x51d276]
    18: /usr/bin/Xorg (0x400000+0x2f656) [0x42f656]
    19: /usr/bin/Xorg (MapWindow+0x153) [0x4317c3]
    20: /usr/bin/Xorg (0x400000+0x452f6) [0x4452f6]
    21: /usr/bin/Xorg (0x400000+0x46024) [0x446024]
    22: /usr/bin/Xorg (0x400000+0x219ec) [0x4219ec]
    23: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f405ea6cb6d]
    24: /usr/bin/Xorg (0x400000+0x21599) [0x421599]
    Segmentation fault at address 0x2f0185
    Fatal server error:
    Caught signal 11 (Segmentation fault). Server aborting

  • Session gets lost when proxied through a server

    Hi,
    Did anyone come accross loosing session valued when proxied by a server.
    Does anyone have some work around for that?
    Please let me know.
    Thanks,
    Kavitha

    If you use a JSP to generate your form, the following is possible.
              <FORM METHOD="POST" ACTION="<%= response.encodeURL("someurl")%>">
              -brian
              Mike Williams wrote:
              > >>> On Mon, 27 Mar 2000 10:08:30 -0600,
              > >>> "Jim" == "Jim Clark" <[email protected]> wrote:
              >
              > Jim> Try using URL rewriting when the browser doesn't support cookies:
              > Jim> weblogic.httpd.session.URLRewriting.enable=true
              >
              > From the documentation, it seems that you still need to use encodeUrl().
              >
              > Curiously, the value of "weblogic.httpd.session.URLRewriting.enable"
              > doesn't seem to have any effect! However I set it, encodeUrl() still adds
              > a "WebLogicSession" parameter to the URL.
              >
              > Again, this helps with links, but I still lose my session when I use HTML
              > forms, as there seems to be no way to encode the session-ID in the request.
              >
              > Any ideas?
              >
              > --
              > cheers,
              > Mike Williams
              

  • Session getting locked when running jobs

    Hello:
    I am trying to kick of jobs:
    DECLARE
    X NUMBER;
    BEGIN
    SYS.DBMS_JOB.SUBMIT
    ( job => X
    ,what => 'ABC.A1;'
    ,next_date => to_date('16/10/2008 08:05:00','dd/mm/yyyy hh24:mi:ss')
    ,interval => 'TRUNC(SYSDATE+30)'
    ,no_parse => TRUE
    SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
    END;
    commit;
    DECLARE
    X NUMBER;
    BEGIN
    SYS.DBMS_JOB.SUBMIT
    ( job => X
    ,what => 'ABC.A2;'
    ,next_date => to_date('16/10/2008 08:05:00','dd/mm/yyyy hh24:mi:ss')
    ,interval => 'TRUNC(SYSDATE+30)'
    ,no_parse => TRUE
    SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
    END;
    commit;
    The first job starts fine. But the second job in encountering a session-locked error.
    What am I doing wrong?
    Venki

    With this query, you can show the sql blocker and blockee.
    Regards Salim.
    SELECT 'BLOCKER: '||BW.HOLDING_SESSION||'('||SB.USERNAME||') MODE: '||MODE_HELD||
            ' - SQL: '||BQ.SQL_TEXT BLOCKER,
           'BLOCKEE: '||BW.WAITING_SESSION||'('||SW.USERNAME||') MODE: '||MODE_HELD||
            ' - SQL: '||SQ.SQL_TEXT  BLOCKEE
         FROM DBA_WAITERS BW, V$SESSION SB, V$SESSION SW, V$SQLTEXT BQ, V$SQLAREA SQ
         WHERE BW.HOLDING_SESSION = SB.SID
        AND BW.WAITING_SESSION = SW.SID
        AND SB.PREV_SQL_ADDR = BQ.ADDRESS
        AND SW.SQL_ADDRESS = SQ.ADDRESS ;

  • User Exit not getting triggered

    Dear all,
    we are creating a workflow for PR Release which needed release strategy customization. so we are trying to set the release stratagy by changing the communciation structure CEBAN-USRC1 field.
    for this, i had done the following things:
    1. SMOD->M06B0005->components->EXIT_SAPLEBND_004->INCLUDE ZXM06U31 (double clicked) wrote few lines of code.
    2. CMOD-> created a proj ZMM_PREL->assigned Enhancement M06B0005 under enhancements tab-> EXIT_SAPLEBND_004-> activated all
    (User exit, project eveything).
    Now my problem is when i create a PR, this user exit does not get triggered at all. I am working on ECC6.0 the same code which i did in Ecc5.0 for my previous client is still working fine.
    Can anyone please guide me where i might have gone wrong?
    Thank you,
    Regards,
    Lakshmi

    Hi,
    HAve u verifiyed that the user-exit u r using is triggered whenever u create ou PR.?
    First of all u have to put breakpoints at each and every user-exits provided for that transaction, then check which user exit is getting triggered when u carete ur PR. and thenafter write ur code in this user-exit only.
    Reward is useful.
    Regards,
    Harsha

  • Retrieving SID (Session Id ) for a Oracle Forms Session

    Hi
    I am using financials after a break of couple of years and things have changed. I am trying to trace a form .So I set trace from the menu.Then I open the form Query , do other activities and close the form.Then I go to the Unix server and examine the Trace file by TKPROF. However the SQL Selects dont appear in the Trace.
    So I am wondering if there is a concept of Session for a Web application(Which is normally stateless). But I understand that the Forms Application runs as an applet in the browser.Does Oracle maintain single session for an EBS login until logout- or does it open a new session whenever you open a form or do a query. I am not exactly sure - I checked some documenation but still am unclear. Also if it is maintaining a connected state how can I determine the session ID SID (So I can query v$session and associated tables for information I am interested in).

    AFAIK, the forms interface maintains the same database session. The database session gets created when you first use the forms interface and gets terminated when you exit the forms interface. Pl see this related thread on how to trace a forms session - Doing a Trace on the ARXADLMT Approval Limits form No Select statement i
    HTH
    Srini

  • Got systemd-logind: failed to get session: when optirun glxgrears

    I installed nvidia and bumblebee, primus.
    When I tried to test optirun, I ran
    optirun glxgrears -info
    Then I got this,
    [ 2376.692764] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) systemd-logind: failed to get session: PID 1540 does not belong to any known session
    [ 2376.692829] [ERROR]Aborting because fallback start is disabled.
    Here is my /var/log/Xorg.8.log ,
    [ 2376.692764] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) systemd-logind: failed to get session: PID 1540 does not belong to any known session
    [ 2376.692829] [ERROR]Aborting because fallback start is disabled.
    [hk@hkpc ~]$ cat /var/log/Xorg.8.log
    [ 2376.682]
    X.Org X Server 1.16.0
    Release Date: 2014-07-16
    [ 2376.682] X Protocol Version 11, Revision 0
    [ 2376.682] Build Operating System: Linux 3.15.5-2-ARCH x86_64
    [ 2376.682] Current Operating System: Linux hkpc 3.15.8-1-ARCH #1 SMP PREEMPT Fri Aug 1 08:51:42 CEST 2014 x86_64
    [ 2376.682] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=669c53af-9ee3-4bbf-b62f-14c76e81da89 rw quiet
    [ 2376.682] Build Date: 31 July 2014 11:53:19AM
    [ 2376.682]
    [ 2376.682] Current version of pixman: 0.32.6
    [ 2376.682] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 2376.682] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 2376.683] (==) Log file: "/var/log/Xorg.8.log", Time: Mon Aug 4 22:39:09 2014
    [ 2376.683] (++) Using config file: "/etc/bumblebee/xorg.conf.nouveau"
    [ 2376.683] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
    [ 2376.683] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [ 2376.683] (==) ServerLayout "Layout0"
    [ 2376.683] (==) No screen section available. Using defaults.
    [ 2376.683] (**) |-->Screen "Default Screen Section" (0)
    [ 2376.683] (**) | |-->Monitor "<default monitor>"
    [ 2376.683] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 2376.683] (**) | |-->Device "DiscreteNvidia"
    [ 2376.683] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 2376.683] (**) Option "AutoAddDevices" "false"
    [ 2376.683] (**) Option "AutoAddGPU" "false"
    [ 2376.683] (**) Not automatically adding devices
    [ 2376.683] (==) Automatically enabling devices
    [ 2376.683] (**) Not automatically adding GPU devices
    [ 2376.683] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 2376.683] Entry deleted from font path.
    [ 2376.683] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    [ 2376.683] Entry deleted from font path.
    [ 2376.683] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 2376.683] Entry deleted from font path.
    [ 2376.683] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 2376.683] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 2376.683] Entry deleted from font path.
    [ 2376.683] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 2376.683] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/
    [ 2376.683] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 2376.683] (==) |-->Input Device "<default pointer>"
    [ 2376.684] (==) |-->Input Device "<default keyboard>"
    [ 2376.684] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
    [ 2376.684] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
    [ 2376.684] (II) Loader magic: 0x818d80
    [ 2376.684] (II) Module ABI versions:
    [ 2376.684] X.Org ANSI C Emulation: 0.4
    [ 2376.684] X.Org Video Driver: 18.0
    [ 2376.684] X.Org XInput driver : 21.0
    [ 2376.684] X.Org Server Extension : 8.0
    [ 2376.685] (EE) systemd-logind: failed to get session: PID 2304 does not belong to any known session
    [ 2376.686] (II) xfree86: Adding drm device (/dev/dri/card1)
    [ 2376.686] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 2376.686] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
    [ 2376.688] (--) PCI:*(0:1:0:0) 10de:0fd4:1558:3700 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
    [ 2376.688] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 2376.688] (II) LoadModule: "glx"
    [ 2376.688] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 2376.690] (II) Module glx: vendor="X.Org Foundation"
    [ 2376.690] compiled for 1.16.0, module version = 1.0.0
    [ 2376.690] ABI class: X.Org Server Extension, version 8.0
    [ 2376.690] (==) AIGLX enabled
    [ 2376.690] (II) LoadModule: "nouveau"
    [ 2376.690] (WW) Warning, couldn't open module nouveau
    [ 2376.690] (II) UnloadModule: "nouveau"
    [ 2376.690] (II) Unloading nouveau
    [ 2376.690] (EE) Failed to load module "nouveau" (module does not exist, 0)
    [ 2376.690] (II) LoadModule: "mouse"
    [ 2376.691] (WW) Warning, couldn't open module mouse
    [ 2376.691] (II) UnloadModule: "mouse"
    [ 2376.691] (II) Unloading mouse
    [ 2376.691] (EE) Failed to load module "mouse" (module does not exist, 0)
    [ 2376.691] (II) LoadModule: "kbd"
    [ 2376.691] (WW) Warning, couldn't open module kbd
    [ 2376.691] (II) UnloadModule: "kbd"
    [ 2376.691] (II) Unloading kbd
    [ 2376.691] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 2376.691] (EE) No drivers available.
    [ 2376.691] (EE)
    Fatal server error:
    [ 2376.691] (EE) no screens found(EE)
    [ 2376.691] (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 2376.691] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
    What should I do?

    barchiesi wrote:
    Oedner wrote:after updating to linux 3.16 i got this error too. using the command without the -info works however.
    Are you sure that it only doesn't work with the '-info'? I see no difference.
    i just tried it a couple of times and it looks like its completely random o.O
    you are right, using it (with or without -info) only works like every third attempt while the others throw the error mentioned by the op. i got that idea because it worked when i tried it. starting nvidia-settings with optirun is the same, error, working, error, working. can't say whats the problem here, i just switched to arch again recently.

Maybe you are looking for

  • Car charging (12V) to Macbook Pro Magsafe 2

    There seems to be numerous discussions (all of them old) about the best way to charge a new Macbook pro (2013 onwards) with magsafe 2 (T connector) in a car. However I cant seem to find the definitive answer or an up to date one. Have a client that n

  • How do i get rid of Mywebsearch which interupts my searches

    This is a tab'd search apparently powered by google, but is a total pain and very much unwanted. I have done as they suggest add/remove mywebsearch but it has not gone. The machine is running windows XP pro

  • How do I put ipod in recovery mode?

    I am locked out of my IPOD touch as my kids put a passcode on it and now I have to connect it to I tunes but I dont understand this all

  • Unable to connect after update to ios 5

    I have recently updated my ipod touch 2nd generation to ios 5. when im connecting to my home network, it finds it ok then all i get is the little spinner next to it. ive checked my iphone and this shows up as a tick and is working fine. everything el

  • QT Pro to wmv export question

    I made a small audio file from QT Pro 7.6. Exported it to wmv format. Works fine, except that the end is clipped off. Seems that I can get the whole thing if I stop recording after a lot of silence at the end. What is the best way to send an audio fi