Shift cipher decoder

I am trying to make a shift cipher decoder.
It should read in a encoded sentence, pick one word (I decided to go with the first word for now), and execute the shift process, and output all the combinations, then check against a dictionary to find all the valid words.
But for now, I am only working on the 1st case of the the algorithm, a to b, b to c etc. The other cases I plan to implement with a for loop. but that is neither here nor now. I am also ignoring the dictionary right now.
What I have is below:
import java.util.*;
import java.lang.*;
* Write a description of class ShiftCypher here.
* @author (your name)
* @version (a version number or a date)
public class ShiftCypher
    // instance variables - replace the example below with your own
    private String s;
    //private ArrayList< Character > sentence;
    //private char letters;
     * Constructor for objects of class ShiftCypher
    public ShiftCypher(String input)
        s=input;
     * split the string into each characters
     * @param  string s
     * @return     NA
    public void splitString ()
         //sentence = new ArrayList<Character>();
         String [] temp = null;
         temp=s.split(" ");
         //return s.toCharArray();
         dump(temp);
         shiftMachine(temp);
     * dump the temp string
    private void dump (String [] args) {
        System.out.println("-----------------------");
        for (int i=0; i<args.length; i++) {
            System.out.println(args);
System.out.println("-----------------------");
* gets the first word for shifting
* testing method to make sure it works
private void getFirstWord (String [] args) {
char letters [] = args[0].toCharArray();
for (int i=0; i<letters.length; i++) {
System.out.println(letters[i]);
private void shiftMachine (String [] args) {
int i;
char letters [] = args[0].toCharArray();
for (i=0; i<letters.length; i++){
letters[i]=letters[i]+1;
The idea is to shift the letters up by one, so a to b, b to c. I am assuming all lower cases. and all input will be chars.
My problem is with the shiftMachine method. The line where it says
letters=letters[i]+1
gives an error saying possible loss of precision. how do I fix that?
Thank you for your help
Davy
Edited by: Davy_Zou on 3-May-2008 6:28 AM

Yes, I did compile it. The shiftMachine method is the only thing I changed.
private void shiftMachine (String [] args) {
        int i,j;
        char letters [] = args[0].toCharArray();
            for (i=0; i<letters.length; i++){
                letters= (char)letters[i]+1;
ignore the integer j for now, it was for something else.  But as you can see, the only difference is the type casting I added. Yet I will get an error message about loss of precision.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Form Select with additional menus on call

    I'm trying to figure out if Spry does this example where you
    start with a drop down menu for a topic and if you want to add
    another version of the same menu, you just click a '+' button and
    it adds another field like a repeat region and keeps doing so as
    long as you want to add more fields. I've seen it done in Ajax but
    not in Spry. Anyone do this yet?
    The idea is that I have a client who is a photographer and
    he's got an order form with 25 of the exact same field with two
    text input area on the left and a pull down on the right and it
    would be so much cleaner to just have one and if the person making
    the order wants to add more of the same areas or div's he can just
    click a button and add more of the same fields.

    very helpful....
    I saw that maybe my code wasn't java.... hence the posting in "new to java!" :)
    Here is the code where my problem originated
    original
    <script type="text/javascript">
              coded = "[email protected]"
                   cipher = "aZbYcXdWeVfUgThSiRjQkPlOmNnMoLpKqJrIsHtGuFvEwDxCyBzA1234567890"
                   shift=coded.length
                   link=""
                   for (i=0; i<coded.length; i++){
                        if (cipher.indexOf(coded.charAt(i))==-1){
                             ltr=coded.charAt(i)
                             link+=(ltr)
                        else {    
                             ltr = (cipher.indexOf(coded.charAt(i))-shift+cipher.length) % cipher.length
                             link+=(cipher.charAt(ltr))
    function get2(id) {
                   proj = document.getElementById(id).value;
                   if (proj == 'contact')
                        location.href = 'mail\u0074o\u003a'+link;
                   else
                        location.href = proj;
         </script>+
    <select name="url" class="sel" id="select" onChange="get2('select')">
               <option value="image-1" >1</option>
            <option value="image-2" >2</option>
            <option value="image-3" >3</option>
        </select>

  • Problems with decryption cipher

    hayah guyz can yah fellas help out a bro?
    i got me cipher not decrpyting strings!
    i can encrpt strings but the decrypt wont work?
    im trying to set it so that the user types a string and presses the decrypt button, it will which checks the string to see if its encypted and start to decrpyt it.
    yeah i know u can type -n (number) and it will do it!
    //     (n) encrypts and (-n_ decrypts)
    import java.awt.*;
    import java.awt.event.*;
    // Java extension packages
    import javax.swing.*;
        public class cipher extends JFrame {
        private JTextArea textArea1, textArea2;
        private JButton copyButton;
        private JTextField textField1;
        // set up GUI
        public cipher()
            // super( "TextArea Demo" );
            Container container = getContentPane();
            container.setLayout( new FlowLayout() );
            String string = "attack at dawn";
            // set up textArea1
            textArea1 = new JTextArea( string, 10, 15 );
            container.add( new JScrollPane( textArea1 ) );
            textField1 = new JTextField ("Enter shift");
            // set up copyButton
            copyButton = new JButton( "Encrypt!" );
                  copyButton.addActionListener (
            // anonymous inner class to handle copyB
            //     utton event
                new ActionListener() {
                // set text in textArea2 to selected
                // text from textArea1
                public void actionPerformed( ActionEvent event )
                                    String cText = "";
                                    String plainText = textArea1.getText();
                                              // prepare plaintext for encryption
                                              for ( int i = 0; i < plainText.length(); i++ )
                                                       if ( plainText.charAt ( i ) != ' ' )
                                                                cText = cText + plainText.charAt ( i );
                                                      plainText = cText;
                                                      cText = "";
                                                      for ( int i = 0; i < plainText.length(); i++ ) // do whole string
                                                               cText = cText + ( char ) ( ( plainText.charAt ( i ) + Integer.parseInt(textField1.getText())) % 256 );
                                textArea2.setText( cText );
                        } // end anonymous inner class
                        ); // end call to addActionListener
                        container.add( copyButton );
                        container.add(textField1);
                        // set up textArea2
                        textArea2 = new JTextArea( 10, 15 );
                        textArea2.setEditable( false );
                        container.add( new JScrollPane( textArea2 ) );
                        setSize( 215, 415);
                        setVisible( true );
                    // execute application
                    public static void main( String args[] )
                        cipher application = new cipher();
                        application.setDefaultCloseOperation(
                        JFrame.EXIT_ON_CLOSE );
    [\code]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I wrote this as a demo program some time back - you're welcome to steal ideas form it;-import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import sun.misc.*;
    public class EncryptDemo extends JFrame implements ActionListener {
       JButton Encrypted, Decrypted;
       JTextArea text;
       String theText = "";
    public EncryptDemo(){
       super("Encryption - Decryption App:");
       JPanel pan = new JPanel();
       pan.setBorder(BorderFactory.createEtchedBorder());
       pan.setLayout(new FlowLayout() );
       text  = new JTextArea(10,25);
       text.setBorder(BorderFactory.createTitledBorder
                     (BorderFactory.createEtchedBorder(),"Add text below:",2,2));
       text.setLineWrap(true);
       Encrypted = new JButton("ENCRYPT:");
       Encrypted.addActionListener(this);
       Encrypted.setForeground(Color.white);
       Encrypted.setBackground(Color.darkGray);
       Decrypted = new JButton("DECRYPT:");
       Decrypted.setForeground(Color.white);
       Decrypted.setBackground(Color.darkGray);
       Decrypted.addActionListener(this);
       pan.add(new JScrollPane(text));
       pan.add(Encrypted);
       pan.add(Decrypted);
       getContentPane().add(pan);
    public void actionPerformed(ActionEvent evt) {
      String command = evt.getActionCommand();
       if (command.equals("ENCRYPT:")) {   
          theText = Encrypt(text.getText() );
          try {
             writeToFile();
          catch(Exception e){}
       text.setText("data encrypted");
       if (command.equals("DECRYPT:")) {
          try {
             getFromFile();
          catch(Exception e){System.out.print(e); }
       theText = Decrypt(theText);
       text.setText(theText);
    }  // event
       public void writeToFile() throws Exception {
          BufferedWriter out = new BufferedWriter(new FileWriter("junk.txt"));
            out.write(theText);
          out.close();
       public void getFromFile() throws Exception{
          int reader = 0;
          theText = "";
          FileReader in = new FileReader("junk.txt");
             do {
                reader = in.read();
                theText += (char)reader;
             }  while (reader != -1);
          in.close();
    public static void main(String[] args){
       EncryptDemo edem = new EncryptDemo();
       edem.setDefaultCloseOperation( EXIT_ON_CLOSE );
       edem.setLocation(200, 150);
       edem.setSize(320,240);
       edem.setVisible(true);
        public static String Encrypt(String theText){
           BASE64Encoder code = new BASE64Encoder();
           byte []temp = theText.getBytes();
           String str = "";
           try {
              str = code.encodeBuffer(temp);
           catch(Exception e){ }
        return str;
        public static String Decrypt(String theText){
           String str = "";
           BASE64Decoder decoder = new BASE64Decoder();
           try {
              str = new String(decoder.decodeBuffer(theText) );
           catch(Exception e){ }
        return str;
    }

  • How can i use this expression in DECODE function?

    My PNO table formart is
    PNO PDate PCount
    P001 08/27/05 09:45 20
    P001 08/27/05 09:50 10
    P002 08/27/05 03:40 20
    P003 08/28/05 11:00 20
    P003 09/28/05 10:00 20
    P003 08/27/05 11:00 10
    P003 09/27/05 04:00 50
    I want to display total pcount for shift1(morning) and shift2(evening) & the date is 08/27/05
    PNO Shift1(08/27/2005 08:00 to 12:30) Shift2(08/27/2005 02:00 to 05:30)
    P001 30 0
    P002 0 20
    P004 10 50
    So for shift1 condition is:
    pdate>=08/27/2005 08:00 and pdate<=08/27/2005 12:30
    So for shift2 condition is:
    pdate>=08/27/2005 02:00 and pdate<=08/27/2005 05:30
    If i tried to give this expression in decode function , its not working.
    Please give me the sql query to solve this problem.
    Millions of thanks in advacne

    forgot to paste the output for a given date.
    SQL> create table pno
      2  (pno    varchar2(32)
      3  ,pdate  date
      4  ,pcount number)
      5  /
    Table created.
    SQL>
    SQL> insert into pno values('P001', to_Date('08/27/05 09:45', 'mm/dd/yy hh:mi') ,20)
      2  /
    1 row created.
    SQL> insert into pno values('P001', to_Date('08/27/05 09:50', 'mm/dd/yy hh:mi') ,10)
      2  /
    1 row created.
    SQL> insert into pno values('P002', to_Date('08/27/05 03:40', 'mm/dd/yy hh:mi') ,20)
      2  /
    1 row created.
    SQL>
    SQL> insert into pno values('P003', to_Date('08/28/05 11:00', 'mm/dd/yy hh:mi') ,20)
      2  /
    1 row created.
    SQL> insert into pno values('P003', to_Date('09/28/05 10:00', 'mm/dd/yy hh:mi') ,20)
      2  /
    1 row created.
    SQL> insert into pno values('P003', to_Date('08/27/05 11:00', 'mm/dd/yy hh:mi') ,10)
      2  /
    1 row created.
    SQL> insert into pno values('P003', to_Date('09/27/05 04:00', 'mm/dd/yy hh:mi') ,50)
      2  /
    1 row created.
    SQL> select pno,sum(pcount) "Morning Shift Count"
      2  from pno
      3  where to_char(pdate, 'mm/dd/yyyy hh:mi') >= '08/27/2005 08:00'
      4    and to_char(pdate, 'mm/dd/yyyy hh:mi') <='08/27/2005 12:30'
      5  group by pno
      6  /
    PNO                              Morning Shift Count                           
    P001                                              30                           
    P003                                              10                           
    SQL> select pno,sum(pcount) "Evening Shift Count"
      2  from pno
      3  where to_char(pdate, 'mm/dd/yyyy hh:mi') >= '08/27/2005 02:00'
      4    and to_char(pdate, 'mm/dd/yyyy hh:mi') <='08/27/2005 05:30'
      5  group by pno
      6  /
    PNO                              Evening Shift Count                           
    P002                                              20                           

  • Cannot decrypt RSA encrypted text : due to : input too large for RSA cipher

    Hi,
    I am in a fix trying to decrypt this RSA encrypted String ... plzz help
    I have the encrypted text as a String.
    This is what I do to decrypt it using the Private key
    - Determine the block size of the Cipher object
    - Get the array of bytes from the String
    - Find out how many block sized partitions I have in the array
    - Encrypt the exact block sized partitions using update() method
    - Ok, now its easy to find out how many bytes remain (using % operator)
    - If the remaining bytes is 0 then simply call the 'doFinal()'
    i.e. the one which returns an array of bytes and takes no args
    - If the remaining bytes is not zero then call the
    'doFinal(byte [] input, int offset, in inputLen)' method for the
    bytes which actually remained
    However, this doesnt work. This is making me go really crazy.
    Can anyone point out whats wrong ? Plzz
    Here is the (childish) code
    Cipher rsaDecipher = null;
    //The initialization stuff for rsaDecipher
    //The rsaDecipher Cipher is using 256 bit keys
    //I havent specified anything regarding padding
    //And, I am using BouncyCastle
    String encryptedString;
    // read in the string from the network
    // this string is encrypted using an RSA public key generated earlier
    // I have to decrypt this string using the corresponding Private key
    byte [] input = encryptedString.getBytes();
    int blockSize = rsaDecipher.getBlockSize();
    int outputSize = rsaDecipher.getOutputSize(blockSize);
    byte [] output = new byte[outputSize];
    int numBlockSizedPartitions = input.length / blockSize;
    int numRemainingBytes = input.length % blockSize;
    boolean hasRemainingBytes = false;
    if (numRemainingBytes > 0)
      hasRemainingBytes = true;
    int offset = 0;
    int inputLen = blockSize;
    StringBuffer buf = new StringBuffer();
    for (int i = 0; i < numBlockSizedPartitions; i++) {
      output = rsaDecipher.update(input, offset, blockSize);
      offset += blockSize;
      buf.append(new String(output));
    if (hasRemainingBytes) {
      //This is excatly where I get the "input too large for RSA cipher"
      //Which is suffixed with ArrayIndexOutofBounds
      output = rsaDecipher.doFinal(input,offset,numRemainingBytes);
    } else {
      output = rsaDecipher.doFinal();
    buf.append(new String(output));
    //After having reached till here, will it be wrong if I assumed that I
    //have the properly decrypted string ???

    Hi,
    I am in a fix trying to decrypt this RSA encrypted
    String ... plzz helpYou're already broken at this point.
    Repeat after me: ciphertext CANNOT be safely represented as a String. Strings have internal structure - if you hand ciphertext to the new String(byte[]) constructor, it will eat your ciphertext and leave you with garbage. Said garbage will fail to decrypt in a variety of puzzling fashions.
    If you want to transmit ciphertext as a String, you need to use something like Base64 to encode the raw bytes. Then, on the receiving side, you must Base64-DEcode back into bytes, and then decrypt the resulting byte[].
    Second - using RSA as a general-purpose cipher is a bad idea. Don't do that. It's slow (on the order of 100x slower than the slowest symmetric cipher). It has a HUGE block size (governed by the keysize). And it's subject to attack if used as a stream-cipher (IIRC - I can no longer find the reference for that, so take it with a grain of salt...) Standard practice is to use RSA only to encrypt a generated key for some symmetric algorithm (like, say, AES), and use that key as a session-key.
    At any rate - the code you posted is broken before you get to this line:byte [] input = encryptedString.getBytes();Go back to the encrypting and and make it stop treating your ciphertext as a String.
    Grant

  • External monitor shifted to the right

    i just got an external monitor (acer v223W) which support max resolution of 1680x1050. but when i try and use xrandr like:
    xrandr --output LVDS1 --mode 1440x900 --output VGA1 --mode 1680x1050 --right-of LVDS1
    what i see is shifted by about 100px or so to the left. so on my right had side i have a black bar and when i move a window from my external monitor to my laptop i can tell that the window disappears for a bit before staring to show up on my laptop. before i had a different monitor with max resolution of 1600x900 and xrandr worked great.
    here is the info that i gathered:
    - my laptop is (almost) up to date on all software
    - it has two video cards: intel (which is the one i use) and nvidea (i disabled it in bios).
    - i have intel video drivers installed:
    : pacman -Qs intel
    local/intel-dri 7.10.2-2
    Mesa DRI drivers for Intel
    local/xf86-video-intel 2.15.0-1 (xorg-drivers xorg)
    X.org Intel i810/i830/i915/945G/G965+ video drivers
    - here is what xrandr says
    : xrandr -q
    Screen 0: minimum 320 x 200, current 3120 x 1050, maximum 8192 x 8192
    LVDS1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 304mm x 190mm
    1440x900 60.3*+ 50.1
    1024x768 60.0
    800x600 60.3 56.2
    640x480 59.9
    VGA1 connected 1680x1050+1440+0 (normal left inverted right x axis y axis) 473mm x 296mm
    1680x1050 60.0*+
    1600x1200 60.0
    1280x1024 75.0 60.0
    1440x900 75.0 59.9
    1280x800 59.8
    1152x864 75.0
    1024x768 75.1 70.1 60.0
    832x624 74.6
    800x600 72.2 75.0 60.3 56.2
    640x480 72.8 75.0 66.7 60.0
    720x400 70.1
    DP1 disconnected (normal left inverted right x axis y axis)
    - here is the Xorg log
    : cat /var/log/Xorg.0.log
    [ 120.021]
    X.Org X Server 1.10.1
    Release Date: 2011-04-15
    [ 120.021] X Protocol Version 11, Revision 0
    [ 120.021] Build Operating System: Linux 2.6.38-ARCH x86_64
    [ 120.021] Current Operating System: Linux jss-lenovo-105 2.6.38-ARCH #1 SMP PREEMPT Fri Apr 22 20:29:33 CEST 2011 x86_64
    [ 120.021] Kernel command line: root=/dev/disk/by-uuid/ad7e26d2-8144-4d4c-9c60-df4f7fcceda7 ro
    [ 120.021] Build Date: 16 April 2011 12:02:01PM
    [ 120.021]
    [ 120.021] Current version of pixman: 0.20.2
    [ 120.021] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 120.021] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 120.022] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 16 11:44:46 2011
    [ 120.111] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 120.130] (==) No Layout section. Using the first Screen section.
    [ 120.130] (==) No screen section available. Using defaults.
    [ 120.130] (**) |-->Screen "Default Screen Section" (0)
    [ 120.130] (**) | |-->Monitor "<default monitor>"
    [ 120.130] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 120.130] (==) Automatically adding devices
    [ 120.130] (==) Automatically enabling devices
    [ 120.180] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 120.180] Entry deleted from font path.
    [ 120.213] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
    [ 120.213] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 120.213] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 120.213] (II) Loader magic: 0x7d6fa0
    [ 120.213] (II) Module ABI versions:
    [ 120.213] X.Org ANSI C Emulation: 0.4
    [ 120.213] X.Org Video Driver: 10.0
    [ 120.213] X.Org XInput driver : 12.2
    [ 120.213] X.Org Server Extension : 5.0
    [ 120.214] (--) PCI:*(0:0:2:0) 8086:2a42:17aa:2112 rev 7, Mem @ 0xf4400000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
    [ 120.214] (--) PCI: (0:0:2:1) 8086:2a43:17aa:2112 rev 7, Mem @ 0xf4200000/1048576
    [ 120.215] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 120.215] (II) LoadModule: "extmod"
    [ 120.229] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 120.235] (II) Module extmod: vendor="X.Org Foundation"
    [ 120.235] compiled for 1.10.1, module version = 1.0.0
    [ 120.235] Module class: X.Org Server Extension
    [ 120.235] ABI class: X.Org Server Extension, version 5.0
    [ 120.235] (II) Loading extension MIT-SCREEN-SAVER
    [ 120.235] (II) Loading extension XFree86-VidModeExtension
    [ 120.235] (II) Loading extension XFree86-DGA
    [ 120.235] (II) Loading extension DPMS
    [ 120.235] (II) Loading extension XVideo
    [ 120.235] (II) Loading extension XVideo-MotionCompensation
    [ 120.235] (II) Loading extension X-Resource
    [ 120.235] (II) LoadModule: "dbe"
    [ 120.236] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 120.236] (II) Module dbe: vendor="X.Org Foundation"
    [ 120.236] compiled for 1.10.1, module version = 1.0.0
    [ 120.236] Module class: X.Org Server Extension
    [ 120.236] ABI class: X.Org Server Extension, version 5.0
    [ 120.236] (II) Loading extension DOUBLE-BUFFER
    [ 120.236] (II) LoadModule: "glx"
    [ 120.236] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 120.247] (II) Module glx: vendor="X.Org Foundation"
    [ 120.247] compiled for 1.10.1, module version = 1.0.0
    [ 120.247] ABI class: X.Org Server Extension, version 5.0
    [ 120.247] (==) AIGLX enabled
    [ 120.247] (II) Loading extension GLX
    [ 120.250] (II) LoadModule: "record"
    [ 120.250] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 120.250] (II) Module record: vendor="X.Org Foundation"
    [ 120.250] compiled for 1.10.1, module version = 1.13.0
    [ 120.250] Module class: X.Org Server Extension
    [ 120.250] ABI class: X.Org Server Extension, version 5.0
    [ 120.251] (II) Loading extension RECORD
    [ 120.251] (II) LoadModule: "dri"
    [ 120.251] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 120.269] (II) Module dri: vendor="X.Org Foundation"
    [ 120.269] compiled for 1.10.1, module version = 1.0.0
    [ 120.269] ABI class: X.Org Server Extension, version 5.0
    [ 120.269] (II) Loading extension XFree86-DRI
    [ 120.269] (II) LoadModule: "dri2"
    [ 120.269] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 120.270] (II) Module dri2: vendor="X.Org Foundation"
    [ 120.270] compiled for 1.10.1, module version = 1.2.0
    [ 120.270] ABI class: X.Org Server Extension, version 5.0
    [ 120.270] (II) Loading extension DRI2
    [ 120.270] (==) Matched intel as autoconfigured driver 0
    [ 120.270] (==) Matched vesa as autoconfigured driver 1
    [ 120.270] (==) Matched fbdev as autoconfigured driver 2
    [ 120.270] (==) Assigned the driver to the xf86ConfigLayout
    [ 120.270] (II) LoadModule: "intel"
    [ 120.279] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 120.299] (II) Module intel: vendor="X.Org Foundation"
    [ 120.299] compiled for 1.10.0.902, module version = 2.15.0
    [ 120.299] Module class: X.Org Video Driver
    [ 120.299] ABI class: X.Org Video Driver, version 10.0
    [ 120.299] (II) LoadModule: "vesa"
    [ 120.299] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
    [ 120.300] (II) Module vesa: vendor="X.Org Foundation"
    [ 120.300] compiled for 1.10.0, module version = 2.3.0
    [ 120.300] Module class: X.Org Video Driver
    [ 120.300] ABI class: X.Org Video Driver, version 10.0
    [ 120.300] (II) LoadModule: "fbdev"
    [ 120.309] (WW) Warning, couldn't open module fbdev
    [ 120.309] (II) UnloadModule: "fbdev"
    [ 120.309] (II) Unloading fbdev
    [ 120.309] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 120.309] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
    965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
    4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
    Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
    Sandybridge, Sandybridge
    [ 120.309] (II) VESA: driver for VESA chipsets: vesa
    [ 120.309] (--) using VT number 7
    [ 120.313] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 120.313] (WW) Falling back to old probe method for vesa
    [ 120.314] drmOpenDevice: node name is /dev/dri/card0
    [ 120.314] drmOpenDevice: open result is 8, (OK)
    [ 120.314] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
    [ 120.314] drmOpenDevice: node name is /dev/dri/card0
    [ 120.314] drmOpenDevice: open result is 8, (OK)
    [ 120.314] drmOpenByBusid: drmOpenMinor returns 8
    [ 120.314] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
    [ 120.314] (II) intel(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 120.314] (==) intel(0): Depth 24, (--) framebuffer bpp 32
    [ 120.314] (==) intel(0): RGB weight 888
    [ 120.314] (==) intel(0): Default visual is TrueColor
    [ 120.314] (II) intel(0): Integrated Graphics Chipset: Intel(R) GM45
    [ 120.314] (--) intel(0): Chipset: "GM45"
    [ 120.314] (**) intel(0): Relaxed fencing enabled
    [ 120.314] (**) intel(0): Framebuffer tiled
    [ 120.314] (**) intel(0): Pixmaps tiled
    [ 120.314] (**) intel(0): 3D buffers tiled
    [ 120.314] (**) intel(0): SwapBuffers wait enabled
    [ 120.314] (==) intel(0): video overlay key set to 0x101fe
    [ 120.327] (II) intel(0): Output LVDS1 has no monitor section
    [ 120.328] (II) intel(0): found backlight control interface /sys/class/backlight/acpi_video0
    [ 120.346] (II) intel(0): Output VGA1 has no monitor section
    [ 120.347] (II) intel(0): Output DP1 has no monitor section
    [ 120.347] (II) intel(0): EDID for output LVDS1
    [ 120.347] (II) intel(0): Manufacturer: LEN Model: 4033 Serial#: 0
    [ 120.347] (II) intel(0): Year: 2007 Week: 0
    [ 120.347] (II) intel(0): EDID Version: 1.3
    [ 120.347] (II) intel(0): Digital Display Input
    [ 120.347] (II) intel(0): Max Image Size [cm]: horiz.: 30 vert.: 19
    [ 120.347] (II) intel(0): Gamma: 2.20
    [ 120.347] (II) intel(0): DPMS capabilities: StandBy Suspend Off
    [ 120.347] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
    [ 120.347] (II) intel(0): First detailed timing is preferred mode
    [ 120.348] (II) intel(0): redX: 0.590 redY: 0.330 greenX: 0.310 greenY: 0.570
    [ 120.348] (II) intel(0): blueX: 0.155 blueY: 0.135 whiteX: 0.313 whiteY: 0.329
    [ 120.348] (II) intel(0): Manufacturer's mask: 0
    [ 120.348] (II) intel(0): Supported detailed timing:
    [ 120.348] (II) intel(0): clock: 100.0 MHz Image Size: 304 x 190 mm
    [ 120.348] (II) intel(0): h_active: 1440 h_sync: 1488 h_sync_end 1520 h_blank_end 1800 h_border: 0
    [ 120.348] (II) intel(0): v_active: 900 v_sync: 903 v_sync_end 907 v_blanking: 922 v_border: 0
    [ 120.348] (II) intel(0): Supported detailed timing:
    [ 120.348] (II) intel(0): clock: 82.0 MHz Image Size: 304 x 190 mm
    [ 120.348] (II) intel(0): h_active: 1440 h_sync: 1488 h_sync_end 1520 h_blank_end 1768 h_border: 0
    [ 120.348] (II) intel(0): v_active: 900 v_sync: 903 v_sync_end 909 v_blanking: 926 v_border: 0
    [ 120.348] (II) intel(0): Unknown vendor-specific block f
    [ 120.348] (II) intel(0): AUOB141PW03V0
    [ 120.348] (II) intel(0): EDID (in hex):
    [ 120.348] (II) intel(0): 00ffffffffffff0030ae334000000000
    [ 120.348] (II) intel(0): 00110103801e1378ea24e597544f9227
    [ 120.348] (II) intel(0): 22505400000001010101010101010101
    [ 120.348] (II) intel(0): 0101010101011027a068518416303020
    [ 120.348] (II) intel(0): 340030be100000180320a04851841a30
    [ 120.348] (II) intel(0): 3020360030be100000180000000f0095
    [ 120.348] (II) intel(0): 0a32950a2814010006af5125000000fe
    [ 120.348] (II) intel(0): 0041554f4231343150573033563000cf
    [ 120.348] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 120.348] (II) intel(0): Printing DDC gathered Modelines:
    [ 120.348] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 120.348] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 120.348] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
    [ 120.348] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
    [ 120.348] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
    [ 120.348] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
    [ 120.348] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
    [ 120.348] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
    [ 120.348] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
    [ 120.348] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
    [ 120.348] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
    [ 120.348] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
    [ 120.348] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
    [ 120.348] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
    [ 120.348] (II) intel(0): Printing probed modes for output LVDS1
    [ 120.348] (II) intel(0): Modeline "1440x900"x60.3 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 120.348] (II) intel(0): Modeline "1440x900"x50.1 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 120.348] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz)
    [ 120.348] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
    [ 120.348] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz)
    [ 120.348] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
    [ 120.366] (II) intel(0): EDID for output VGA1
    [ 120.367] (II) intel(0): EDID for output DP1
    [ 120.367] (II) intel(0): Output LVDS1 connected
    [ 120.367] (II) intel(0): Output VGA1 disconnected
    [ 120.367] (II) intel(0): Output DP1 disconnected
    [ 120.367] (II) intel(0): Using exact sizes for initial modes
    [ 120.367] (II) intel(0): Output LVDS1 using initial mode 1440x900
    [ 120.367] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
    [ 120.367] (II) intel(0): Kernel page flipping support detected, enabling
    [ 120.367] (**) intel(0): Display dimensions: (300, 190) mm
    [ 120.367] (**) intel(0): DPI set to (121, 120)
    [ 120.367] (II) Loading sub module "fb"
    [ 120.367] (II) LoadModule: "fb"
    [ 120.368] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 120.396] (II) Module fb: vendor="X.Org Foundation"
    [ 120.396] compiled for 1.10.1, module version = 1.0.0
    [ 120.396] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 120.396] (II) Loading sub module "dri2"
    [ 120.396] (II) LoadModule: "dri2"
    [ 120.396] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 120.396] (II) Module dri2: vendor="X.Org Foundation"
    [ 120.397] compiled for 1.10.1, module version = 1.2.0
    [ 120.397] ABI class: X.Org Server Extension, version 5.0
    [ 120.397] (II) UnloadModule: "vesa"
    [ 120.397] (II) Unloading vesa
    [ 120.397] (==) Depth 24 pixmap format is 32 bpp
    [ 120.397] (II) intel(0): [DRI2] Setup complete
    [ 120.397] (II) intel(0): [DRI2] DRI driver: i965
    [ 120.397] (II) intel(0): Allocated new frame buffer 1472x900 stride 6144, tiled
    [ 120.473] (II) UXA(0): Driver registered support for the following operations:
    [ 120.473] (II) solid
    [ 120.473] (II) copy
    [ 120.473] (II) composite (RENDER acceleration)
    [ 120.473] (II) put_image
    [ 120.473] (II) get_image
    [ 120.473] (==) intel(0): Backing store disabled
    [ 120.473] (==) intel(0): Silken mouse enabled
    [ 120.484] (II) intel(0): Initializing HW Cursor
    [ 120.540] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    [ 120.542] (==) intel(0): DPMS enabled
    [ 120.542] (==) intel(0): Intel XvMC decoder enabled
    [ 120.542] (II) intel(0): Set up textured video
    [ 120.542] (II) intel(0): [XvMC] xvmc_vld driver initialized.
    [ 120.542] (II) intel(0): direct rendering: DRI2 Enabled
    [ 120.542] (==) intel(0): hotplug detection: "enabled"
    [ 120.542] (--) RandR disabled
    [ 120.542] (II) Initializing built-in extension Generic Event Extension
    [ 120.542] (II) Initializing built-in extension SHAPE
    [ 120.542] (II) Initializing built-in extension MIT-SHM
    [ 120.542] (II) Initializing built-in extension XInputExtension
    [ 120.542] (II) Initializing built-in extension XTEST
    [ 120.542] (II) Initializing built-in extension BIG-REQUESTS
    [ 120.542] (II) Initializing built-in extension SYNC
    [ 120.542] (II) Initializing built-in extension XKEYBOARD
    [ 120.542] (II) Initializing built-in extension XC-MISC
    [ 120.542] (II) Initializing built-in extension SECURITY
    [ 120.542] (II) Initializing built-in extension XINERAMA
    [ 120.542] (II) Initializing built-in extension XFIXES
    [ 120.542] (II) Initializing built-in extension RENDER
    [ 120.542] (II) Initializing built-in extension RANDR
    [ 120.542] (II) Initializing built-in extension COMPOSITE
    [ 120.542] (II) Initializing built-in extension DAMAGE
    [ 120.707] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
    [ 120.707] (II) AIGLX: enabled GLX_INTEL_swap_event
    [ 120.707] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
    [ 120.707] (II) AIGLX: enabled GLX_SGI_make_current_read
    [ 120.707] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
    [ 120.707] (II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/i965_dri.so
    [ 120.707] (II) GLX: Initialized DRI2 GL provider for screen 0
    [ 120.708] (II) intel(0): Setting screen physical size to 381 x 238
    [ 121.043] (II) config/udev: Adding input device Power Button (/dev/input/event4)
    [ 121.043] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 121.043] (II) LoadModule: "evdev"
    [ 121.043] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 121.049] (II) Module evdev: vendor="X.Org Foundation"
    [ 121.049] compiled for 1.10.0, module version = 2.6.0
    [ 121.049] Module class: X.Org XInput Driver
    [ 121.049] ABI class: X.Org XInput driver, version 12.2
    [ 121.049] (II) Using input driver 'evdev' for 'Power Button'
    [ 121.049] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 121.049] (**) Power Button: always reports core events
    [ 121.049] (**) Power Button: Device: "/dev/input/event4"
    [ 121.063] (--) Power Button: Found keys
    [ 121.063] (II) Power Button: Configuring as keyboard
    [ 121.063] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
    [ 121.063] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
    [ 121.063] (**) Option "xkb_rules" "evdev"
    [ 121.063] (**) Option "xkb_model" "evdev"
    [ 121.063] (**) Option "xkb_layout" "us"
    [ 121.086] (II) config/udev: Adding input device Video Bus (/dev/input/event16)
    [ 121.086] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 121.086] (II) Using input driver 'evdev' for 'Video Bus'
    [ 121.086] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 121.086] (**) Video Bus: always reports core events
    [ 121.086] (**) Video Bus: Device: "/dev/input/event16"
    [ 121.100] (--) Video Bus: Found keys
    [ 121.100] (II) Video Bus: Configuring as keyboard
    [ 121.100] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input16/event16"
    [ 121.100] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD)
    [ 121.100] (**) Option "xkb_rules" "evdev"
    [ 121.100] (**) Option "xkb_model" "evdev"
    [ 121.100] (**) Option "xkb_layout" "us"
    [ 121.106] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
    [ 121.106] (II) No input driver/identifier specified (ignoring)
    [ 121.106] (II) config/udev: Adding input device Sleep Button (/dev/input/event3)
    [ 121.106] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
    [ 121.106] (II) Using input driver 'evdev' for 'Sleep Button'
    [ 121.106] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 121.106] (**) Sleep Button: always reports core events
    [ 121.106] (**) Sleep Button: Device: "/dev/input/event3"
    [ 121.116] (--) Sleep Button: Found keys
    [ 121.116] (II) Sleep Button: Configuring as keyboard
    [ 121.116] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3/event3"
    [ 121.116] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
    [ 121.116] (**) Option "xkb_rules" "evdev"
    [ 121.116] (**) Option "xkb_model" "evdev"
    [ 121.116] (**) Option "xkb_layout" "us"
    [ 121.120] (II) config/udev: Adding input device Integrated Camera (/dev/input/event15)
    [ 121.120] (**) Integrated Camera: Applying InputClass "evdev keyboard catchall"
    [ 121.120] (II) Using input driver 'evdev' for 'Integrated Camera'
    [ 121.120] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 121.120] (**) Integrated Camera: always reports core events
    [ 121.120] (**) Integrated Camera: Device: "/dev/input/event15"
    [ 121.146] (--) Integrated Camera: Found keys
    [ 121.146] (II) Integrated Camera: Configuring as keyboard
    [ 121.146] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6:1.0/input/input15/event15"
    [ 121.146] (II) XINPUT: Adding extended input device "Integrated Camera" (type: KEYBOARD)
    [ 121.146] (**) Option "xkb_rules" "evdev"
    [ 121.146] (**) Option "xkb_model" "evdev"
    [ 121.146] (**) Option "xkb_layout" "us"
    [ 121.147] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event6)
    [ 121.147] (II) No input driver/identifier specified (ignoring)
    [ 121.148] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event10)
    [ 121.148] (II) No input driver/identifier specified (ignoring)
    [ 121.148] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event7)
    [ 121.148] (II) No input driver/identifier specified (ignoring)
    [ 121.148] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event8)
    [ 121.148] (II) No input driver/identifier specified (ignoring)
    [ 121.148] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event9)
    [ 121.148] (II) No input driver/identifier specified (ignoring)
    [ 121.150] (II) config/udev: Adding input device Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) (/dev/input/event12)
    [ 121.150] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Applying InputClass "evdev pointer catchall"
    [ 121.150] (II) Using input driver 'evdev' for 'Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)'
    [ 121.150] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 121.150] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): always reports core events
    [ 121.150] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Device: "/dev/input/event12"
    [ 121.173] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found 3 mouse buttons
    [ 121.173] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found scroll wheel(s)
    [ 121.173] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found relative axes
    [ 121.173] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found x and y relative axes
    [ 121.173] (II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Configuring as mouse
    [ 121.173] (II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Adding scrollwheel support
    [ 121.173] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): YAxisMapping: buttons 4 and 5
    [ 121.173] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 121.173] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/input/input12/event12"
    [ 121.173] (II) XINPUT: Adding extended input device "Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)" (type: MOUSE)
    [ 121.173] (II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): initialized for relative axes.
    [ 121.173] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) keeping acceleration scheme 1
    [ 121.173] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) acceleration profile 0
    [ 121.173] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) acceleration factor: 2.000
    [ 121.173] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) acceleration threshold: 4
    [ 121.174] (II) config/udev: Adding input device Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) (/dev/input/mouse1)
    [ 121.174] (II) No input driver/identifier specified (ignoring)
    [ 121.174] (II) config/udev: Adding input device USB-compliant keyboard (/dev/input/event13)
    [ 121.174] (**) USB-compliant keyboard: Applying InputClass "evdev keyboard catchall"
    [ 121.174] (II) Using input driver 'evdev' for 'USB-compliant keyboard'
    [ 121.174] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 121.174] (**) USB-compliant keyboard: always reports core events
    [ 121.174] (**) USB-compliant keyboard: Device: "/dev/input/event13"
    [ 121.193] (--) USB-compliant keyboard: Found keys
    [ 121.193] (II) USB-compliant keyboard: Configuring as keyboard
    [ 121.193] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/input/input13/event13"
    [ 121.193] (II) XINPUT: Adding extended input device "USB-compliant keyboard" (type: KEYBOARD)
    [ 121.193] (**) Option "xkb_rules" "evdev"
    [ 121.193] (**) Option "xkb_model" "evdev"
    [ 121.193] (**) Option "xkb_layout" "us"
    [ 121.194] (II) config/udev: Adding input device USB-compliant keyboard (/dev/input/event14)
    [ 121.194] (**) USB-compliant keyboard: Applying InputClass "evdev keyboard catchall"
    [ 121.194] (II) Using input driver 'evdev' for 'USB-compliant keyboard'
    [ 121.194] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 121.194] (**) USB-compliant keyboard: always reports core events
    [ 121.194] (**) USB-compliant keyboard: Device: "/dev/input/event14"
    [ 121.220] (--) USB-compliant keyboard: Found 1 mouse buttons
    [ 121.220] (--) USB-compliant keyboard: Found scroll wheel(s)
    [ 121.220] (--) USB-compliant keyboard: Found relative axes
    [ 121.220] (--) USB-compliant keyboard: Found x and y relative axes
    [ 121.220] (--) USB-compliant keyboard: Found absolute axes
    [ 121.220] (--) USB-compliant keyboard: Found keys
    [ 121.220] (II) USB-compliant keyboard: Configuring as mouse
    [ 121.220] (II) USB-compliant keyboard: Configuring as keyboard
    [ 121.220] (II) USB-compliant keyboard: Adding scrollwheel support
    [ 121.220] (**) USB-compliant keyboard: YAxisMapping: buttons 4 and 5
    [ 121.220] (**) USB-compliant keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 121.220] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.1/input/input14/event14"
    [ 121.220] (II) XINPUT: Adding extended input device "USB-compliant keyboard" (type: KEYBOARD)
    [ 121.220] (**) Option "xkb_rules" "evdev"
    [ 121.220] (**) Option "xkb_model" "evdev"
    [ 121.220] (**) Option "xkb_layout" "us"
    [ 121.220] (II) USB-compliant keyboard: initialized for relative axes.
    [ 121.220] (WW) USB-compliant keyboard: ignoring absolute axes.
    [ 121.220] (**) USB-compliant keyboard: (accel) keeping acceleration scheme 1
    [ 121.220] (**) USB-compliant keyboard: (accel) acceleration profile 0
    [ 121.220] (**) USB-compliant keyboard: (accel) acceleration factor: 2.000
    [ 121.220] (**) USB-compliant keyboard: (accel) acceleration threshold: 4
    [ 121.220] (II) config/udev: Adding input device USB-compliant keyboard (/dev/input/mouse2)
    [ 121.220] (II) No input driver/identifier specified (ignoring)
    [ 121.224] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 121.224] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [ 121.224] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
    [ 121.224] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 121.224] (**) AT Translated Set 2 keyboard: always reports core events
    [ 121.224] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [ 121.246] (--) AT Translated Set 2 keyboard: Found keys
    [ 121.246] (II) AT Translated Set 2 keyboard: Configuring as keyboard
    [ 121.246] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
    [ 121.246] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
    [ 121.246] (**) Option "xkb_rules" "evdev"
    [ 121.246] (**) Option "xkb_model" "evdev"
    [ 121.246] (**) Option "xkb_layout" "us"
    [ 121.247] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event11)
    [ 121.247] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
    [ 121.247] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
    [ 121.247] (II) LoadModule: "synaptics"
    [ 121.247] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
    [ 121.248] (II) Module synaptics: vendor="X.Org Foundation"
    [ 121.248] compiled for 1.10.0, module version = 1.4.0
    [ 121.248] Module class: X.Org XInput Driver
    [ 121.248] ABI class: X.Org XInput driver, version 12.2
    [ 121.248] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
    [ 121.248] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
    [ 121.248] (**) SynPS/2 Synaptics TouchPad: always reports core events
    [ 121.248] (**) Option "Device" "/dev/input/event11"
    [ 121.373] (--) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5598
    [ 121.373] (--) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4670
    [ 121.373] (--) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
    [ 121.373] (--) SynPS/2 Synaptics TouchPad: finger width range 0 - 15
    [ 121.373] (--) SynPS/2 Synaptics TouchPad: buttons: left right
    [ 121.373] (**) Option "TapButton1" "1"
    [ 121.373] (**) Option "TapButton2" "2"
    [ 121.373] (**) Option "TapButton3" "3"
    [ 121.480] (--) SynPS/2 Synaptics TouchPad: touchpad found
    [ 121.480] (**) SynPS/2 Synaptics TouchPad: always reports core events
    [ 121.533] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input11/event11"
    [ 121.533] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
    [ 121.533] (**) SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
    [ 121.533] (**) SynPS/2 Synaptics TouchPad: MaxSpeed is now 1.75
    [ 121.533] (**) SynPS/2 Synaptics TouchPad: AccelFactor is now 0.038
    [ 121.533] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
    [ 121.533] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
    [ 121.533] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
    [ 121.533] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
    [ 121.613] (--) SynPS/2 Synaptics TouchPad: touchpad found
    [ 121.613] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
    [ 121.613] (II) No input driver/identifier specified (ignoring)
    [ 121.614] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event17)
    [ 121.614] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
    [ 121.614] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
    [ 121.614] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 121.614] (**) TPPS/2 IBM TrackPoint: always reports core events
    [ 121.614] (**) TPPS/2 IBM TrackPoint: Device: "/dev/input/event17"
    [ 121.640] (--) TPPS/2 IBM TrackPoint: Found 3 mouse buttons
    [ 121.640] (--) TPPS/2 IBM TrackPoint: Found relative axes
    [ 121.640] (--) TPPS/2 IBM TrackPoint: Found x and y relative axes
    [ 121.640] (II) TPPS/2 IBM TrackPoint: Configuring as mouse
    [ 121.640] (**) TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
    [ 121.640] (**) TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 121.640] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input17/event17"
    [ 121.640] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE)
    [ 121.640] (II) TPPS/2 IBM TrackPoint: initialized for relative axes.
    [ 121.640] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
    [ 121.640] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
    [ 121.640] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
    [ 121.640] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
    [ 121.640] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse3)
    [ 121.640] (II) No input driver/identifier specified (ignoring)
    [ 121.640] (II) config/udev: Adding input device PC Speaker (/dev/input/event1)
    [ 121.640] (II) No input driver/identifier specified (ignoring)
    [ 121.641] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event5)
    [ 121.641] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
    [ 121.641] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
    [ 121.641] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 121.641] (**) ThinkPad Extra Buttons: always reports core events
    [ 121.641] (**) ThinkPad Extra Buttons: Device: "/dev/input/event5"
    [ 121.666] (--) ThinkPad Extra Buttons: Found keys
    [ 121.666] (II) ThinkPad Extra Buttons: Configuring as keyboard
    [ 121.666] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input5/event5"
    [ 121.666] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD)
    [ 121.666] (**) Option "xkb_rules" "evdev"
    [ 121.666] (**) Option "xkb_model" "evdev"
    [ 121.666] (**) Option "xkb_layout" "us"
    [ 122.391] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 122.391] (II) intel(0): Printing DDC gathered Modelines:
    [ 122.391] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 122.391] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 122.411] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 122.411] (II) intel(0): Printing DDC gathered Modelines:
    [ 122.411] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 122.411] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 336.811] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 336.811] (II) intel(0): Printing DDC gathered Modelines:
    [ 336.811] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 336.811] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 336.835] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 336.835] (II) intel(0): Printing DDC gathered Modelines:
    [ 336.835] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 336.835] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 343.607] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 343.607] (II) intel(0): Printing DDC gathered Modelines:
    [ 343.607] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 343.607] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 343.672] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 343.673] (II) intel(0): Printing DDC gathered Modelines:
    [ 343.673] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 343.673] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 343.735] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 343.735] (II) intel(0): Printing DDC gathered Modelines:
    [ 343.736] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 343.736] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 344.801] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 344.801] (II) intel(0): Printing DDC gathered Modelines:
    [ 344.801] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 344.801] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 344.867] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 344.867] (II) intel(0): Printing DDC gathered Modelines:
    [ 344.867] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 344.867] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 362.559] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 362.559] (II) intel(0): Printing DDC gathered Modelines:
    [ 362.559] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 362.559] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 362.624] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 362.624] (II) intel(0): Printing DDC gathered Modelines:
    [ 362.624] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 362.624] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 362.692] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 362.692] (II) intel(0): Printing DDC gathered Modelines:
    [ 362.692] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 362.692] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 362.756] (II) intel(0): Allocated new frame buffer 1728x1050 stride 7168, tiled
    [ 362.774] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 362.774] (II) intel(0): Printing DDC gathered Modelines:
    [ 362.774] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 362.774] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 362.847] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 362.847] (II) intel(0): Printing DDC gathered Modelines:
    [ 362.847] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 362.847] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 525.745] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 525.745] (II) intel(0): Printing DDC gathered Modelines:
    [ 525.745] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 525.745] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 530.202] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 530.202] (II) intel(0): Printing DDC gathered Modelines:
    [ 530.202] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 530.202] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 536.835] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 536.835] (II) intel(0): Printing DDC gathered Modelines:
    [ 536.835] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 536.835] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 539.995] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 539.995] (II) intel(0): Printing DDC gathered Modelines:
    [ 539.995] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 539.995] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 540.067] (II) intel(0): Allocated new frame buffer 3136x1050 stride 12800, tiled
    [ 540.116] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 540.116] (II) intel(0): Printing DDC gathered Modelines:
    [ 540.116] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 540.116] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 540.199] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 540.199] (II) intel(0): Printing DDC gathered Modelines:
    [ 540.199] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 540.199] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 551.649] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 551.649] (II) intel(0): Printing DDC gathered Modelines:
    [ 551.649] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 551.649] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 551.717] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 551.717] (II) intel(0): Printing DDC gathered Modelines:
    [ 551.717] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 551.717] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 551.786] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 551.786] (II) intel(0): Printing DDC gathered Modelines:
    [ 551.786] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 551.786] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 1499.858] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 1499.858] (II) intel(0): Printing DDC gathered Modelines:
    [ 1499.858] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 1499.859] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 1506.345] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 1506.345] (II) intel(0): Printing DDC gathered Modelines:
    [ 1506.345] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 1506.345] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 1506.411] (II) intel(0): Allocated new frame buffer 3200x1050 stride 12800, tiled
    [ 1506.470] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 1506.470] (II) intel(0): Printing DDC gathered Modelines:
    [ 1506.470] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 1506.470] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 1506.547] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 1506.547] (II) intel(0): Printing DDC gathered Modelines:
    [ 1506.547] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 1506.547] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 1506.608] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 1506.608] (II) intel(0): Printing DDC gathered Modelines:
    [ 1506.608] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 1506.608] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 1506.672] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 1506.672] (II) intel(0): Printing DDC gathered Modelines:
    [ 1506.672] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 1506.672] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 1512.035] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 1512.036] (II) intel(0): Printing DDC gathered Modelines:
    [ 1512.036] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 1512.036] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 1512.107] (II) intel(0): Allocated new frame buffer 3392x1050 stride 13824, tiled
    [ 1512.187] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 1512.187] (II) intel(0): Printing DDC gathered Modelines:
    [ 1512.187] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 1512.187] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 1512.266] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 1512.266] (II) intel(0): Printing DDC gathered Modelines:
    [ 1512.266] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 1512.266] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 1512.323] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 1512.323] (II) intel(0): Printing DDC gathered Modelines:
    [ 1512.323] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 1512.323] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    [ 1512.391] (II) intel(0): EDID vendor "LEN", prod id 16435
    [ 1512.391] (II) intel(0): Printing DDC gathered Modelines:
    [ 1512.391] (II) intel(0): Modeline "1440x900"x0.0 100.00 1440 1488 1520 1800 900 903 907 922 -hsync -vsync (55.6 kHz)
    [ 1512.391] (II) intel(0): Modeline "1440x900"x0.0 81.95 1440 1488 1520 1768 900 903 909 926 -hsync -vsync (46.4 kHz)
    - i don't use 10-monitor.conf
    - tried used disper
    disper -e -r 1440x900,1680x1050 -t top
    but that didn't work either
    any suggestions are welcomed...

    thanks for responses
    @BurntSushi
    here is what scrot gave me: http://dl.dropbox.com/u/292474/arch/output.jpg
    but what i see is more like: http://dl.dropbox.com/u/292474/arch/output_view.jpg
    @ewaller
    interface is VGA. i have tried changing the H. Position on the monitor to "slide it back" but even when it's completely at 100% on one side i gain back half of the black area. i don't know what else i can change on the monitor that would help me out.

  • Problems with scrolling through premiere timeline using arrow keys and shift arrow

    This is a really weird problem in cs6.
    When I load a clip into the source monitor i can scroll throughit fine using the arrow keys, and shift arrows and my shuttle pro controller.
    When I place the same clip on to the timeline it really struggles to scroll using the arrows or the shuttle pro, its really kerky and sdlwo to scroll the timeline, which is really frstrating, becuase it can play the footage fine in the source monitor.
    The clips will playback fine, but scrolling through them just doesn't work as it should any ideas?
    Cheers
    Mike

    I changed my shuttle settings to make the shuttling more responsive:
    1 - 5 times second
    2 - 10
    3 - 15
    4 - 30
    5 - 45
    6 - 60
    7 - fast as possible
    At least I changed this a long time ago - don't know if these are the defaults or not.
    It'll only shuttle as fast as your system is responsive of course - so if you get instantaneous scrubbing by dragging the CTI in the timeline with the mouse, you should be able to get good performance with the shuttle. Of course that performance depends on the type of footage and how demanding it is on CPU to decode and whether youi have effects applied etc etc etc.
    I edit pretty much exclusively with Sony XDCAM EX 1080P 25 footage we've shot on EX3 and PMW-350 etc and I get very very fast performance on the timeline - no issues at all i7 6 core 4GHz with 24Gb ram and fairly fast RAID array for footage.

  • Cipher program.. in need of a little guidance

    I understand I posted many messages about this subject. But I just wanted to start a new thread on this as a whole. I apologize for that. Anyways I can't get this thing going right... I want to take a repeating key and encode words with it. This program takes text files and the first line is all ints (the repeating keys) and the next lines are ones to be encoded and decoded.
    I left a big comment on what I need to do and also if you see any obvious problems please let me know. I really appreciate it. Thanks.
    import java.io.*;
    import java.util.*;
    public class RepeatingKeyCipher<E>
       public static void main(String[] args) throws IOException
            RepeatingKeyCipher obj = new RepeatingKeyCipher();
            File file = new File("in.dat");
            PrintWriter outFile = new PrintWriter(new FileWriter("out.dat"));
              Scanner fileIn = new Scanner(file);
              Queue<Integer> keyNumbers = new LinkedList<Integer>();
              Queue<String> plainText = new LinkedList<String>();
              int keyLine;
              while(fileIn.hasNextInt())
                   keyLine = fileIn.nextInt();
                   plainText.offer(keyLine);
              keyNumbers.offer(plainText.poll());
              Queue<String> cipher = new LinkedList<String>();
              cipher = obj.encode(keyNumbers, plainText);
              //for(int i = 0; i < message.length; i++) {
         private int front;
         private int rear;
         private int size;
         private char newLetter;
         private String alpha = "abcdefghijklmnopqrstuvwxyz";
         public char encode (Queue<E> key, Queue<E> plain)
         {//returns new letter
            /* From here on you just find a way to seperate the key element.
                 Then you seperate the first character from the plain queue.
                   Then use the nested loops to convert and add back to a third
                   queue. */
            Queue<String> encodedText = new LinkedList<String>;
              StringTokenizer st = new StringTokenizer(message);
              while(st.hasMoreTokens())
                   String word = st.nextToken();
                   int wordLength = word.length();
                   for (int i = 0; i < wordLength; i++)
                         newLetter = alpha.charAt(i + key);
                         if (newLetter > alpha.length())
                             newLetter =alpha.charAt((i + key) - 25);
                             return newLetter;
    }

    Most of those question will have to be answered by your O2 UK customer service, as they will know their data plans.
    But for the BlackBerry, you will need a BlackBerry specific data plan.
    Just a generic internet access plan usually will not suffice.
    So when you speak to them, make sure you get specific BlackBerry data plan information, add-on or bolt-on or whatever the call it.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Broken wb and magenta tint shift on all my 30D images

    Hi everybody...I know that there is another post regarding images going green...I read it all and tried to follow some of the listed suggestions but no success at all...I'm really in the middle of nowhere, don't know what to do to escape from this nightmare!.
    All my Canon 30D images in Aperture 3 shows completely broken wb and magenta tint!...
    I did not experience any of the problems during upgrading and import my previous library from Aperture 2...It was months ago...I decide to reprocess all my images because my intention was to start working and adjusting my photo after a period when I just "accumulated" them in projects and nothing else.
    it wasn't like this a month ago, honestly I can't remember at which point all this happened...one month ago I did some jpeg export from a project and the images were ok, I mean the masters and the exported jpeg. I returned to Aperture to start performing some adjustments on few images here and there in different projects...and, horrible surprise, just reviewing some images recently imported I noticed the difference between the photo in the filmstrip and the one in the viewer...
    I just run randomly on different projects and....disaster....the same broken wb and magenta tint..all of my 30D images, 350D shows correctly.
    It shows "loading" for a second and then the image is turning with a heavy magenta cast on it...if I am in split view the image in the filmstrip shows correct wb while the one in the viewer is affected by the magenta tint.
    If I press once M to show the master image I see this: for a second the image shows the correct wb then appears the magenta tint. I press M to quit the master view and the image is the same with magenta...and then again press M and there is no longer the brief "flash" showing the image with the right wb and no magenta tint.
    I tried some of the solutions listed in other threads i.e. moving/deleting the Raw Decode plist file....repair and rebuild....nothing seems to work...I can't explain how I feel...I spent a lot of time to organize folders, projects albums, and now that finally I decided to start working on my photos I found them all broken.
    This is happening on my iMac 20" alu with snow leopard 10.6.3 and the latest Aperture update 3.0.3...but also on my macbookpro 13" with the same os version and Aperture 3.0.2.
    I don't know what to do...I love Aperture, i run it for long time on my Powerbook G4 (Aperture 2.1.4) and honestly I don't even want to think about switching to another software.
    Anyone's help or suggestion are welcome. I want to fix this, I have to!.
    Bye,
    Alberto

    Hello KBeat,
    first of all a huge and sincere "Thank you!" for your considerations and suggestions!.
    Like I said in my previous post I found that some images shot with 30D now looks better...my first "samples" on the 30D images (I have around 3,500) shows that images not ever adjusted looks better, some images with adjustments done in Aperture 2 still looks good, others aren't...
    BUT...some of the bad looking images that shows the magenta shift (light or heavy to purple) also have the white balance adjustment brick selected...I just deselect it and, bam!, the images turn back to the right white balance settings....well, maybe it's still not correct but at least was the "original" one, I mean that is the image wb setting since first import two years ago.
    For this group of images, small at the moment, the additional "work" requested is to deselect the white balance adjustment brick to obtain the "old" image, ready to be processed with the new raw decoder, leading to a better result.....I really hope to find more and more of those images between those affected because it involves to deselect the brick and that's done.
    Since now I have to say that the most affected are portraits/models images where skin tones now are rendered in a way that looks ipersaturated and completely unrealistic, thanks to the magenta shift.
    Well, I can't say I'm happy with this, at least not "for free"! I mean I'll probably be happy right after some works on the images...my library at the moment is "compromised".
    It needs work, and a lot of it, and this is not good, well the immediate reaction facing this new "challenge" it's far from being something "good". I'm happy to have a small library and so the extra work forced by the "corrected" 30D files handling looks, well, limited...I want to be positive, after a very very...VERY discouraging start!
    Now, to the white bal card suggestion you gave...
    Correct me if I'm wrong or did not understand what you wrote...you think that if now I shot a white bal card with 30D, import it in Aperture and use it for the magenta shifted images the big work is done? This, lift&stamp to the rescue, could be a huge timesaver!
    Am I dreaming? Am I now into a too positive mood with this problem? Eh, eh...hope not!
    I have an image shot to a white bal card but it was taken with the 350D because of it's inability to set a temperature in-camera, in a recent shooting involving studio flash and lights I set 3200K on the 30D with the proper menu setting and shot the white bal card with the 350D to have the most consistent result....but with 350D results were good even if I set a white balance choosed from the various in-camera options (cloudy, tungsten....).
    Unfortunately I'll be abroad for work all next week, it will be impossible for me to work with my photos and playing with Aperture, today shops are closed so no white balance card...and I have lot of things to do at home, argh!.
    Well, thank again for the kind suggestions and support, I really really thank you all!.
    Of course I'll post immediately if I found something else on this matter, and to report progresses or else!.
    Bye!
    Alberto

  • Using Maverick, error message: Adobe Reader could not open '***.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

    Receiving error message using current Maverick version: "Adobe Reader could not open '***.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).".  Is fix the same as on previous OS versions?

    Back up all data before making any changes. Please take each of the following steps until the problem is resolved.
    Step 1
    If Adobe Reader or Acrobat is installed, and the problem is just that you can't print or save PDF's displayed in Safari, you may be able to do so by moving the cursor to the the bottom edge of the page, somewhere near the middle. A black toolbar should appear under the cursor. Click the printer or disk icon.
    Step 2
    There should be a setting in its preferences of the Adobe application such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected.
    Step 3
    If you get a message such as ""Adobe Reader blocked for this website," then from the Safari menu bar, select
    Safari ▹ Preferences... ▹ Security
    and check the box marked
    Allow Plug-ins
    Then click
    Manage Website Settings...
    and make any required changes to the security settings for the Adobe PDF plugin.
    Step 4
    Triple-click anywhere in the line of text below on this page to select it, the copy the selected text to the Clipboard by pressing the key combination command-C:
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens by pressing command-V, then press return.
    From the folder that opens, move to the Trash any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari.
    Step 5
    The "Silverlight" web plugin distributed by Microsoft can interfere with PDF display in Safari, so you may need to remove it, if it's present. The same goes for a plugin called "iGetter," and perhaps others—I don't have a complete list. Don't remove Silverlight if you use the "Netflix" video-streaming service.
    Step 6
    Do as in Step 4 with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari.

  • Decode in an insert statement

    Is it possible to use decode base on a pl/sql variable in field declaration of an insert statement?
    For example:
    INSERT INTO emp_schedule
    (employee_id,
    schedule_date,
    destination,
    start_time,
    absent,
    late,
    entry_date_time,
    decode(v_bucket_id,
    1,
    bucket1_class,
    2,
    bucket2_class,
    3,
    bucket3_class,
    4,
    bucket4_class,
    5,
    bucket5_class,
    6,
    bucket6_class,
    7,
    bucket7_class,
    8,
    bucket8_class,
    9,
    bucket9_class,
    10,
    bucket10_class,
    11,
    bucket11_class,
    12,
    bucket12_class,
    13,
    bucket13_class,
    14,
    bucket14_class,
    15,
    bucket15_class,
    16,
    bucket16_class,
    17,
    bucket17_class,
    18,
    bucket18_class,
    19,
    bucket19_class,
    20,
    bucke20_class,
    bucket1_class),
    bucket1_class_reghrs,
    bucket1_sched_hrs,
    actual_hours,
    actual_start_time,
    shift,
    on_the_clock,
    end_of_shift_complete)
    VALUES
    (v_employee_id,
    v_payroll_date1,
    v_destination,
    v_start_punch,
    'N',
    'N',
    SYSDATE,
    v_class_number,
    v_actual_hrs,
    0,
    v_actual_hrs,
    v_start_punch,
    v_shift,
    v_on_clock,
    'N');

    You have the DECODE in the wrong place
    INSERT INTO emp_schedule
         employee_id,
         schedule_date,
         destination,
         start_time,
         absent,
         late,
         entry_date_time,
         bucket1_class,
         bucket2_class,
         bucket3_class,
         bucket4_class,
         bucket5_class,
         bucket6_class,
         bucket7_class,
         bucket8_class,
         bucket9_class,
         bucket10_class,
         bucket11_class,
         bucket12_class,
         bucket13_class,
         bucket14_class,
         bucket15_class,
         bucket16_class,
         bucket17_class,
         bucket18_class,
         bucket19_class,
         bucket20_class,
         bucket21_class,
         bucket1_class_reghrs,
         bucket1_sched_hrs,
         actual_hours,
         actual_start_time,
         shift,
         on_the_clock,
         end_of_shift_complete
    VALUES
         v_employee_id,
         v_payroll_date1,
         v_destination,
         v_start_punch,
         'N',
         'N',
         SYSDATE,
         DECODE(v_bucket_id, 1,  v_class_number),
         DECODE(v_bucket_id, 2,  v_class_number),
         DECODE(v_bucket_id, 3,  v_class_number),
         DECODE(v_bucket_id, 4,  v_class_number),
         DECODE(v_bucket_id, 5,  v_class_number),
         DECODE(v_bucket_id, 6,  v_class_number),
         DECODE(v_bucket_id, 7,  v_class_number),
         DECODE(v_bucket_id, 8,  v_class_number),
         DECODE(v_bucket_id, 9,  v_class_number),
         DECODE(v_bucket_id, 10, v_class_number),
         DECODE(v_bucket_id, 11, v_class_number),
         DECODE(v_bucket_id, 12, v_class_number),
         DECODE(v_bucket_id, 13, v_class_number),
         DECODE(v_bucket_id, 14, v_class_number),
         DECODE(v_bucket_id, 15, v_class_number),
         DECODE(v_bucket_id, 16, v_class_number),
         DECODE(v_bucket_id, 17, v_class_number),
         DECODE(v_bucket_id, 18, v_class_number),
         DECODE(v_bucket_id, 19, v_class_number),
         DECODE(v_bucket_id, 20, v_class_number),
         DECODE(v_bucket_id, 21, v_class_number),
         v_actual_hrs,
         0,
         v_actual_hrs,
         v_start_punch,
         v_shift,
         v_on_clock,
         'N'
    );

  • How can I use oracle function to decode the encode value

    Hi everybody,
    If the data is encode value how can I decode this value

    DBMS_OBFUSCATION_TOOLKIT
    DBMS_OBFUSCATION_TOOLKIT allows an application to encrypt data using either the Data Encryption Standard (DES) or the Triple DES algorithms.
    The Data Encryption Standard (DES), also known as the Data Encryption Algorithm (DEA) by the American National Standards Institute (ANSI) and DEA-1 by the International Standards Organization (ISO), has been a worldwide encryption standard for over 20 years. The banking industry has also adopted DES-based standards for transactions between private financial institutions, and between financial institutions and private individuals. DES will eventually be replaced by a new Advanced Encryption Standard (AES).
    DES is a symmetric key cipher; that is, the same key is used to encrypt data as well as decrypt data. DES encrypts data in 64-bit blocks using a 56-bit key. The DES algorithm ignores 8 bits of the 64-bit key that is supplied; however, developers must supply a 64-bit key to the algorithm.
    Triple DES (3DES) is a far stronger cipher than DES; the resulting ciphertext (encrypted data) is much harder to break using an exhaustive search: 2**112 or 2**168 attempts instead of 2**56 attempts. Triple DES is also not as vulnerable to certain types of cryptanalysis as is DES. DES procedures are as follows:
    DESEncrypt Procedure
    DESDecrypt Procedure
    Oracle installs this package in the SYS schema. You can then grant package access to existing users and roles as needed. The package also grants access to the PUBLIC role so no explicit grant needs to be done.
    This chapter discusses the following topics:
    Overview of Key Management
    Summary of DBMS_OBFUSCATION Subprograms
    Overview of Key Management
    Key management, including both generation and secure storage of cryptographic keys, is one of the most important aspects of encryption. If keys are poorly chosen or stored improperly, then it is far easier for a malefactor to break the encryption. Rather than using an exhaustive key search attack (that is, cycling through all the possible keys in hopes of finding the correct decryption key), cryptanalysts typically seek weaknesses in the choice of keys, or the way in which keys are stored.
    Key generation is an important aspect of encryption. Typically, keys are generated automatically through a random-number generator. Provided that the random number generation is cryptographically secure, this can be an acceptable form of key generation. However, if random numbers are not cryptographically secure, but have elements of predictability, the security of the encryption may be easily compromised.
    The DBMS_OBFUSCATION_TOOLKIT package does not generate encryption keys nor does it maintain them. Care must be taken by the application developer to ensure the secure generation and storage of encryption keys used with this package. Furthermore, the encryption and decryption done by the DBMS_OBFUSCATION_TOOLKIT takes place on the server, not the client. If the key is passed over the connection between the client and the server, the connection must be protected using Oracle Advanced Security; otherwise the key is vulnerable to capture over the wire.
    Key storage is one of the most important, yet difficult aspects of encryption and one of the hardest to manage properly. To recover data encrypted with a symmetric key, the key must be accessible to the application or user seeking to decrypt data. The key needs to be easy enough to retrieve that users can access encrypted data when they need to without significant performance degradation. The key also needs to be secure enough that it is not easily recoverable by an unauthorized user trying to access encrypted data he is not supposed to see.
    The three options available to a developer are:
    Store the key in the database
    Store the key in the operating system
    Have the user manage the key
    Storing the Key in the Database
    Storing the keys in the database cannot always provide bullet-proof security if you are trying to protect data against the DBA accessing encrypted data (since an all-privileged DBA can access tables containing encryption keys), but it can provide security against the casual snooper, or against someone compromising the database files on the operating system. Furthermore, the security you can obtain by storing keys in the database does not have to be bullet-proof in order to be extremely useful.
    For example, suppose you want to encrypt an employee's social security number, one of the columns in table EMP. You could encrypt each employee's SSN using a key which is stored in a separate column in EMP. However, anyone with SELECT access on the EMP table could retrieve the encryption key and decrypt the matching social security number. Alternatively, you could store the encryption keys in another table, and use a package to retrieve the correct key for the encrypted data item, based on a primary key-foreign key relationship between the tables.
    A developer could envelope both the DBMS_OBFUSCATION_TOOLKIT package and the procedure to retrieve the encryption keys supplied to the package. Furthermore, the encryption key itself could be transformed in some way (for example, XORed with the foreign key to the EMP table) so that the key itself is not stored in easily recoverable form.
    Oracle recommends using the wrap utility of PL/SQL to obfuscate the code within a PL/SQL package itself that does the encryption. That prevents people from breaking the encryption by looking at the PL/SQL code that handles keys, calls encrypting routines, and so on. In other words, use the wrap utility to obfuscate the PL/SQL packages themselves. This scheme is secure enough to prevent users with SELECT access to EMP from reading unencrypted sensitive data, and a DBA from easily retrieving encryption keys and using them to decrypt data in the EMP table. It can be made more secure by changing encryption keys regularly, or having a better key storage algorithm (so the keys themselves are encrypted, for example).
    Storing the Key in the Operating System
    Storing keys in the operating system (that is, in a flat file) is another option. With Oracle8i you can make callouts from PL/SQL, which you could use to retrieve encryption keys. If you store keys in the O/S and make callouts to retrieve the keys, the security of your encrypted data is only as secure as the protection of the key file on the O/S. Of course, a user retrieving keys from the operating system would have to be able to either access the Oracle database files (to decrypt encrypted data), or be able to gain access to the table in which the encrypted data is stored as a legitimate user.
    User-Supplied Keys
    If you ask a user to supply the key, it is crucial that you use network encryption, such as that provided by Oracle Advanced Security, so the key is not passed from client to server in the clear. The user must remember the key, or your data is nonrecoverable.
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_obtool.htm#ARPLS028
    Joel P�rez

  • WSMAN CredSSP TLS 1.2 support and cipher suites

    Hi all,
    The protocol document [MS-CSSP] explains the first base64 encoded token send in the authenticate from the client to the server is a TLS Client Hello. The response is a ServerHello.
    The diagram in section 4 'Protocol Examples' of the document indicates the ServerHello has a cipher suite of TLS_RSA_WITH_RC_128_SHA. The TLS version and cipher suites are not mentioned anywhere else in the document.
    So lets take a look a network packet capture of a CredSSP authentication between a winrm.exe client and a Windows 2008 R2 server. I have base64 decoded the contents of the CredSSP Authorization headers,
    The ClientHello bytes (without the extensions) send by my client are:
    16 03 01 00 6B 01 00 00  67 03 01 54 DB 64 77 22 
    A2 1C A3 23 93 61 3B 00  1B DE 1C 6D 42 34 94 8D 
    1D 44 2C 64 8B 42 AC 41  B4 E2 DE 00 00 14 00 2F 
    00 35 00 0A C0 13 C0 14  C0 09 C0 0A 00 32 00 38 
    00 13 01 00 00 2A FF 01  00 01 00 00 00 00 11 00 
    0F 00 00 0C
    Decoding this we can see that this is TLS 1.0 {03, 01}, taking a look at the ciphers we have:
    TLS_RSA_WITH_AES_128_CBC_SHA 0x00 0x2F
    TLS_RSA_WITH_AES_256_CBC_SHA 0x00 0x35
    TLS_RSA_WITH_3DES_EDE_CBC_SHA 0x00,0x0A
    TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA 0xC0,0x13
    TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA 0xC0,0x14
    TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA 0xC0,0x09
    TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA 0xC0,0x0A
    TLS_DHE_DSS_WITH_AES_128_CBC_SHA 0x00,0x32
    TLS_DHE_DSS_WITH_AES_256_CBC_SHA 0x00,0x38
    TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA 0x00,0x13
    Now lets look at the ServerHello (without the extensions)
    16 03 01 02 3C 02 00 00  4D 03 01 54 DB 64 78 73 
    92 C6 86 A3 F8 FF 3D D4  36 77 C0 FC 80 61 3F 4D 
    8C BC 60 CD BC 4D B1 1C  4A CF 0A 20 DA 14 00 00 
    38 11 DB C9 1C D0 8C 76  E7 A0 B9 F7 A5 D4 94 DF 
    8B 83 38 B3 FF EB AA 65  EB 23 03 0A 00 2F 00 00 
    05 FF 01 00 01 00 0B 00  01 E3 00 01 E0 00 01 DD 
    30 82 01 D9 30 82 01 42  A0 03 02 01 02 02 10 44 
    56 23 69 44 ED 93 85 43  DF B8 DF E3 75 DC A7 30 
    0D 06 09 2A 86 48 86 F7  0D 01 01 05 05 00 30 2B 
    31 29 30 27 06 03 55 04  03 13 20 
    The server responds with TLS 1.0 and selected cipher (0x00 0x2F)
    TLS_RSA_WITH_AES_128_CBC_SHA
    Based on this I created a WSMan CredSSP client using Python and OpenSSL and configured it to use TLS 1.2. I found the Windows server always responded with TLS 1.0. So, I configured my OpenSSL client for TLS 1.0 and set the cipherlist to AES128-SHA (like winrs.exe).
    The CredSSP TLS handshake completes, but the first ASN.1 encoded TSRequest token (containing an NTLM negotiate token) is rejected. However, if my openssl cipherlist is set to RC4, the TSRequest token is accepted and authentication is successful.
    This raises several questions:
    1. Despite sending a TLS 1.2 ClientHello the WSMan CredSSP Server always responded with TLS 1.0 ServerHello. A number of security experts consider this version effectivly broken. Does CredSSP support TLS 1.2?
    2. I can authenticate with CredSSP using openssl 'RC4' cipher suites - but not with AES128-SHA suites. Are suites besides RC4 supported (winrs.exe appears to use AES).
    Thanks
    Ian

    Forum Update:
    I can now answer my 2nd question. The reason CredSSP is rejecting my TSRequest token when using AES128-SHA is because this ciphersuite is using CBC.
    Some years ago OpenSSL added empty fragments to SSLv3 and TLS 1.0 packets to address a potential security vulnerability. These empty fragments are not compatible with Microsofts SChannel implementation so Windows is unable to decrypt the data. OpenSSL added
    a compatibility flag SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS (0x00000800L) that must be set in the openssl client's context options to address this issue with Microsofts implementation. Once I set this option my python openssl client successfully authenticated
    with a Windows 2012 R2 server using ECDHE-RSA-AES256-SHA - much better.
    Question 1 is still unanswered. Is TLS 1.2 with CredSSP supported?

  • Decoding bit values, (e.g. bit# 7 (MSB, 0=LSB) in 0xFF = 1)

    I needed to "decode" or read out the bit-status of any specified bit in any given number (from U8 to U32), and as such I made a "tiny" VI to give that functionality.
    Since I'm rahter fresh to this whole game, I would like to get some feedback on the code.
    The VI will be used as a sub-vi in a larger project, to decode status bytes which I can then use to control indicators for various processes.
    I've inlcuded just a little bit of documentation, but I have not yet made an icon as my preffered icon editor is on a different computer.
    I suspect I'm not as efficient in this vi as I could have been, but I'd like some feedback whether or not I have made any big boo-boo's, say on a scale from 1 to 10 with 10 beeing perfect.
    One comment I can give myself is that the U8 for bit-position is converted when passed to the for-loop... but on the other hand, it feels "wrong" to use the default data-type here, since the maximum value that makes sense to pass to the vi is 31 (for an U32 data-type).
    Project Engineer
    LabVIEW 2009
    Run LabVIEW on WinXP and Vista system.
    Used LabVIEW since May 2005
    Certifications: CLD and CPI certified
    Currently employed.
    Attachments:
    bitdecode.vi ‏20 KB

    If you don't want to go through the expense of allocating a 32 byte boolean array, you can just use a plain masking operation. Remember that the logical operations perform bitwise on integers. (scale by power of two is very cheap for integers, because it uses a simple bit shift, same as in example 2).
    Message Edited by altenbach on 12-04-2005 04:03 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    bitdecodeMOD.vi ‏14 KB
    bitdecodeMOD2.vi ‏14 KB

  • Converting from Tcl to Java...need to decode passwords stored in DB

    Hello:
    I am converting an application that was previously coded in Tcl/Vignette to Java. Part of this application is a login process. There are already passwords established for thousands of users and I need to be able to have Java decode these passwords from the DB when the users log in. The Vignette Tcl method used to encode the passwords previously was ENCODE64.
    I am almost completely ignorant of doing encrypting/decrypting in Java. can someone give me some idea of what I can use to be able to encode incoming passwords at login so that they can match with the ENCODE64 passwords that exist in the database??
    Basic lgoic is this (pseudocode):
    login = false
    encryptedPassword = encrypt(password_in)
    if encryptedPassword = dbPassword then set login = true
    Does that make sense??
    Thanks!
    Brian

    The Bouncy Castle JCE provider (www.bouncycastle.org) has Base64 encoder/decoder classes that 'just work'.
    import org.bouncycastle.util.encoders.Base64;
    String base64encodedString = "ABCKD4632adcomd";
    byte[] decoded = Base64.decode(base64encodedString);
    String reencoded = new String(Base64.encode(decoded));As for your second question re: how should you re encrypt the passwords? The standard, quite secure way of doing this is to use a one-way cipher. This will encrypt the password text to an unintelligible mess, that CANNOT be decrypted back to the original.
    When a new user enters their password for the first time, you use your cipher to encrypt it, and store this (not the actual password).
    To verify this user, you take the password they give you, encrypt it in the same way, and compare the results.
    Unix/Linux can use a shell command called 'crypt' to do exactly this... MySQL will also do it for you... INSERT INTO blah VALUES(CRYPT('blahpasswordstring'), and SELECT * FROM blah WHERE password=CRYPT('enteredpassword')).
    ... and its far too early in the morning, and I cant for the life of me remember the JCE equivalent of this function :(

Maybe you are looking for

  • Downloaded Microsoft Security Essentials and Flash Player Quit Working

    Hi, i am running Win 7 (64bit), and recently got MSE as my only antivirus. Once i downloaded it, flash player files in youtube and other sites (even pictures you can click and zoom on) refuse to load and just lock the browser. This is happening in IE

  • Acrobat Pro 9 crashes since update to 9.5.1

    I am using a dual core imac with OS 10.5.8 and 4 gigs ram. I've had no problems previously including no issues with it running on OS 10.5.8 previous to the update. The various suggestions I've read have not worked. Among the things I've tried are: ru

  • Recording audio from a Mic

    I've never tried to use a mic. I can heear my voice through the mic on Audio 1 but I can't get it to record. The rec button is flashing - vol is up - output is 1&2 and input I am using is my Edirol Mic. Can someone give me a little help. Thanks Dual

  • Moving SAP Database into another Hardisk

    Hi Expert I want to move all WG55 database into another free space hardisk under MMSQL 2000 enterprise edition , I have 3 database to move on Eg R:\WG55DATA1,WG55DATA2,WG55DATA3 and K:\tempdb.mdf All the above database are in D:\WG55DATA1,WG55DATA2,W

  • Confirmed orders in ERP gets status "Deallocated" in PPDS

    Dear APO experts. It seems like it is standard setup that when process orders are partially confirmed in ERP they become the status "deallocated" in APO PPDS. Is it possible not to get that status? The problem is when the planners do their rescheduli