Linux serial connection

I have a Uno connected to Debian via USB.
The machine has no GUI and is controlled with PuTTY.

Serial is set to:

void setup() {
    #if defined(__AVR__)
    Serial.begin(9600, SERIAL_7E2);
    SerialUSB.begin(9600, SERIAL_7E2);

On my Windows workstation the connection works without problems in PuTTY.
If i connect the Uno to Debian and remote login from my Workstation with PuTTY
and try to view the serial output everything is messed up (hieroglyphs).

I tried:

~# sudo stty -F /dev/ttyUSB0 9600 cs7 parodd -cstopb ignbrk -brkint -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts

If i start screen with:

~# sudo screen /dev/ttyUSB0 9600

If i start screen with:

~# sudo screen /dev/ttyUSB0 9600,cs7,parodd,-cstopb


Maybe the format of 7 data bits and 2 stop bits are causing a problem. Try going to 8 data bits, no parity, 1 stop bit, which has become kind of standard for serial communications. And make sure its actually ttyUSB0. Also seems like I saw there are some linux versions that need a different driver for the FTDI USB to ttl driver. Search the internet for FTDI linux driver and you will find a PDF from the FTDI site. I didn't have to use different drivers with the latest version of Ubuntu. Then you might try "minicom" instead of PuTTY -- I'm using minicom on Ubuntu at 8N1 and it works no problem with an UNO variant. Of course you might try the serial monitor from the IDE to see how that works.