[SOLVED] Problem with adding a SSH connection to startup

Hi guys. I have a problem with adding ssh connection to startup. i want this command to run before kde login screen  and keep running all time.
ssh -D 9292 remoteuser@remotehost
but it doesnt connect. Thanks for help!
Last edited by alperenel (2011-03-11 00:10:27)

cactus wrote:
ssh -fN -D 9292 remoteuser@remotehost
you need -f, which sends ssh to the background, and -N which does not execute a remote command.
If you need it to run as a user other than root, then you probably need to utilize su as well.
it didnt work either. i am putting it in rc.local but doesnt work.

Similar Messages

  • [SOLVED]problem with GNOME and wireless connection

    Hi!
    I'm new to Arch Linux, and have run into a few problems after installation.
    My computer is a HP Pavilion dv6000.
    I installed using "xf86-video-nouveau" driver, as i understand this is the best choice for "Nvidia Geforce Go 7400". Is it?
    I also installed the complete "gnome", "gnome-extra", "gdm", "gnome-tweak-tool" and "gnome-shell-extensions" packages, but when I boot into gdm login, it automatically starts in fallback mode (the one who has "applications" and "places" in the top panel instead of "activities". What am I doing wrong here?
    Btw, when I go to System settings - system info - graphics, there are three lines; "Driver", "Experience", "Forced Fallback Mode". "Driver" line only says driver, and is blank after. "Experience" line says "Fallback".  "Forced Fallback Mode" is set to OFF.
    Also, I cannot figure out how to get my wireless network set up correctly.
    When i open System Settings - Network, I get an error saying System network is not compatible with this version.
    Any help with this woill be greatly appreciated!
    $ iwconfig
    lo        no wireless extensions.
    wlan0     IEEE 802.11abg  ESSID:off/any 
              Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Power Management:on
    eth0      no wireless extensions.
    Last edited by pkuvaas (2012-01-18 21:57:46)

    pkuvaas wrote:
    Thanks!
    -dri driver worked. But if the NVIDIA driver works better, I should probably consider using that one.
    I tried to install the NVIDIA binary driver, but when i tried to run
    # chmod -X NVIDIA-Linux-x86-290.10.run
    # ./NVIDIA-Linux-x86-290.10.run
    I got a message telling me to close x first.
    How can I do this?
    Ho ho ho buddy, I see you're trying to install the nvidia driver from the website. Have another look here:
    https://wiki.archlinux.org/index.php/Nvidia#Installing
    the drivers are available through pacman Installing the driver through pacman will automatically take care of removing things that conflict and installing things you need to ge t the NVIDIA driver to work.
    NVIDIA _might_ be better, 3d support in nouveau is still somewhat experimental and nouveau doesn't have all the power management features yet. It'll be something to experiment with. Have a good read of the NVIDIA and NOUVEAU wiki articles
    pkuvaas wrote:
    As for the wireless issue, I googled around a bit and found that the driver I need is ilw3945.
    I added this to /etc/rc.conf:
    DAEMONS=(...ilw3945...)
    as it seems the drivers are included in udev.
    However, when i try to open System Settings -> Network, it says
    The system network services are not compatible with this version.
    So I'm getting a little restless to find out what I can do to get the wireless network configurated properly, and how I can do it.
    Any ideas?
    First I think you've fundamentally misunderstood something. Drivers for linux come in module form, not in DAEMON form. A DAEMON is an application that runs in the background (sound server, network service, etc etc).
    ilw3945 would have to be added to your MODULES section in /etc/rc.conf if that is the module you need.
    humor me and post the output of this command:
    $ lspci

  • [SOLVED] Problem with adding package update count to dwm's status bar

    Following http://www.andreascarpino.it/blog/posts … s-part-ii/, I added:
    $ crontab -l
    */10 * * * * ~/bin/tempdb
    Along with
    #!/bin/bash
    # ~/bin/tempdb
    fakedb=/dev/shm/fakepacdb
    realdb=/var/lib/pacman
    [[ ! -d $fakedb ]] && { mkdir -p "$fakedb/sync" || exit 1; }
    [[ ! -L $fakedb/local ]] && { ln -s "$realdb/local" "$fakedb" || exit 2; }
    exec fakeroot pacman --dbpath "$fakedb" -Sy
    pkgs=$(pacman --dbpath "$fakedb" -Qqu | wc -l)
    aurpkgs=$(cower -udf 2> /dev/null | wc -l)
    unset msg1
    unset msg2
    unset packages
    msg1="pacman: 0"
    msg2="aur: 0"
    if [[ ${pkgs} -gt 0 ]]; then
    msg1="pacman: ${pkgs}"
    fi
    if [[ ${aurpkgs} -gt 0 ]]; then
    msg2="aur: ${aurpkgs}"
    fi
    updb="UPDB: ${msg1}, ${msg2}"
    export updb
    The problems is with being able to export the variable updb, because exporting only exports to subshells. I also have my ~/bin/dwmstatus script:
    #!/bin/bash
    sep=" | "
    volsep="VOL"
    datesep="DATE"
    timesep="TIME"
    vol=$(amixer get Master | tail -1 | sed 's/.*\[\([0-9]*%\)\].*/\1/')
    volstat=$(amixer get Master | tail -n 1 | cut -d' ' -f 8-)
    sdate=$(date +"%B %d")
    stime=$(date +"%r")
    if [[ ${volstat} == "[off]" ]];
    then
    vol="--%"
    fi
    out="${updb} ${sep} ${volsep} ${vol} ${sep} ${datesep} ${sdate} ${sep} ${timesep} ${stime}"
    xsetroot -name "${out}"
    I only want the checking of updates to occur every few minutes (for now I tried 10), and just using the exported variable that contains the whole
    "UPDB: pacman:3, aur:1",..
    I'm not exactly sure how to fix my hacked-together scripts. When I simply run the tempdb script, it doesn't do much exept for updating to the fake database, but being able to use the updb variable has not worked yet. I also tried sourcing the script, but that just quits urxvt when running in dwm, and it logs me out when sourcing from plain X.
    I guess my main question is: what is the best way to show updates from the dwm status bar, or how can I fix what I am trying to do now?
    Last edited by wolfcore (2012-03-17 00:21:47)

    jasonwryan wrote:
    I use this:
    crontab -e
    @hourly /home/jason/Scripts/checkupdates
    grep ups Scripts/dwm-status
    ups(){
    ups="$(/tmp/aurupdates | wc -l)"
    if [ $ups = 0 ]; then
    echo "0"
    else echo -en "$ups"
    fi
    Script is keenerd's from here: http://www.mail-archive.com/pacman-dev@ … 08405.html
    Okay, I see it. But your ups() function checks /tmp/aurupdates; how do you check for AUR updates? I looked at your repos, and saw
    pac()
    pup="$(pacman -Qqu --dbpath /tmp/checkup-db-jason/ | wc -l)"
    if [ $pup == 0 ]; then
    echo "0"
    else
    echo -en "\x05$pup\x01"
    fi
    This is what you use along with keenerd's checkupdates, right?

  • Problems with AOL IMAP server connection on my BlackBerry Z10 STL100-3, and BB PlayBook 64GB WiFi

    Problems with AOL IMAP server connection on my BlackBerry Z10 STL100-3, and BB PlayBook 64GB WiFi
    Thursday 4:20am EST, 02-19-2015
    Hi, My connection to the AOL IMAP server has suddenly failed - Says "Not Connected" on Accounts page
    I haven't changed anything and this just started failing this morning.
    I've saw same issue on my Blackberry PlayBook 64GB.
    Is anyone else recently experiencing AOL IMAP Errors?
    Solved!
    Go to Solution.

    Yes! Same thing happened suddenly to my Z10 this morning. No AOL. 

  • I'm having problems with my mobile internet connection

    I'm having problems with my mobile internet connection. Wifi works fine. It seems like my connection get lost every tuesday and friday between 11 and 12 am local time (guess it would be between 2 and 3 am Los angeles time for example). The connection won't comeback by itself. I have to turn the phone, iPhone 4s iOS 5.0.1, off and back on again. The connection immediatly works fine after the restart and stays fine for days. I really don't know what to do. My provider doesn't seem to know either. Tried a lot of things, new settings, resets, I even got a new iPhone. Still the same problem however. Richt now I changes the time setting to see it the problem occurs at another time. Btw: the phone doesn't say "no service" and I can send sms messages and make phonecalls. The 3G symbol or the circular symbol is shown next to the name of the provider.
    Does somebody has an idea what this might be? Thanks a lot.

    Update. My carrier says the antenna of my iPhone 4s is not so good as the one in the iPhone 3G. They can't solve the problem. Their signal is too weak for the 4s at places I spend most of my time. Not the answer I expected, but I'm free to choose an other carrier. Hope this will help.
    This was not the correct answer, I accidentially clicked the button..
    Message was edited by: vasch

  • How can I debug a problem with the 3g data connection on my iPhone 4s?

    This question didn't get any answers in the "Using iPhone" forum. Thought I would re-ask here. Note, I had to reset the network again today 2 days after the last reset:
    I've been having intermittent problems with my 3g data connection on my iPhone 4s on ATT. Whenever this happens I see full bars etc, but can't browse from safari or get any data in other apps. My wife's iPhone 4 right next to me has no issues at all. Switching on/off airplane mode and turning off/on Cellular Data does not help. The only thing that helps is resetting the Network Settings or hard restarting the phone.
    I figured my problems were hardware related so I took my phone in for a replacement the other day. Things started out fine but after I upgraded it to 5.01 and restored my backup and now I am back to having the same issue today. I assume the issue is with something coming from my backup / restore but is there any way for me to pinpoint what could be causing the issue. I have a lot of apps, I'd rather not have to reinstall and set them all backup manually, but I would if I knew that would fix the problem... but for all I know one of the apps could be causing it.
    Anyone have any logs I can check or testing I can do on my end?
    Thanks!

    Unfortunately, Apple does not make any logs available to the average schmoe (like us) for networking, kernel dumps, or anything else (assuming, of course, it is not jailbroken).
    Your best bet is to take it back into the store. Ask them to look at the notes in GCRM regarding the last time this occured, then explain after upgrading to 5.01 it is occuring again. Then ask them for a phone swap since it is a reoccuring issue and doesn't sound like an OS/SW issue. Good luck!

  • Problem with adding Sun JSF RI v1.2 as a new library in JDeveloper 10.1.3.1

    Hi,
    I have a problem with adding a latest JSF 1.2 RI from Sun (https://javaserverfaces.dev.java.net/files/documents/1866/44998/jsf-1_2_03.zip) to JDeveloper as a new library.
    I created a new User library and added into it jsf-impl.jar and jsf-api.jar from JSF 1.2 RI.
    Then I try to create two new JSP Tag libraries based from .tld files.
    When a .tld file is placed in "TLD File:" field there is no information below about Library Version and Required JSP Version. If I check "Execute Tags in JSP Visual Editor" and click "Customize" button - list of tags in "Customize Tag Library" window is empty.
    I have errors when I try to use JSF Tags from this new library in JSP page like :
    "Can't create tag instance: f:view (class: null). Make sure, that the tag class or a library contained this class is available in this application"
    (free translation to English)
    Is this possible to add JSF RI v1.2 as another library in Jdeveloper 10.1.3.1 ?
    thanks for help
    koli

    Hi,
    This solution is not exactly for Jdeveloper 10.1.3.x I think.
    - "Create a JSF system library." section, point 2. - there is not possible to add library in folder other than User I see, so I added it in User folder.
    - "Register the JSF JSP tag libraries." section, point 5. - in JD 10.1.3 there is no dialog box, I checked checkbox "Show Tag Library in Palette". A new library was added to User folder but there is no new libraries in component Palette.
    Even as I use "Edit tag libraries .." from Component Palette context menu and add manually new tag libraries to selected, there is no libraries in Component Palette after it.
    I feel so problem is with different .tld files format, not with adding libraries method.
    Sun RI tld file (from version 1.2_03) fragment:
    <taglib xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
    version="2.1">
    <!-- ========== Tag Library Description Elements ========================= -->
    <description>
    The core JavaServer Faces custom actions that are independent of
    any particular RenderKit.
    </description>
    <tlib-version>1.2</tlib-version>
    <short-name>f</short-name>
    <uri>http://java.sun.com/jsf/core</uri>
    tld included in JD:
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
    "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
    <!-- ========== Tag Library Description Elements ========================= -->
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>f</short-name>
    <uri>http://java.sun.com/jsf/core</uri>
    <description>
    The core JavaServer Faces custom actions that are independent of
    any particular RenderKit.
    </description>
    Did JDeveloper 10.1.3.x maintain with taglib version 1.2 ?
    Regards
    koli

  • Problem with adding new field to the mass change screen in FBL5N

    Hi,
    We have a problem with adding the field XREF3 to the mass change screen. We followed steps described in the SAP Note 640908, but the result is that when we try to mass change some documents in FBL5N and enter some values in the mass change screen, a message appears: "Please enter at least one new value" and nothing is changed.
    If you have faced with such a problem, we would be grateful if you give us some tips.
    Regards,
    Miłosz Włodarczyk

    The problem has been resolved: we didn't activate a code in SE80.

  • Problems with adding Library for a MySQL JDBC driver

    Good day,
    I am new with the JDeveloper package, so the following could be a user fault.
    I found the following:
    - I downloaded and installed Oracle JDeveloper 10.1.2.1.10 (latest version).
    - I downloaded the latest JDBC drivers for MySQL. ( mysql-connector-java-3.1.10 )
    Now, I did the following steps extracted from the link http://www.oracle.com/technology/products/jdev/tips/duff/mysql_and_oc4j3.html it should be quite easy to add the JDBC Drivers to the project.
    I did the steps with the following results:
    When I Edit the Project properties, follow Profiles -> Development -> Libraries
    When I do ' New' , fill in at JS2E the value 'MySQL' and fill in the Class Path (in my case 'C:\javaInstalls\mysql-connector-java-3.1.10\mysql-connector-java-3.1.10-bin.jar').
    In that case the [OK] is disabled. I should expect the [OK] button was enabled!
    My question: Is this a bug? When not, what am I doing wrong!
    Regards,
    Mike

    I tried it on an other system and had no problems with adding the libraries. It still is a problem on that particular system using the Dutch version of XP. The problem is that the Ok button stays disabled !
    Could it bw a version problem with Java? How ever no changes are made to the original configuration, so it should pick up as default the java version of JDeveloper self.

  • SOLVED - Problem with setup online accounts

    Good day,
    I'm trying to setup gtalk on empathy, but I have a problem with adding me to online accounts. I just can't click to add account. It's inactive. Screenshot.
    Do you have some advice for me?
    Thank you!
    Last edited by E_user (2012-07-16 09:42:21)

    You might want to edit the thread title to something more descriptive.

  • I had a problem with my WRT54GS not connecting to my inte...

    I had a problem with my WRT54GS not connecting to my internet until I cloned my old routers mac address. I was using a BEFW11S4 which was bullet proof and worked for several years until I changed to Wireless G. Upon purchasing the WRT54GS and setting up all parameters exactly like I had before I could not make any connections, wireless or otherwise until I cloned my mac address to the same address as my previous router. Apparently my ISP had that mac address registered and would not properly perform DHCP even though all other paremeters were correct. I read lots of messages here on line with issues with the WRT54GS connecting and this fixed my problem outright. If you upgrade from a previous generation router (Linksys or otherwise apparently) copy your old routers mac address and clone it to your new router and you should be able to connect. This fixed my problem after several hours and days of troubleshooting. Good Luck Karnage

    As an alternative to using MAC address cloning, you can phone your ISP, tell them you have a new router, and tell them to reset their system to accept the MAC address of your new router.   This way, you won't have to remember the old MAC address, in the event that you need to reset your router to factory defaults.

  • When Apple solve problems with new iTunes calendar sync with windows and outlook?

    When Apple solve problems with new iTunes calendar sync with windows and outlook?

    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID
    More Info here...
    Apple ID FAQs  >  http://support.apple.com/kb/HT5622
    If necessary...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Problem with not getting Internet Connect on AirPort Express

    Problem with not getting Internet Connect on AirPort Express (version7.6.4). Error says cannot get valid IP address. Have reset Siemens SpeedStream 4100 several time, even with tech support from the big "A" DSL provider. Plug MacBook Pro directly into modem and works fine. Unplugged AirPort, even reset it, still no luck. A bad Express?? or am not looking in the right place to make connection. Was working fine up until Sunday.

    Connect the AirPort Express (AX) to the cable modem via Ethernet cable.
    In configuring the AX using AirPort Utility:
    Under Internet, set the connection to be Ethernet using DHCP.
    Under Connection Sharing, set it to distribute a range of IP addresses.
    Under AirPort>Wireless, set the Wireless Mode to Create a wireless network, and fill in the remaining settings in the same window. Until you get it working, you might want to set Wireless Security to None.

  • Problems with adding funds

    Hey guys , I have a problem with adding funds in my PSN account with my debit card . I have used the same card in the past with no problems at all but now for some reason it keeps on saying that the card number is invalid every single time ! Please help me , is there any solution ? Does it maybe has to do with Capital Control ( I live in Greece ) 

    Thanks I use this
    2.) You can make one of your buttons the default
    button of the frame:
    this.getRootPane().setDefaultButton(confirm);
    well, did you implement the first suggestion of quitte?
    here is an idea that might work!
    JTextField username;
    JPasswordField password;
    JButton confirmButton;
       username.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent ae){
             password.requestFocus();                    
       ActionListener l = new ActionListener(){
          public void actionPerformed(ActionEvent ae){
             //optional check for username and password length>0
            //process logon.
       password.addActionListener(l);
       confirmButton.addActionListener(l);

  • Solve Problem with USB Connection / Read this it i...

    i can not load maps on my n97 mini. the error 'usb connection lost...' show on the screen in map loader but at the first day i had no problems.
    i wonder why. i look for driver, ovi suite, pc suite, usb at the pc, read in the forum and many more. but nothing solve the problem. after 2 days i use accidentally the original cable which comes with the nokia n97 mini (it is a ca-101) and all my problems are gone ! bevor i use an 'old' ca-101 cabel from my n82 and i can not upload a map but the handy is shown in the pc system with all drivers and no problems. only loading big megabytes data on the handy crashes the usb connection. with the n97 mini ca-101 cabel no problem with gigabytes. i look for another ca-101 cable from the 6220 from my wife and i have the same problems (i never used bevor this cable for a connection to any handy ! it was brand new !). it seems that 'old' ca-101 cabels do not handle big data with the n97 mini. i look on the gold spring clips in the micro usb and could see that the are a little smaller and not so high in the jack in the 'old' cables. all three cables are original from nokia and not from china ! if you are also problems look on the produkt id on the plastics. if the letters are gold you have a cable like my n97 mini cable, but if the letters are black on a silver button you have an 'old' cable.
    i hope i can help another with this maniac problem
    greetings

    I can verify this on win7 with latest PC suite.
    I was using the cable that came with my 6500s as I didn't want to tackle the rats nest of wiring behind my pc.
    This cable is a ca101 with silver writing on the plastic tab, made in China.
    Using this cable, my 6620c would not complete a backup, it would just sit for hours on 2-4%.
    Tested with the ca101 cable that came with the 6620c (gold writing, made in Thailand).
    This time the backup completed in about 2 minutes.
    Thank you so much for finding this, it has been driving me crazy!

Maybe you are looking for

  • Flat file issue in extract program

    Hi All I have developed an extract program, which downloads the data from SAP and dump it in a flat file, in desired format. Flat file contains various rows. In one row, i want to keep 80 charecter length blank at the end. Ex: HDR2345 c 20060125 0r42

  • Omt3e T code /  User screen reference in one attempt.

    Hi i want to add CLN Details Tab in FK02 T code by default for all the users who have the authorizations of FK02 t code , though i knw from t code OMT3E -> User screen reference-> Can add users one by one , but my question is how to make it default f

  • How to call a function defined inside a module loader

    I wanna know...the method of calling a function defined inside a module loader component? Th <mx:ViewStack id="myViewStack" > <mx:Canvas id="Mgmt1"> <mx:Label text="Gopher"/> </mx:Canvas> <mx:Canvas id="Mgmt2" > <mx:Label id="gopherlbl" top="-2" left

  • Custom connector pane pattern

    is it possible to create one at all when creating a SubVI? annoyingly, there's no pattern for 5 either side (split into ten equal parts) and i'd quite like that! is there a way or will I just have to use another pattern and just make the wiring look

  • Initial configuration of ACS 5.1 for EAP authentication for Wireless clients

    Hi, I have set-up with below devices : Wireless LAN controller 5508 LAP 3302i and ACS 5.1 since i am new in ACS 5.1 configuration , I need so information to go ahead to configure ACS 5.1. which EAP method to use for wireless client authentication ? w