X11 forwarding doesn't work

Hi
I bought a Macbook Pro a few weeks ago with SL preinstalled and I need to access a SSH server with X11 forwarding but I can't get it to work. Whenever I run "ssh username@host -X" it allows me to enter the password but then it just hangs.
Any ideas what might be wrong?
// Andreas

luuse wrote:
Sorry, was a bit short earlier. Was in a bit of a hurry but wanted you and anyone else to know that it didn't work. I'm not a complete beginner with unix although troubleshooting X11 on my own is kinda daunting, thereby the lack of details .
I wasn't saying anything about you. I was just ranting about 10.6. And to make things even more embarrassing, I was completely wrong! I didn't check my facts enough and was all too ready to blame 10.6.
What kind of machine are you connecting to? On MacOS X, X11 forwarding is turned off on the server side by default. You have to turn it on manually: http://developer.apple.com/mac/library/qa/qa2004/qa1383.html
I did this and I could ssh -X from my 10.6.1 machine into my production 10.5.8 machine. I hadn't bothered to check logging into my Linux server or I would have had a better answer to begin with.
It sounds like your problem has nothing to do with my little rant. Try running "ssh -X -v -v username@host" to see if there are any descriptive error messages.

Similar Messages

  • Moving backward and forward doesn't work as it used to do

    The latest update, 32.0.2, or perhaps the one earlier, 32.0.1, has created a problem with Fx.
    Moving backward and forward doesn't work as it used to do; and if it is done quickly, backward and then forward again to the last page, Fx gets confused and both pages get the same address and the browser shows the same page.
    Guess it has something to do with the latest changes to how Fx handles the cache, or that in combination with how some pages use scripts.
    As it is it can be a pain to use sometimes.

    Are you able to switch songs from control center when Spotify is playing on your phone?
    If you have Spotify playing on your computer then it won't show in control center on your phone. You will have to open up the app to control music on your computer. 
    This is because iOS does not show anything on the control center unless an app is outputing audio. The Spotify app is not outputing audio, it only shows what is playing on your computer.
    Does that make sense?

  • X forwarding doesn't work

    I would like to get x forwarding to work so I can play kolf at school, at the "far away machine" I have X11Forwarding yes in ssshd_config and the same on my local linux machine, no matter what I try I always get
    xterm Xt error: Can't open display:
    xterm: DISPLAY is not set
    no matter what program I use it's always the same thing, X11 is installed and functional on both ends, it's the new standard version 7. both machines are on a clean install too.
    any ideals?

    1) The xhost solution posted above is rubbish. Not only is it unsecure, but it is also wrong in this context and wrong in 2 other ways that I do not want to describe now.
    2) If you want to forward X with ssh, there is not much to do, and I think you did it right:
    a) Enable X11Forwarding yes in sshd_config on the server side (don't forget to restart sshd)
    b) Start your ssh session with ssh -X $hostname. This enabled X forwarding for this one session. If it doesn't, you get an error message that tells you why. If $DISPLAY is not set and ther e is no error, then you either forgot -X (or -Y) or your $DISPLAY gets unset again after the login.

  • ICloud : automatic mail forward doesn't work

    Hi,
    I've setup an automatic mail forwarding through icloud.com mail application, in preferences.
    At first, it worked.
    A few days later it doesn't.
    I've tryed to disable, enable, re-type the destination email address (gmail), nothing works : mails won't be forwarded, but they get deleted (I checked the option, this one works).
    I've contacted Apple Support Express Lane, who reset my preferences on the server (it changed nothing to the preferences I see) : there is no result on this one either.
    When I forward an email manually to the same gmail address : it works.
    Any of you having the same issue ?

    Update. It appears that auto forwarding works except for emails sent from a gmail account associated with the "forward to" address. If I send from my comcast account it works, but if I send from my gmail account, using the gmail or comcast address, it doesn't. On the plus side, mail sent from other gmail accounts apeears to work.  So other than for testing purposes, this may not be a big deal.

  • Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

    Hello everyone!
    Three weeks ago I installed Arch one my old "Acer Travelmate 243".
    It was my first Laptop-Install, so I was sure to experience some problems especially with the Touchpad.
    But hey, no problems at all, Touchpad worked.
    One week ago I made a system-update. Also the Kernel was updated to version 2.6.30.
    I did a reboot and everything worked ok. Everything, but not the "two-finger-scroll" on the touchpad (which I had enabled when I configured the touchpad and worked before the update).
    So I checked /etc/hal/fdi/policy/11-x11-synaptics, but everything looked like before the update.
    The problem is that "11-x11-synaptics" apparently isn´t read anymore, cause I can do whatever I like to this file and it simply doesn´t matter (Touchpad works in the standard way). BTW I don´t have a xorg.conf.
    So here are some files:
    /etc/hal/fdi/policy/11-x11-synaptics.fdi
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <deviceinfo version="0.2">
    <device>
    <match key="info.product" contains="ETPS/2 Elantech Touchpad">
    <append key="info.capabilities" type="strlist">input.touchpad</append>
    </match>
    <match key="info.capabilities" contains="input.touchpad">
    <merge key="input.x11_driver" type="string">synaptics</merge>
    <merge key="input.x11_options.TapButton1" type="string">1</merge>
    <merge key="input.x11_options.TapButton2" type="string">3</merge>
    <merge key="input.x11_options.TapButton3" type="string">2</merge>
    <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
    </match>
    </device>
    </deviceinfo>
    Output of "hal-device":
    18: udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input'
    input.device = '/dev/input/event7' (string)
    input.product = 'PS/2 Synaptics TouchPad' (string)
    access_control.file = '/dev/input/event7' (string)
    access_control.type = 'mouse' (string)
    info.callouts.add = { 'hal-acl-tool --add-device' } (string list)
    input.x11_driver = 'evdev' (string)
    info.callouts.remove = { 'hal-acl-tool --remove-device' } (string list)
    linux.sysfs_path = '/sys/devices/platform/i8042/serio4/input/input7/event7' (string)
    info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port' (string)
    info.subsystem = 'input' (string)
    info.product = 'PS/2 Synaptics TouchPad' (string)
    info.category = 'input' (string)
    info.capabilities = { 'input', 'input.mouse', 'access_control' } (string list)
    linux.device_file = '/dev/input/event7' (string)
    info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input' (string)
    linux.hotplug_type = 2 (0x2) (int)
    input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port' (string)
    linux.subsystem = 'input' (string)

    I have similar problem, I have recently switched from radeon to fglrx driver and in order to do so I had to downgrade kernel to 2.6.29 and xorg-server to 1.5. After that my Alps touchpad stopped working. I also tried this method and it is no good. And there's another weird thing: if I try to read /dev/input/mouse2 vith cat and touch the touchpad I get an output which shows, that I ought to be able to use it via this device pointer. Here's my xorg.conf
    #Section "InputDevice"
    # Identifier "Serial Mouse"
    # Driver "mouse"
    # Option "Protocol" "Microsoft"
    # Option "Device" "/dev/ttyS0"
    # Option "Emulate3Buttons" "true"
    # Option "Emulate3Timeout" "70"
    # Option "SendCoreEvents" "true"
    #EndSection
    #Section "InputDevice"
    # Driver "synaptics"
    # Identifier "PS/2 Mouse"
    # Option "Device" "/dev/psaux"
    # Option "Protocol" "auto-dev"
    # Option "LeftEdge" "120"
    # Option "RightEdge" "830"
    # Option "TopEdge" "120"
    # Option "BottomEdge" "650"
    # Option "FingerLow" "14"
    # Option "FingerHigh" "15"
    # Option "MaxTapTime" "180"
    # Option "MaxTapMove" "110"
    # Option "EmulateMidButtonTime" "75"
    # Option "VertScrollDelta" "20"
    # Option "HorizScrollDelta" "20"
    # Option "MinSpeed" "0.3"
    # Option "MaxSpeed" "0.75"
    # Option "AccelFactor" "0.015"
    # Option "EdgeMotionMinSpeed" "200"
    # Option "EdgeMotionMaxSpeed" "200"
    # Option "UpDownScrolling" "1"
    # Option "CircularScrolling" "1"
    # Option "CircScrollDelta" "0.1"
    # Option "CircScrollTrigger" "2"
    #EndSection
    #Section "InputDevice"
    # Identifier "Synaptics"
    # Driver "synaptics"
    # Option "Device" "/dev/input/mouse2"
    # Option "Protocol" "auto-dev"
    # Option "Emulate3Buttons" "yes"
    # Option "LeftEdge" "120"
    # Option "RightEdge" "830"
    # Option "TopEdge" "120"
    # Option "BottomEdge" "650"
    # Option "FingerLow" "14"
    # Option "FingerHigh" "15"
    # Option "MaxTapMove" "110"
    # Option "VertScrollDelta" "20"
    # Option "HorizScrollDelta" "20"
    # Option "MinSpeed" "0.5"
    # Option "MaxSpeed" "1.5"
    # Option "SHMConfig" "true"
    #EndSection
    # Auto-generated by Archie mkxcfg
    # Auto-generated by Archie mkxcfg
    Section "ServerLayout"
    #InputDevice "USB Mouse" "CorePointer"
    #Option "AIGLX" "True"
    # Serial Mouse not detected
    # USB Mouse not detected
    Identifier "Xorg Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "PS/2 Mouse" "CorePointer"
    EndSection
    Section "Files"
    # Additional fonts: Locale, Gimp, TTF...
    # FontPath "/usr/share/lib/X11/fonts/latin2/75dpi"
    # FontPath "/usr/share/lib/X11/fonts/latin2/100dpi"
    # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc:unscaled"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/100dpi"
    FontPath "/usr/share/fonts/PEX"
    FontPath "/usr/share/fonts/cyrillic"
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/ttf/western"
    FontPath "/usr/share/fonts/ttf/decoratives"
    FontPath "/usr/share/fonts/truetype"
    FontPath "/usr/share/fonts/truetype/openoffice"
    FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath "/usr/share/fonts/latex-ttf-fonts"
    FontPath "/usr/share/fonts/defoma/CID"
    FontPath "/usr/share/fonts/defoma/TrueType"
    EndSection
    Section "Module"
    Load "ddc" # ddc probing of monitor
    Load "dbe"
    Load "dri"
    Load "extmod"
    Load "glx"
    Load "bitmap" # bitmap-fonts
    Load "type1"
    Load "freetype"
    Load "record"
    Load "synaptics"
    EndSection
    Section "ServerFlags"
    Option "AllowMouseOpenFail" "false"
    Option "AIGLX" "True"
    Option "AutoAddDevices" "True"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "latitude"
    Option "XkbLayout" "cz"
    Option "XkbVariant" ""
    EndSection
    Section "InputDevice"
    Identifier "PS/2 Mouse"
    Driver "mouse"
    Option "Protocol" "Auto"
    Option "ZAxisMapping" "4 5"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "true"
    Option "Emulate3Timeout" "70"
    Option "SendCoreEvents" "true"
    EndSection
    Section "InputDevice"
    Identifier "USB Mouse"
    Driver "mouse"
    Option "Device" "/dev/input/mouse2"
    Option "SendCoreEvents" "true"
    Option "Protocol" "GlidePointPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Buttons" "5"
    Option "Emulate3Buttons"
    EndSection
    Section "Monitor"
    # Warning: This may fry old Monitors
    # Very conservative. May flicker.
    # VertRefresh 50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
    # Default modes distilled from
    # "VESA and Industry Standards and Guide for Computer Display Monitor
    # Timing", version 1.0, revision 0.8, adopted September 17, 1998.
    # $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
    # 640x350 @ 85Hz (VESA) hsync: 37.9kHz
    Identifier "Monitor0"
    HorizSync 28.0 - 96.0
    VertRefresh 50.0 - 75.0
    ModeLine "640x350" 31.5 640 672 736 832 350 382 385 445 +hsync -vsync
    ModeLine "640x400" 31.5 640 672 736 832 400 401 404 445 -hsync +vsync
    ModeLine "720x400" 35.5 720 756 828 936 400 401 404 446 -hsync +vsync
    ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
    ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
    ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
    ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
    ModeLine "800x600" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    ModeLine "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    ModeLine "800x600" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
    ModeLine "800x600" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    ModeLine "800x600" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
    ModeLine "1024x768" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync +vsync interlace
    ModeLine "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    ModeLine "1024x768" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
    ModeLine "1024x768" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    ModeLine "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
    ModeLine "1152x864" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    ModeLine "1280x960" 108.0 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync
    ModeLine "1280x960" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync
    ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine "1280x1024" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
    ModeLine "1600x1200" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine "1600x1200" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine "1600x1200" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine "1600x1200" 229.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine "1792x1344" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
    ModeLine "1792x1344" 261.0 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync
    ModeLine "1856x1392" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync
    ModeLine "1856x1392" 288.0 1856 1984 2208 2560 1392 1393 1396 1500 -hsync +vsync
    ModeLine "1920x1440" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
    ModeLine "1920x1440" 297.0 1920 2064 2288 2640 1440 1441 1444 1500 -hsync +vsync
    ModeLine "1800x1440" 230.0 1800 1896 2088 2392 1440 1441 1444 1490 +hsync +vsync
    ModeLine "1800x1440" 250.0 1800 1896 2088 2392 1440 1441 1444 1490 +hsync +vsync
    ModeLine "640x480" 43.2 640 680 744 848 480 481 484 509 -hsync +vsync
    ModeLine "768x576" 35.0 768 792 872 976 576 577 580 597 -hsync +vsync
    ModeLine "768x576" 42.9 768 800 880 992 576 577 580 601 -hsync +vsync
    ModeLine "768x576" 45.5 768 808 888 1008 576 577 580 602 -hsync +vsync
    ModeLine "768x576" 51.8 768 808 888 1008 576 577 580 605 -hsync +vsync
    ModeLine "768x576" 62.6 768 816 896 1024 576 577 580 611 -hsync +vsync
    ModeLine "800x600" 68.2 800 848 936 1072 600 601 604 636 -hsync +vsync
    ModeLine "1024x768" 113.3 1024 1096 1208 1392 768 769 772 814 -hsync +vsync
    ModeLine "1152x864" 81.6 1152 1216 1336 1520 864 865 868 895 -hsync +vsync
    ModeLine "1152x864" 119.7 1152 1224 1352 1552 864 865 868 907 -hsync +vsync
    ModeLine "1152x864" 143.5 1152 1232 1360 1568 864 865 868 915 -hsync +vsync
    ModeLine "1280x960" 124.5 1280 1368 1504 1728 960 961 964 1001 -hsync +vsync
    ModeLine "1280x960" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
    ModeLine "1280x960" 179.0 1280 1376 1520 1760 960 961 964 1017 -hsync +vsync
    ModeLine "1280x1024" 191.0 1280 1376 1520 1760 1024 1025 1028 1085 -hsync +vsync
    ModeLine "1400x1050" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
    ModeLine "1400x1050" 149.3 1400 1496 1648 1896 1050 1051 1054 1094 -hsync +vsync
    ModeLine "1400x1050" 155.8 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
    ModeLine "1400x1050" 179.3 1400 1504 1656 1912 1050 1051 1054 1103 -hsync +vsync
    ModeLine "1400x1050" 214.4 1400 1512 1664 1928 1050 1051 1054 1112 -hsync +vsync
    ModeLine "1600x1200" 280.6 1600 1728 1904 2208 1200 1201 1204 1271 -hsync +vsync
    Option "DPMS" "true"
    # HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors
    EndSection
    Section "Device"
    #Option "Capabilities" "0x00000000"
    #Option "VideoOverlay" "on"
    #Option "OpenGLOverlay" "off"
    #Option "FSAAScale" "0"
    Identifier "Card0"
    Driver "radeon"
    VendorName "All"
    BoardName "All"
    Option "DRI" "True"
    Option "NoDDC" "True"
    Option "XAANoOffscreenPixmaps" "True"
    Option "EnablePageFlip" "True"
    Option "RenderAccel" "True"
    Option "AccelMethod" "EXA"
    #Option "FSAAEnable" "off"
    EndSection
    Section "Device"
    Identifier "Card1"
    Driver "fglrx"
    VendorName "All"
    BoardName "All"
    Option "NoDDC" "true"
    Option "Centermode" "off"
    Option "VideoOverlay" "on"
    Option "OpenGLOverlay" "off"
    Option "OverlayOnCRT2" "0"
    Option "PseudoColorVisuals" "off"
    Option "UseFastTLS" "off"
    BusID "PCI:1:0:0"
    EndSection
    Section "Device"
    Identifier "Card2"
    Driver "fglrx"
    VendorName "All"
    BoardName "All"
    Option "DRI" "True"
    Option "NoDDC" "True"
    Option "XAANoOffscreenPixmaps" "True"
    Option "EnablePageFlip" "True"
    Option "RenderAccel" "True"
    Option "AccelMethod" "EXA"
    Option "FSAAEnable" "off"
    Option "Capabilities" "0x00000000"
    Option "VideoOverlay" "on"
    Option "OpenGLOverlay" "off"
    Option "FSAAScale" "0"
    BusID "PCI:1:0:0"
    EndSection
    Section "Screen"
    # SubSection "Display"
    # Depth 16
    # Modes "1024x768" "800x600" "640x480"
    # EndSubSection
    Identifier "Screen0"
    Device "Card2"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "DisableGLXRootClipping" "True"
    Option "AddARGBGLXVisuals" "True"
    Option "LIBGL_ALWAYS_INDIRECT" "True"
    SubSection "Display"
    Depth 24
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection
    Section "DRI"
    # Group 0
    Mode 0666
    EndSection
    Section "Extensions"
    # Option "DAMAGE" "True"
    Option "Composite" "Enable"
    EndSection
    and here's my /etc/hal/fdi/policy/11-x11-synaptics.fdi
    <?xml version="1.0" encoding="UTF-8"?>
    <deviceinfo version="0.2">
    <device>
    # <match key="info.product" contains="Synaptics TouchPad">
    <match key="info.product" contains="AlpsPS/2 ALPS GlidePoint">
    <merge key="input.x11_driver" type="string">synaptics</merge>
    <merge key="input.x11_options.AlwaysCore" type="string">true</merge>
    <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
    <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
    <merge key="input.x11_options.TapButton1" type="string">1</merge>
    <merge key="input.x11_options.TapButton2" type="string">2</merge>
    <merge key="input.x11_options.TapButton3" type="string">3</merge>
    <merge key="input.x11_options.protocol" type="string">event</merge>
    <merge key="input.x11_options.touchpadoff" type="string">0</merge>
    <merge key="input.x11_options.shmconfig" type="string">on</merge>
    </match>
    </device>
    </deviceinfo>
    It really bugs me. I can use it only in windows
    EDIT: my pointing stick works though.
    Last edited by sDoky (2009-07-07 17:02:58)

  • Continue the chain of filters after forward doesn't work

    Hi,
    I'm dealing with a problem since two days ago and I guess it's time to ask for some help =).
    I'm trying to do a forward and just after that let the filters continue, maybe I have a missunderstanding of the servlet/jsp life cicle, but don't really know.
    Let's say I have two filters
    A) URLTranslatorFilter. This filter take the URL requested and forward it to the correct URL, so, the user can enter the URL in another language (creepy requirement I know =( ) and being redirected to the actual resource.
    http://localhost:8080/test01/entrar.faces
    would be translated to
    http://localhost:8080/test01/login.faces
    B) SessionFilter, it's a simple filter that check for the user being on a session, security control, simple as that.
    When a URL It's translated, just after that I have to check the username and all that kind of things, but i get the terrible error:
    javax.servlet.ServletException: Cannot forward after response has been committed
    the filterChain.doFilter isn't working I think.
    In fact, there's more than just a filter after the URLTranslatorFilter, but I can't get it to work even with two of them.
    The source for the URLTranslatorFilter:
    package mx.www.filter;
    import java.io.IOException;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.http.HttpServletRequest;
    public class URLTranslatorFilter implements Filter {
         public void init(FilterConfig arg0) throws ServletException {
         public void doFilter(ServletRequest request, ServletResponse response,
                   FilterChain chain) throws IOException, ServletException {
              System.out.println("URLTranslatorFilter-->");
              if (!(request instanceof HttpServletRequest)) return;
              HttpServletRequest httpServletRequest = (HttpServletRequest) request;
              String currentURI = httpServletRequest.getRequestURI();
              System.out.println("URI-->" + currentURI);
              if (currentURI.equals("/test01/entrar.faces")) {
                   RequestDispatcher requestDispatcher = request.getRequestDispatcher("/test01/login.faces");
                   requestDispatcher.forward(request, response);
              chain.doFilter(request, response);
              System.out.println("<--URLTranslatorFilter");
         public void destroy() {
    }The simple dummy SessionFilter:
    package mx.nic.rty.www.filter;
    import java.io.IOException;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    public class SessionFilter implements Filter{
         public void init(FilterConfig arg0) throws ServletException {
         public void doFilter(ServletRequest request, ServletResponse response,
                   FilterChain chain) throws IOException, ServletException {
              System.out.println("SessionFilter-->");
              chain.doFilter(request, response);
              System.out.println("<--SessionFilter");
         public void destroy() {
    }The filters defined in web.xml
         <filter>
              <filter-name>URL Translator Filter</filter-name>
              <filter-class>mx.nic.rty.www.filter.URLTranslatorFilter</filter-class>
         </filter>
         <filter-mapping>
              <filter-name>URL Translator Filter</filter-name>
              <url-pattern>*.faces</url-pattern>
         </filter-mapping>
         <filter>
              <filter-name>Session Filter</filter-name>
              <filter-class>mx.nic.rty.www.filter.SessionFilter</filter-class>
         </filter>
         <filter-mapping>
              <filter-name>Session Filter</filter-name>
              <url-pattern>*.faces</url-pattern>
         </filter-mapping>The sample pages do nothing really just show a simple message, any help you could give me would be appreciated.
    I can post more code if necessary =) thanks!
    -JF-

    Maybe try it like this:
    if (currentURI.equals("/test01/entrar.faces")) {
      RequestDispatcher requestDispatcher = request.getRequestDispatcher("/test01/login.faces");
      requestDispatcher.forward(request, response);
    else{
      chain.doFilter(request, response);
    }Forwarding control to a request dispatcher is sending a response
    calling chain.doFilter() is also sending a response.
    You can only send one response per request, so if you forward control to another resource, you should stop the current resource sending a response.

  • Message forwarding doesn't work

    Hi!
    I'm trying to set up message forwarding between iPhone 5S 8.2 and iPad Air 8.2. In iPhone's menu Settings->Messages->Text Message Forwarding I found my iPad, turn on switch, then I fill numbers from iPad screen and press ok, but the switch become disabled again.
    On MacBook Air with the same Apple ID forwarding works without problems.

    Hi Ukruser,
    Welcome to the Apple Support Communities!
    I understand that you are trying to set up Continuity for SMS and MMS between your iPhone and iPad, but the feature appears to be turning itself off. To ensure that everything is set up correctly before entering the code, please read over the set up instructions located in the attached article. 
    Connect your iPhone, iPad, iPod touch, and Mac using Continuity - Apple Support
    To use Continuity for SMS and MMS with your iPhone and your Mac, iPad or iPod touch
    Your iPhone, iPad, and iPod touch need to use iOS 8.1, and your Mac needs to use OS X Yosemite.
    Sign in to iMessage on your iPhone, your other iOS devices, and your Mac using the same Apple ID.
    On your iPhone:
    Go to Settings > Messages > Send & Receive > You Can Be Reached By, and add a check to both your phone number and email address.
    Go to Messages > Text Message Forwarding, and enable the device(s) you would like to forward messages to.
    Your Mac, iPad, or iPod touch will display a code. Enter this code on your iPhone to verify the SMS feature.
    Best regards,
    Joe

  • WRT120N - DMZ works, port forwarding doesn't work; only one device allowed in DMZ

    Hi,
    I have an WRT120N router and two DVRs.  I can get either one of the DVRs to work just fine if I put it in the DMZ.  Neither one works when I enable port forwarding.  Since I cannot have two devices in the DMZ with this router, I cannot use that approach (throwing them in the DMZ) as a viable solution.
    I need help finding out what I am doing incorrectly with the port forwarding.  Basically I am creating an entry for each port of each device, going to the correct IP address of that device.  I have tried both protocols as well as just TCP.  This does not work.  Just for fun, I tried using the port range forwarding and this does not work either.  The only thing that works is if I throw either of the devices in the DMZ.
    So what I have essentially is this:
    DEVICE1 / 192.168.0.120 (internal) / PORT 999 / works great in DMZ but not in port fwd
    DEVICE2 / 192.168.0.121 (internal) / PORT 456 / works great in DMZ but not in port fwd
    I have used Wireshark from a remote computer to observe what happens when I navigate to the URL that I need, such as http://myjunk.ddnsprovider.xyz:999 (where 999 is the port on which the device in question serves).  I don't see anything out of the ordinary.  (I assume there is no way to run a packet sniffer on the router.)  (Can we "telnet" into the router, btw?)
    So either I am doing something wrong, or there is a need for a router software update, or the router is blocking some other protocol, etc.  Help is much appreciated!  BTW, tried with the router firewall off, too.  No go.
    Regards,
    Mike

    Whats the current firmware installed on your router? Have you tried to upgrade the firmware on your Router?

  • [SOLVED] [LVM over LUKS] TRIM forwarding doesn't work

    Recently I encrypted my SSD using LUKS and created three LVM volumes on top of it. Then I added "allow-discards" to the list of kernel parameters, here is the respective entry from grub.cfg:
    linux /vmlinuz-linux root=/dev/mapper/vgarch-root ro cryptdevice=/dev/sda2:vgarch:allow-discards cryptkey=/dev/disk/by-uuid/02F2-CDB8:vfat:/lukskey quiet logo.nologo loglevel=3 console=tty1 splash=silent,theme:arch-elegant elevator=noop transparent_hugepage=never radeon.modeset=1
    And an excerpt from fstab:
    /dev/mapper/vgarch-root / ext4 defaults,auto,noatime,discard 0 1
    UUID=e8ba294e-9621-422d-8f40-d9ffbc715484 /boot ext2 defaults 0 2
    /dev/mapper/vgarch-var /var ext4 defaults,auto,noatime,discard 0 2
    /dev/mapper/vgarch-home /home ext4 defaults,auto,noatime,discard 0 2
    When the system is booting up, "encrypt" hook prints the appropriate message ("Enabling TRIM/discard support."), so everything seems to work fine. But when I check for TRIM support using the following method, the last command doesn't print zeroes as expected.
    [root@archhost /]# dd if=/dev/urandom of=tempfile count=100 bs=512k oflag=direct
    100+0 records in
    100+0 records out
    52428800 bytes (52 MB) copied, 5.66872 s, 9.2 MB/s
    [root@archhost /]# hdparm --fibmap tempfile
    tempfile:
    filesystem blocksize 4096, begins at LBA 0; assuming 512 byte sectors.
    byte_offset begin_LBA end_LBA sectors
    0 13969408 13970431 1024
    524288 13986816 13987839 1024
    1048576 14026752 14127103 100352
    [root@archhost /]# hdparm --read-sector 13969408 /dev/sda
    /dev/sda:
    reading sector 13969408: succeeded
    bc43 41aa 82eb 4200 438a 6151 cbbd 0842
    4014 cfa4 17e7 b2ca 7c92 ec35 9fe3 0089
    206c beba c33d 5876 89e7 0d9c 1fc7 b122
    801e bdb9 82af 8885 add9 7b17 7aa4 4c69
    d4c1 da55 2029 bd05 d0f0 cd22 a944 b27b
    ffa7 9c29 ad4a 9292 7f3a 9e4d 9040 f135
    f507 3d8b c142 6ac2 da83 167a c40e 1be4
    2c58 f7b6 fb50 2ce7 c7d2 6f70 ce45 be87
    bfe4 2755 4795 10ee e1e1 1362 d078 a8ac
    0754 8663 6881 12e4 fe8c c1c1 795f 7617
    0423 1abf eade 31d1 4bfc e7a0 5fbc 36cd
    af25 febe 374a bef1 eb3b 2b73 df5c a5fe
    9dc3 d5e9 e31c 97ec 35ca 4002 4beb 0917
    2d72 d0e3 f0ab 8d75 0fcf ce97 500f e869
    875b 7866 1528 7148 99d0 6369 3369 a639
    cb39 f552 a277 62c3 1ba8 bdb3 4127 a6ca
    5cdd d934 5f5b a434 a20e 980c 7bfd 6f40
    7029 d9aa 294f 321e 4eab 8130 adf3 140a
    5352 328b 6713 25ac c37a d33a 2be9 3699
    459c fc7a 1b10 7e99 8b74 cc60 e5b9 3a85
    edbb 7baf 2205 34a4 c10e 6d79 1e44 239f
    dad3 ee10 b76f 76fa 569c 3b73 81e0 0848
    db89 4efd c520 163e af72 b83b ff3b a924
    d2f1 120d 75df f7ae 3922 1b2a ee39 5efd
    3ade 6a0e f24e f14d 7444 d7b6 3c3a 5ab6
    2345 420d e9a4 1811 807e 9c29 5da3 f9a0
    f7cb ba53 b3f1 69c4 b76d fa9d 6a0a 0184
    a69c fe16 42d9 71a9 85b9 1b01 8870 40b1
    585a c191 a101 39b4 2203 b662 2a17 50fc
    93ac 3a2d 2b27 22f4 ff60 f7d1 fd59 feda
    1477 c56f 816a 0199 34b7 ba4c 4950 6af8
    b7bf c409 d48a e701 2894 1be1 3ac9 d4b1
    [root@archhost /]# rm tempfile
    [root@archhost /]# sync
    [root@archhost /]# hdparm --read-sector 13969408 /dev/sda
    /dev/sda:
    reading sector 13969408: succeeded
    bc43 41aa 82eb 4200 438a 6151 cbbd 0842
    4014 cfa4 17e7 b2ca 7c92 ec35 9fe3 0089
    206c beba c33d 5876 89e7 0d9c 1fc7 b122
    801e bdb9 82af 8885 add9 7b17 7aa4 4c69
    d4c1 da55 2029 bd05 d0f0 cd22 a944 b27b
    ffa7 9c29 ad4a 9292 7f3a 9e4d 9040 f135
    f507 3d8b c142 6ac2 da83 167a c40e 1be4
    2c58 f7b6 fb50 2ce7 c7d2 6f70 ce45 be87
    bfe4 2755 4795 10ee e1e1 1362 d078 a8ac
    0754 8663 6881 12e4 fe8c c1c1 795f 7617
    0423 1abf eade 31d1 4bfc e7a0 5fbc 36cd
    af25 febe 374a bef1 eb3b 2b73 df5c a5fe
    9dc3 d5e9 e31c 97ec 35ca 4002 4beb 0917
    2d72 d0e3 f0ab 8d75 0fcf ce97 500f e869
    875b 7866 1528 7148 99d0 6369 3369 a639
    cb39 f552 a277 62c3 1ba8 bdb3 4127 a6ca
    5cdd d934 5f5b a434 a20e 980c 7bfd 6f40
    7029 d9aa 294f 321e 4eab 8130 adf3 140a
    5352 328b 6713 25ac c37a d33a 2be9 3699
    459c fc7a 1b10 7e99 8b74 cc60 e5b9 3a85
    edbb 7baf 2205 34a4 c10e 6d79 1e44 239f
    dad3 ee10 b76f 76fa 569c 3b73 81e0 0848
    db89 4efd c520 163e af72 b83b ff3b a924
    d2f1 120d 75df f7ae 3922 1b2a ee39 5efd
    3ade 6a0e f24e f14d 7444 d7b6 3c3a 5ab6
    2345 420d e9a4 1811 807e 9c29 5da3 f9a0
    f7cb ba53 b3f1 69c4 b76d fa9d 6a0a 0184
    a69c fe16 42d9 71a9 85b9 1b01 8870 40b1
    585a c191 a101 39b4 2203 b662 2a17 50fc
    93ac 3a2d 2b27 22f4 ff60 f7d1 fd59 feda
    1477 c56f 816a 0199 34b7 ba4c 4950 6af8
    b7bf c409 d48a e701 2894 1be1 3ac9 d4b1
    Is it possible at all to enable TRIM support in this case? And if yes, what did I miss?
    Last edited by Atragor (2012-07-01 19:19:14)

    Good, my guess then would be that your trim is working already and you should be able to invoke it also with fstrim manually to get a positive confirmation in bash.
    The reason you don't see the zeros in your check should be that the hdparm reports back the wrong starting sector of the file due to offsets. See here for a thorough explanation by the developer and here another summary.

  • Port Forwarding doesn't work even though I did everything properly

    I am trying to set up a server that went down after I tried a different way of hosting it with a program that messed everything up and when ever i try forwarding any port, even though I know how, I do everything I need to do and I check if my port is open on canyouseeme.org and it shows up as no route to host.  Is there a firewall in the airport i need to disable for it to work?

    Problem fixed. Had to uninstall Flash from the control panel and then reinstall.

  • Have Yosemite AND IOS 8.1 but SMS forward doesn't work!

    I have the latest versions of Yosemite and IOS 8.1 both devices are logged into icloud and message forwarding says that it is enabled - everything is set up as it should be and yet when I try to send an SMS message from my mac it tells me the number is not registered with imessage - what is going wrong please and how do I fix it?

    Hi,
    Sending SMS from my iMac is something I have yet to test.
    Nothing has been added to the menus to suggest starting an SMS messages as opposed to an iMessage.
    There again the menu items that used to be a Drop down as part of "New Message" is also lacking on directing it to the iMessages account or any other account you might have.
    9:58 pm      Monday; November 3, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • X11 forwarding from mac to windows laptop doesn't work

    Hi,
    I ssh into my mac computer from my windows laptop. However, the x11 forwarding is not working (ie, the x window is not forwarded to my laptop). I'm pretty sure this is a problem with the mac and not my laptop, because if I ssh into a unix machine the x window forwarding to my laptop works fine. Does anyone know how to get the x11 forwarding to work?
    thanks
    Beth

    beth23 wrote:
    I'm trying to forward the windows from xemacs and gnuplot.
    What happens when you try to run them? Do you get any kind of error message? Have you tried just xterm?
    Is it possible you have DISPLAY set to something on the Mac side?
    Currently I am using putty to connect to the mac via ssh (and have the enable X windows forwarding box checked), and I have Xming running on my laptop to display the x windows. This setup works fine for connecting to unix machines, but it doesn't work for connecting to the mac.
    Does the Mac have the firewall turned on?

  • X11 Forwarding to my 10.4.3 Desktop Doesn't work

    It seems to be that I can forward an X11 session to my 10.4.3 machine from a Linux or SGI machine using the -Y flag, but forwarding from 10.4.x Mac to 10.4.3 Mac, this does not work. Neither does -X or no flag at all. Forwarding to a 10.4.2 machine from a Mac DOES work (no flag, -X, AND -Y). ARGH!! X11 Forwarding used to be so simple!

    hi Chris.
    One thing I've noticed fairly recently is that in order for forwarding to work, the shell you are issuing the ssh -Y [email protected] from must first have the DISPLAY variable set to (say) .0. In other words, in a Terminal.app window, this works:
    export DISPLAY='.0'
    ssh -Y [email protected]
    and this doesn't:
    export DISPLAY=""
    ssh -Y [email protected]
    Of course, both machines have to be given permissions to allow x-forwarding in /etc/ssh_config and /etc/hostconfigure.
    It works for me with every combination of SGI, Linux, Mac and Sun I can think of.
    G5 2x2.5 GHZ and a few others   Mac OS X (10.4.3)  

  • X11 Forwarding with SSH not working [SOLVED]

    I'm trying to follow the X11 forwarding guide on the wiki but to no avail.
    I'm using Putty and Xming from a Windows machine to SSH into the ArchLinux machine over my home network.
    When I log in through SSH with X11 forwarding enabled, my display variable is set to "localhost:10.0". Running xclock gives me the following error: "Error: Can't open display: localhost:10.0".
    I'm pretty sure Xming isn't the problem, since if I manually change the DISPLAY variable to "[my windows machine IP]:0.0", I can run xclock and see it appear.
    From what I can see, it should be working.
    Complete sshd_config below:
    #    $OpenBSD: sshd_config,v 1.87 2012/07/10 02:19:15 djm Exp $
    # This is the sshd server system-wide configuration file.  See
    # sshd_config(5) for more information.
    # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
    # The strategy used for options in the default sshd_config shipped with
    # OpenSSH is to specify options with their default value where
    # possible, but leave them commented.  Uncommented options override the
    # default value.
    #Port 22
    #AddressFamily any
    #ListenAddress 0.0.0.0
    #ListenAddress ::
    # The default requires explicit activation of protocol 1
    #Protocol 2
    # HostKey for protocol version 1
    #HostKey /etc/ssh/ssh_host_key
    # HostKeys for protocol version 2
    #HostKey /etc/ssh/ssh_host_rsa_key
    #HostKey /etc/ssh/ssh_host_dsa_key
    #HostKey /etc/ssh/ssh_host_ecdsa_key
    # Lifetime and size of ephemeral version 1 server key
    #KeyRegenerationInterval 1h
    #ServerKeyBits 1024
    # Logging
    # obsoletes QuietMode and FascistLogging
    #SyslogFacility AUTH
    #LogLevel INFO
    # Authentication:
    #LoginGraceTime 2m
    PermitRootLogin no
    #StrictModes yes
    #MaxAuthTries 6
    #MaxSessions 10
    #RSAAuthentication yes
    #PubkeyAuthentication yes
    # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
    # but this is overridden so installations will only check .ssh/authorized_keys
    AuthorizedKeysFile    .ssh/authorized_keys
    #AuthorizedPrincipalsFile none
    # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
    #RhostsRSAAuthentication no
    # similar for protocol version 2
    #HostbasedAuthentication no
    # Change to yes if you don't trust ~/.ssh/known_hosts for
    # RhostsRSAAuthentication and HostbasedAuthentication
    #IgnoreUserKnownHosts no
    # Don't read the user's ~/.rhosts and ~/.shosts files
    #IgnoreRhosts yes
    # To disable tunneled clear text passwords, change to no here!
    #PasswordAuthentication yes
    #PermitEmptyPasswords no
    # Change to no to disable s/key passwords
    ChallengeResponseAuthentication no
    # Kerberos options
    #KerberosAuthentication no
    #KerberosOrLocalPasswd yes
    #KerberosTicketCleanup yes
    #KerberosGetAFSToken no
    # GSSAPI options
    #GSSAPIAuthentication no
    #GSSAPICleanupCredentials yes
    # Set this to 'yes' to enable PAM authentication, account processing,
    # and session processing. If this is enabled, PAM authentication will
    # be allowed through the ChallengeResponseAuthentication and
    # PasswordAuthentication.  Depending on your PAM configuration,
    # PAM authentication via ChallengeResponseAuthentication may bypass
    # the setting of "PermitRootLogin without-password".
    # If you just want the PAM account and session checks to run without
    # PAM authentication, then enable this but set PasswordAuthentication
    # and ChallengeResponseAuthentication to 'no'.
    UsePAM yes
    #AllowAgentForwarding yes
    AllowTcpForwarding yes
    #GatewayPorts no
    X11Forwarding yes
    X11DisplayOffset 10
    X11UseLocalhost yes
    PrintMotd yes
    #PrintLastLog yes
    #TCPKeepAlive yes
    #UseLogin no
    UsePrivilegeSeparation sandbox        # Default for new installations.
    #PermitUserEnvironment no
    #Compression delayed
    #ClientAliveInterval 0
    #ClientAliveCountMax 3
    #UseDNS yes
    #PidFile /run/sshd.pid
    #MaxStartups 10
    PermitTunnel yes
    #ChrootDirectory none
    #VersionAddendum none
    # no default banner path
    Banner /etc/issue
    # override default of no subsystems
    Subsystem    sftp    /usr/lib/ssh/sftp-server
    # Example of overriding settings on a per-user basis
    #Match User anoncvs
    #    X11Forwarding no
    #    AllowTcpForwarding no
    #    ForceCommand cvs server
    Last edited by gixr (2013-01-11 22:37:35)

    It's easy.
    Start Xming.
    Configure SSH (here's my confg):
    #       $OpenBSD: sshd_config,v 1.84 2011/05/23 03:30:07 djm Exp $
    # This is the sshd server system-wide configuration file.  See
    # sshd_config(5) for more information.
    # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
    # The strategy used for options in the default sshd_config shipped with
    # OpenSSH is to specify options with their default value where
    # possible, but leave them commented.  Uncommented options override the
    # default value.
    Port 22
    #AddressFamily any
    #ListenAddress 0.0.0.0
    #ListenAddress ::
    # The default requires explicit activation of protocol 1
    #Protocol 2
    # HostKey for protocol version 1
    #HostKey /etc/ssh/ssh_host_key
    # HostKeys for protocol version 2
    #HostKey /etc/ssh/ssh_host_rsa_key
    #HostKey /etc/ssh/ssh_host_dsa_key
    #HostKey /etc/ssh/ssh_host_ecdsa_key
    # Lifetime and size of ephemeral version 1 server key
    #KeyRegenerationInterval 1h
    #ServerKeyBits 1024
    # Logging
    # obsoletes QuietMode and FascistLogging
    #SyslogFacility AUTH
    #LogLevel INFO
    # Authentication:
    #LoginGraceTime 2m
    PermitRootLogin no
    #StrictModes yes
    #MaxAuthTries 6
    #MaxSessions 10
    #RSAAuthentication yes
    #PubkeyAuthentication yes
    # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
    # but this is overridden so installations will only check .ssh/authorized_keys
    AuthorizedKeysFile      .ssh/authorized_keys
    # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
    #RhostsRSAAuthentication no
    # similar for protocol version 2
    #HostbasedAuthentication no
    # Change to yes if you don't trust ~/.ssh/known_hosts for
    # RhostsRSAAuthentication and HostbasedAuthentication
    #IgnoreUserKnownHosts no
    # Don't read the user's ~/.rhosts and ~/.shosts files
    #IgnoreRhosts yes
    # To disable tunneled clear text passwords, change to no here!
    #PasswordAuthentication yes
    #PermitEmptyPasswords no
    # Change to no to disable s/key passwords
    ChallengeResponseAuthentication no
    # Kerberos options
    #KerberosAuthentication no
    #KerberosOrLocalPasswd yes
    #KerberosTicketCleanup yes
    #KerberosGetAFSToken no
    # GSSAPI options
    #GSSAPIAuthentication no
    #GSSAPICleanupCredentials yes
    # Set this to 'yes' to enable PAM authentication, account processing,
    # and session processing. If this is enabled, PAM authentication will
    # be allowed through the ChallengeResponseAuthentication and
    # PasswordAuthentication.  Depending on your PAM configuration,
    # PAM authentication via ChallengeResponseAuthentication may bypass
    # the setting of "PermitRootLogin without-password".
    # If you just want the PAM account and session checks to run without
    # PAM authentication, then enable this but set PasswordAuthentication
    # and ChallengeResponseAuthentication to 'no'.
    UsePAM yes
    #AllowAgentForwarding yes
    AllowTcpForwarding yes
    #GatewayPorts no
    X11Forwarding yes
    X11DisplayOffset 10
    #X11UseLocalhost yes
    #PrintMotd yes
    #PrintLastLog yes
    #TCPKeepAlive yes
    #UseLogin no
    #UsePrivilegeSeparation yes
    #PermitUserEnvironment no
    #Compression delayed
    #ClientAliveInterval 0
    #ClientAliveCountMax 3
    #UseDNS yes
    #PidFile /run/sshd.pid
    #MaxStartups 10
    #PermitTunnel no
    #ChrootDirectory none
    # no default banner path
    #Banner none
    # override default of no subsystems
    Subsystem       sftp    /usr/lib/ssh/sftp-server
    # Example of overriding settings on a per-user basis
    #Match User anoncvs
    #       X11Forwarding no
    #       AllowTcpForwarding no
    #       ForceCommand cvs server
    Putty setting: http://i.ztjuh.tk/20130111075624803.png
    Click on Open and run your program
    Last edited by Ztjuh (2013-01-11 08:01:00)

  • Back button forward button, reloading tab (app tabs too) doesn't work.

    i switched my adcdons off and even went to safe mode still back and forward buttons dont work for me. clicking the app button after restarting firefox made the icon (facebook in this case) do nothing. right clicking and making it reload resulted in icon going blank. very frustrating after updating ff to 4 which looks great but doesn't work properly.
    also - your troubleshooting info complained just when i tried to submit that the value has at most 30000 characters and mine has 55000 but all i did was copy to clipboard from the help troubleshooting so please make up your mind, do you want the info or not :)

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

Maybe you are looking for