[Not solved][Sudo/X] Enter key not released after typing password

After upgrade to xserver 1.16 I noticed strange thing - any command I try to run with sudo "hangs" keyboard and mouse. It looks like after typing password and pressing <Enter>, this key is not released.
System is still responsive, for example I can watch youtube, listen to music, there is no high cpu usage, but inputs are blocked.
For example:
sudoedit /etc/whateverrc
opens editor and cursor goes down.
This is not a problem with my keyboard
In tty sudo works fine.
Last edited by n0rv (2014-08-09 19:45:28)

jasonwryan wrote:How do you start X?
startx
What DE/WM?
AwesomeWM, quite old setup.
What is in your journal/logs?
After "hang" X still works, so I need to kill it (alt+sysrq+re) or reboot.
Xorg.log.0.old
[ 5770.071] (II) RADEON(0): Modeline "1680x1050"x0.0 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[ 5770.071] (II) RADEON(0): Modeline "1920x1080"x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
[ 5770.110] (II) systemd-logind: got resume for 13:68
[ 5770.110] (II) systemd-logind: got resume for 13:67
[ 5770.126] (II) systemd-logind: got resume for 13:64
[ 5770.156] (II) systemd-logind: got resume for 13:65
[ 5770.209] (II) systemd-logind: got resume for 13:66
[ 5885.135] (II) systemd-logind: got pause for 226:0
[ 5885.135] (II) systemd-logind: got pause for 13:68
[ 5885.135] (II) systemd-logind: got pause for 13:67
[ 5885.135] (II) systemd-logind: got pause for 13:64
[ 5885.135] (II) systemd-logind: got pause for 13:65
[ 5885.135] (II) systemd-logind: got pause for 13:66
[ 5893.481] (II) evdev: USB Keyboard: Close
[ 5893.481] (II) UnloadModule: "evdev"
[ 5893.481] (II) systemd-logind: releasing fd for 13:66
[ 5893.481] (EE) systemd-logind: failed to release device: Connection is closed
[ 5893.481] (II) evdev: USB Keyboard: Close
[ 5893.481] (II) UnloadModule: "evdev"
[ 5893.481] (II) systemd-logind: releasing fd for 13:65
[ 5893.481] (EE) systemd-logind: failed to release device: Connection is closed
[ 5893.481] (II) evdev: A4Tech PS/2+USB Mouse: Close
[ 5893.481] (II) UnloadModule: "evdev"
[ 5893.481] (II) systemd-logind: releasing fd for 13:64
[ 5893.481] (EE) systemd-logind: failed to release device: Connection is closed
[ 5893.481] (II) evdev: Power Button: Close
[ 5893.481] (II) UnloadModule: "evdev"
[ 5893.481] (II) systemd-logind: releasing fd for 13:67
[ 5893.481] (EE) systemd-logind: failed to release device: Connection is closed
[ 5893.481] (II) evdev: Power Button: Close
[ 5893.481] (II) UnloadModule: "evdev"
[ 5893.481] (II) systemd-logind: releasing fd for 13:68
[ 5893.481] (EE) systemd-logind: failed to release device: Connection is closed
[ 5893.560] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
[ 5893.560] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
[ 5893.560] (EE)
Fatal server error:
[ 5893.560] (EE) xf86CloseConsole: VT_ACTIVATE failed: Input/output error
[ 5893.560] (EE)
[ 5893.560] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 5893.560] (EE) Please also check the log file at "/home/n0rv/.local/share/xorg/Xorg.0.log" for additional information.
[ 5893.560] (EE)
[ 5893.560] (EE)
[ 5893.560] (EE) Backtrace:
[ 5893.613] (EE) 0: /usr/bin/Xorg.bin (xorg_backtrace+0x56) [0x593966]
[ 5893.614] (EE) 1: /usr/bin/Xorg.bin (0x400000+0x197b69) [0x597b69]
[ 5893.614] (EE) 2: /usr/lib/libc.so.6 (0x7f5912809000+0x33df0) [0x7f591283cdf0]
[ 5893.614] (EE)
[ 5893.614] (EE) Segmentation fault at address 0x0
[ 5893.614] (EE)
FatalError re-entered, aborting
[ 5893.614] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 5893.614] (EE)
journalctl:
sie 07 23:15:12 Arch sudo[3368]: n0rv : TTY=pts/1 ; PWD=/home/n0rv ; USER=root ; COMMAND=sudoedit /etc/yaourtrc
sie 07 23:15:12 Arch sudoedit[3368]: pam_unix(sudo:session): session opened for user root by (uid=0)
sie 07 23:15:12 Arch systemd[1]: Starting user-0.slice.
sie 07 23:15:12 Arch systemd[1]: Created slice user-0.slice.
sie 07 23:15:12 Arch systemd[1]: Starting User Manager for UID 0...
sie 07 23:15:12 Arch systemd[3372]: pam_unix(systemd-user:session): session opened for user root by (uid=0)
sie 07 23:15:12 Arch systemd-logind[1230]: New session c2 of user root.
sie 07 23:15:12 Arch systemd[1]: Starting Session c2 of user root.
sie 07 23:15:12 Arch systemd[1]: Started Session c2 of user root.
sie 07 23:15:12 Arch systemd[3372]: Starting -.slice.
sie 07 23:15:12 Arch systemd[3372]: Created slice -.slice.
sie 07 23:15:12 Arch systemd[3372]: Starting D-Bus Message Bus Socket.
sie 07 23:15:12 Arch systemd[3372]: Listening on D-Bus Message Bus Socket.
sie 07 23:15:12 Arch systemd[3372]: Starting Paths.
sie 07 23:15:12 Arch systemd[3372]: Reached target Paths.
sie 07 23:15:12 Arch systemd[3372]: Starting Timers.
sie 07 23:15:12 Arch systemd[3372]: Reached target Timers.
sie 07 23:15:12 Arch systemd[3372]: Starting Sockets.
sie 07 23:15:12 Arch systemd[3372]: Reached target Sockets.
sie 07 23:15:12 Arch systemd[3372]: Starting Basic System.
sie 07 23:15:12 Arch systemd[3372]: Reached target Basic System.
sie 07 23:15:12 Arch systemd[3372]: Starting Default.
sie 07 23:15:12 Arch systemd[3372]: Reached target Default.
sie 07 23:15:12 Arch systemd[3372]: Startup finished in 7ms.
sie 07 23:15:12 Arch systemd[1]: Started User Manager for UID 0.
sie 07 23:15:20 Arch kernel: SysRq : Keyboard mode set to system default
sie 07 23:15:20 Arch systemd-journal[1227]: Journal stopped
sie 07 23:15:21 Arch systemd-journal[3399]: Permanent journal is using 131.6M (max allowed 100.0M, trying to leave 2.9G free of 6.0G available → current limit 131.6M).
sie 07 23:15:21 Arch kernel: SysRq : Terminate All Tasks
sie 07 23:15:21 Arch systemd-journald[1227]: Received SIGTERM.
sie 07 23:15:21 Arch systemd[1]: [email protected] has no holdoff time, scheduling restart.

Similar Messages

  • Enter key not functioning pls i need to resume backing,enter key not function another option pls.

    Enter key not functioning pls i need to resume back,enter key not function another option pls hp mini laptop.

    Hello Damyanology,
    If your enter key is not working but you have to use it, you can bring up the on screen keyboard, and that will allow you to use enter.
    Here is a link to open the on screen keyboard.
    Go into device manager and uninstall the keyboard and restart the computer. This should reinstall the driver to correct the problem.
    Here is a link to uninstall in device manager.
    Let me know if this helps.

  • Enter key not working in forms 10g

    Hi guys,
    Enter key to select a form is not working
    on my application.
    I have to double click the form to open it using the mouse.
    Then if we try to exit we have to press exit that many number of times as we have pressed enter key.
    So it seems to be storing the key processes.
    We are using forms 10g.
    Please help.
    Thanks and Regards,
    Rohan

    Fixed.
    Changed KB.
    However, this is still strange as the old KB was working fine in other applications.

  • Arrow keys and enter key not functioning in Firefox 3.6 when viewing PDF

    I'm using Adobe Reader 9.3.0.
    I have a web application that displays PDFs (using Adobe Reader) in a browser.  The PDF is loaded onto the page inside an IFRAME.  In addition to the IFRAME containing a PDF, the page also includes several forms, text fields, etc. For the most part this is working fine.  However, I have a glitch when using this in Firefox 3.6. I'm finding that certain keyboard events are being lost and I strongly suspect that they are being swallowed by Adobe Reader.  When I place focus on an HTML text field and press enter key or arrow keys, I do not get the appropriate key events.  If I run the exact same test without the PDF IFRAME these key events work correctly, but as soon as I load the PDF into the IFRAME they do not.  I believe the primary key event that gets lost is the keydown event.  I do get the keyup event.
    Again, the events work correctly up until I load the PDF onto the page.
    I've verified that this error does not occur in Firefox 3.5 and 3.0.
    Here is a testcase to reproduce this:
    <html>
    <head>
        <title>JavaScript - Detecting keystrokes</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <script type="text/javascript">
            var pdfURL = 'http://samplepdf.com/sample.pdf';
            window.onload = function () {
                init();
            document.defaultAction = true;
            function init() {
                var x = document.getElementById('testForm').getElementsByTagName('input');
                for (var i=0;i<x.length;i++) {
                    x[i].onclick = setEvents;
                    if (x[i].checked)
                        x[i].onclick();
                writeroot = document.getElementById('writeroot');
                document.getElementById('emptyWriteroot').onclick = function () {
                    writeroot.innerHTML = '';
                    return false;
            function setEvents() {
                if (this.id == 'default') {
                    document.defaultAction = !this.checked;
                    return;
                var eventHandler = (this.checked) ? detectEvent : empty;
                document.getElementById('textfield')['on'+this.id] = eventHandler;
                //document['on'+this.id] = eventHandler;
            function detectEvent(e) {
                var evt = e || window.event;
                writeData('<b>'+evt.type+'</b>:  keyCode=' + evt.keyCode+' : charCode=' + evt.charCode);
                return document.defaultAction;
            function empty() {
                // nothing
            var writeroot;
            function writeData(msg) {
                writeroot.innerHTML += msg + '<br />';
        </script>
        <style type="text/css">
            body {
                font-size: 12px;
            #writeroot {
                height: 300px;
                overflow: auto;
                border: 1px solid #2EB2DC;
        </style>
    </head>
    <body>
    <form id="testForm">
    <input type="checkbox" id="keydown" /> <label for="keydown">keydown</label><br />
    <input type="checkbox" id="keypress" /> <label for="keypress">keypress</label><br />
    <input type="checkbox" id="keyup" /> <label for="keyup">keyup</label><br />
    <input type="checkbox" id="default" /> <label for="default">Suppress default action</label><br />
    <input type="text" id="textfield" /><br />
    <button id="emptyWriteroot">Remove messages</button>
    </form>
    <a href="#" onclick="document.getElementById('docviewer-page').src=pdfURL;return false">Now load IFrame</a>
    <p id="writeroot"></p>
    <div id="container2" style="border:1px solid black;width:400px;height:200px">
            <iframe
                id='docviewer-page'
                name='docviewer-page'
                title='document page'
                src='http://www.google.com'
                align='left'
                width='100%'
                height='100%'
                scrolling='auto'
                frameborder=0></iframe>
    </div>
    </body>
    </html>
    Paste the above into an HTML document.  Open the HTML document in Firefox 3.6.  Check the four checkboxes.  Move into the text field and press arrow keys and enter key to observe the results when it is working correctly.  Then click on the "Now Load PDF" link.  Press the arrow keys and enter key again and observe that the behavior has changed.
    Anybody have any idea why this is happening or how to work around it?

    I found a workaround!
    By using an object tag instead of an iframe, all the keys seems to work fine and the PDF still renders in the page the same way.
    Here's a page that works:
    <html>
    <head>
        <title>JavaScript - Detecting keystrokes</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <script type="text/javascript">
            var pdfURL = 'http://samplepdf.com/sample.pdf';
            window.onload = function () {
                init();
            document.defaultAction = true;
            function init() {
                var x = document.getElementById('testForm').getElementsByTagName('input');
                for (var i=0;i<x.length;i++) {
                    x[i].onclick = setEvents;
                    if (x[i].checked)
                        x[i].onclick();
                writeroot = document.getElementById('writeroot');
                document.getElementById('emptyWriteroot').onclick = function () {
                    writeroot.innerHTML = '';
                    return false;
            function setEvents() {
                if (this.id == 'default') {
                    document.defaultAction = !this.checked;
                    return;
                var eventHandler = (this.checked) ? detectEvent : empty;
                document.getElementById('textfield')['on'+this.id] = eventHandler;
                //document['on'+this.id] = eventHandler;
            function detectEvent(e) {
                var evt = e || window.event;
                writeData('<b>'+evt.type+'</b>:  keyCode=' + evt.keyCode+' : charCode=' + evt.charCode);
                return document.defaultAction;
            function empty() {
                // nothing
            var writeroot;
            function writeData(msg) {
                writeroot.innerHTML += msg + '<br />';
        </script>
        <style type="text/css">
            body {
                font-size: 12px;
            #writeroot {
                height: 300px;
                overflow: auto;
                border: 1px solid #2EB2DC;
        </style>
    </head>
    <body>
    <form id="testForm">
    <input type="checkbox" id="keydown" /> <label for="keydown">keydown</label><br />
    <input type="checkbox" id="keypress" /> <label for="keypress">keypress</label><br />
    <input type="checkbox" id="keyup" /> <label for="keyup">keyup</label><br />
    <input type="checkbox" id="default" /> <label for="default">Suppress default action</label><br />
    <input type="text" id="textfield" /><br />
    <button id="emptyWriteroot">Remove messages</button>
    </form>
    <a href="#" onclick="document.getElementById('docviewer-page').data=pdfURL;return false">Now load IFrame</a>
    <p id="writeroot"></p>
    <div id="container2" style="border:1px solid black;width:400px;height:200px">
            <object
                id='docviewer-page'
                name='docviewer-page'
                title='document page'
                data='http://www.google.com'
                align='left'
                width='100%'
                height='100%'
                ></object>
    </div>
    </body>
    </html>

  • Address not completed when pressing enter key (address field)

    In older versions of TB you could type the beginning (two or thress chars) of an email address and then enter. TB would autocomplete this our with the help of your address book.
    Nowadays (31.4.0) there is no auto completion when you press enter. Instead you have to type some chars and wait till Thunderbird makes a suggestion and then you can press enter. That means an annoying delay.
    I would be glad if there would be a fix that enables the enter key again so that it forces an autocomplete action in the address bar.

    Hi,
    I am not sure what after submit processes you have for this page, but if the page was generated with the forms wizard you will have Process Row of <table> process conditional on a SAVE request and a unconditional branch to take you to the previous page.
    What is happening is that the page processing skips the Process Row because it is not a SAVE request and then branches to the previous page.
    I would try creating another after submit process creating a "auto row processing" data manipulation process to update the row conditional on Request=Expression 1 where expression1 is the name of your page item.
    If you do not want the page to branch to the previous page create another page branch to the current page before the unconditional branch using the same condition.

  • Enter Key not working with Safari

    I have to use the return key for searches-the enter key is not working.
    I use Safari 5.1.7
    OS 10.6.8
    Is there I way to correct this.
    Thank you

    Obviously you are using a full wired keyboard. I am using a wireless Apple keyboard where the "Return" and "Enter" key are the same. Your keyboard is working properly as designed. You might want to take that giant chip off your shoulder if you want help in this forum.

  • Enter Key - not working in URL bar

    Since the last update to FF 31 (Ubuntu 14.04 64 bit), the ENTER key has stoped working -> when typing web adress in URL bar. Hitting ENter does nothing, as well as the GO arrow (nothing as well).
    All other applications are fine, only FF is not registering the input.
    I did not install new addons, so plese don't tell me to reset.
    It was fine yesterday, is wrong today after update.
    Don't blame addons for something that is not related to this.
    Thanks.

    Fixed.
    Changed KB.
    However, this is still strange as the old KB was working fine in other applications.

  • Dolphin enter key not wokring

    I am using KDE4/ Recently upgraded.
    I am trying to browse the files through keyboard in the dolphin, when I hit enter on a folder which is selected it does not open and show its contents. But when I use mouse and double click it works.
    Why the keyboard enter command is failing in dolphin.
    This is a problem mainly in the mac type view. In detailed view the enter key works and shows the files in that folder.
    Also the enter key cannot open any file also.
    I have also tested this on my friends computer. Its the same behavior
    Can some one tell what can I do

    Hello
    This is a bug in the "columns view" kpart, please report it on the KDE bugtracker [http://bugs.kde.org] or using the "Help > Report bug" menu.
    Bugs happen, it's life
    Cheers

  • Enter key not working in Safari

    I tried aqsking this question on the Safari board but no helpful answers.
    The enter key on the full size keyboard is no longer functioning in Safari. The return key is working.
    I am using Safari 5.1.7. OS 10.6.8.
    Any suggestions on how this can be corrected. Thank you in advance.

    Very odd. Do you have another keyboard you can test with? We should isolate this to either that keyboard or the computer.

  • Keyboard letters mixed up, enter key not working - early '11 MacBook Pro

    I have an early 2011 MacBook Pro. The keyboard randomly stopped functioning correctly, some keys didn't work at all and others would type in different symbols that I've never seen before. I reset the language it seems to have fixed most of the problems (5 keys weren't working but now they all are). The Enter key inserts a hyphen instead of its normal function and certain keys will still type in random letters. If I press shift and the ENTER key it now puts an underscore instead of a hyphen. The question mark slash button also puts a hyphen or an underscore, as does the original hyphen button. The  plus sign and equal sign button now puts a square bracket, etc. You get the idea. I have already reset the PRAM, but the problem still persists. Approximately how much would somethin© like this cost to ©ix (© replaced the f and ©©©© keys now). f and ©©© keys now.

    Try using a usb or wireless keyboard to verify that your built-in keyboard needs repair/replacement.
    I don't see how anyone here could give you a price for that, these are user/user help forums.  Take it to an Apple service facility.

  • How to fix the enter key not opening sites in the URL box?

    Ever since the update to 10.0.1 pressing enter to open a site in the URL entry box doesn't work. Anyone know why? I have to click the arrow key to the side of the URL pannel, and enter key works as normally everywhere.
    It is INCREDIBLY annoying.

    Try disable "AVG Safe Search", that should work.

  • Keyboard & enter key not working

    My Apple keyboard started giving my problems yesterday, out of the blue. The "enter" key doesn't work and some numbers don't work.
    I'm using a Power Mac OS X 10.4.9
    The only changes I made was to recently update I Tunes software. Is there something I need to reset?

    Anyone have any clues??
    As the day goes on, I'm having less and less access to keys. Now my arrow keys (up, down, left & right) aren't working. It's spreading!!
    Please someone help. I'm a graphic designer running on a tight deadline.

  • Changing Enter key (not Return key) to Option?

    I'm left-handed and I use the Illustrator as my main application. I am constantly using the option key in combination with the track pad. Unfortunately, the Option key is on the left side only of MBP's keyboard which causes me to have to contort into impossible, and counter-productive, positions. Can I some how re-map the Enter key to be an Option key like on my G5's keyboard?

    Hi Billy,
    Double Command is great as you seem to already found out. If you have selected 'System' for your remap, make sure that you disable it before OS software updates, i.e. 10.4.8 etc.
    See my Cautionary Tale!
    Have fun!
    Adrian

  • Enter Key Not Working When Using Text Tool

    For some reason, my enter key has stopped working when using the text tool.  Instead of making a soft return to a new line, it simply commits the type. What is going on here?
    I'm using a desktop and CS3.

    there are 2 enter keys in key board
    if u enter main key board enter, sentence will go to next line
    In case u enter the key  available in  rightside of the key board , in the cluster of numericals, the type tool is committed.

  • Enter key not producing hard returns

    Suddenly, my enter key is producing soft returns instead of hard returns. After trying to fix it for hours, I found out that hard returns are produced only with the alt+enter keys. Somehow they are reversed. What can I do?

    To enable the enter key one uses shift+return and that gives you a soft return. If you want a hard return just press the return key.

Maybe you are looking for

  • Issue in populating the dynamic internal table  in SMARTFORMS

    Hi Experts, My requirement is I have a table in the below format. Measuring Point Description of Measuring Point UOM Date Time Reading 96 POWER GENERATED kwh 20140501 101837 1.00E+04 96 POWER GENERATED kwh 20140502 102220 1.00E+04 96 POWER GENERATED

  • Regarding Landed Cost

    Dear All, We are trying to manage freight and additional charges involved in Inter Branch Stock Transfer. Our Inventory Valuation is managed by Moving Average. For example We have 4 branches have their own Sales & Purchase where sometimes we have to

  • Small network

    Probably not the best place for this post, but probably where I'll find the best people to answer my question. The problem... I wish to set up a very small network to use a printer and external drive with a wireless MacBook. without spending too much

  • INCO2 in Service PO

    Hi, Do anyone  know , why "INCO2"  field at line item is hidden in case of Service PO (i.e. item category D)? Is there any way to open this field by Configuration or other means? Thanks in Advance. Rahul Mandale

  • Excel 2010 error when opening excel file

    Getting error "excel can not open the file xlsx because the file format or extension is not valid"