[Solved] How to connect to a specific getty over ssh android client?

Hey,
I'm trying to setup a sshd for laptop. I want to be able to connect to a specific terminal or a virtual one using android phone.
At the moment I've setup an openssh as per wiki article. But when I connect using ConnectBot for android I see that terminal is trying to "startxfce4", which is already started on the actual laptop, shows me an error and that's it.
I don't use any login manager, just start x automatically on tty1.
Thanks
Last edited by tankas (2014-01-05 10:50:07)

jasonwryan wrote:How do you start X: post your .profile (or whatever)?
autologin with:
#/etc/systemd/system/[email protected]/autologin.conf
[Service]
ExecStart=
ExecStart=-/usr/bin/agetty --autologin username --noclear %I 38400 linux
and Start X at Login:
# ~/.bash_profile
[[ -f ~/.bashrc ]] && . ~/.bashrc
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] & exec startxfce4

Similar Messages

  • How to connect to a specific database in SQL server

    Hi,
    How can I connect to a specific database in SQL server? I used the following statement. But my table is inserted to the 'master' database in the SQL server. How can I insert my tables to the specific database tahta I have created before?
    Connection con;
    String sURL = "jdbc:microsoft:sqlserver://SERVER_NAME:1433";
    con = DriverManager.getConnection ( sURL, sUsername, sPassword);

    Hi,
    When I use the syntax:
    String sURL = "jdbc:microsoft:sqlserver://SERVER_NAME:1433/DATABASE_NAME;selectMethod=cursor";
    it gives an error as follows:
    problems connecting to jdbc:microsoft:sqlserver://SERVER_NAME:1433/DATABASE_NAME;selectMethod=cursor:
    [Microsoft][SQLServer 2000 Driver for JDBC]Unable to connect. Invalid URL.
    What is the way to connect to a specific database?

  • How to connect and export specific schemas in SQL plus

    Hello,
    Wanted to clarify on a few things.
    - Can an Oracle 10g Release 10.2 client be used to connect to a oracle 10.1 database?
    - Is there an option to "connect" (not refer) to a specific schema, say "SchemaA" in SQL plus in order to run a specific sql code on this schema alone?
    - How can we export a specific schema as a dump file in SQL plus-what is the syntax? Assuming username=U;password = PW; Database=DB and schema = Sch
    Thanks a lot.

    - Can an Oracle 10g Release 10.2 client be used to connect to a oracle 10.1 database?
    Yes. O10gR2 client can be used to connect all version of Oracle instance.
    - Is there an option to "connect" (not refer) to a specific schema, say "SchemaA" in SQL plus in order to run a specific sql code on this schema alone?
    connect ShcemaA/pwd@hoststring.
    for e.g.
    connect scott/tiger@oradev
    conn scott/tiger@oradev
    - How can we export a specific schema as a dump file in SQL plus-what is the syntax? Assuming username=U;password = PW; Database=DB and schema = Sch
    Export can be done on Command promt not on SQLPLUS prompt.
    try the following to know all the parameters and usage of exp command.
    c:\> exp help=y
    exp scott/tiger FILE=scott.dmp OWNER=scott GRANTS=y ROWS=y COMPRESS=y

  • WIP310-G2: how to connect to an specific VoIP provider using SIP ?

    Dear all,
    I just received a WIP310-G2 and I am wondering how -or whether- I can configure it to connect to an specific Internet based VoIP provider using SIP
    Cant seem to find how to do it....
    Thanks a lot,
    Alvaro

    You connect your WIP310 to your PC using an USB cable. Then lookup the IP-adresse on the phone and enter that into a browser.
    In the UI select Admin Logon and you can enter all the configuration details for your VoIP provider. I would recommned that you ask your VoIP provider to help you with a guide.
    I used a PAP2T configuration example that worked for my WIP310, which I got from my VoIP provider.

  • How to connect to a specific server node?

    Hi,
    For support purposes, I would need to know how I could force the connection to a specific server node?
    For example, I have the following info in my jcmon:
    Idx
    Name
    Cluster
    Debug
    HTTP
    HTTPS
    P4
    Telnet
    SDM
    Id
    Port
    Port
    Port
    Port
    Port
    Port
    0
    dispatcher
    17313700
    50000
    50100
    50101
    50104
    50108
    0
    1
    server0
    17313750
    50121
    0
    0
    0
    0
    0
    2
    server2
    17313752
    50131
    0
    0
    0
    0
    0
    3
    SDM
    0
    50003
    50119
    0
    0
    0
    50118
    I would like to be able to choose which specific node I'm to use.
    Thank you,
    Jerome M.

    Jerome,
    If by "specific server node" you mean the chice between server0 or server2, there is no choice.
    You can connect only to dispatcher via dispatcher port.
    Dispatcher will make sure your subsequent requests will be processed by the same server node, but, to my best knowledge, it is not possible to tell dispatcher what server node to use for initial connection.
    Why do you need this option?
    Maybe we can suggest you some other working solution.
    Regards,
    Slava

  • How to connect Java Application to ORACLE8i over SSL connection

    Hi,
    I would like to know how to make an existent Java application connect to an ORACLE8i database over a secure SSL connection?
    can I user ResultSets?
    Could you please tell me what parameters to set on the database and, especially, what new code must be added for the Java Application so send data over an SSL connection.
    Your advice/hints will be greatly appreciated.
    Vani

    Use usual Oracle' encryption. SSL configuration is a nightmare.
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Properties props = new Properties();
    try {
    props.put("user", "scott");
    props.put("password","tiger");
    props.put("oracle.net.encryption_client", "REQUIRED");
    props.put("oracle.net.encryption_server", "REQUIRED");
    props.put("oracle.net.encryption_types_client", "( RC4_56 )");
    props.put("oracle.net.encryption_types_server", "( RC4_56 )");
    props.put("oracle.net.crypto_checksum_client", "REQUIRED");
    props.put("oracle.net.crypto_checksum_server", "REQUIRED");
    props.put("oracle.net.crypto_checksum_types_client", "( MD5 )");
    props.put("oracle.net.crypto_checksum_types_server", "( MD5 )");
    props.put("sqlnet.crypto_seed", "769764576979045769576907");
    } catch (Exception e) { e.printStackTrace(); }
    Connection conn=DriverManager.getConnection("jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=orcl)(PORT =1521)))(SDU=32767)(CONNECT_DATA=(SERVICE_NAME=orcl)(SID=orcl))", props);
    Statement stmt = conn.createStatement ();
    ResultSet rset = stmt.executeQuery ("select ENAME from EMP");
    while (rset.next ())
    System.out.println (rset.getString (1));
    rset.close();
    stmt.close();
    conn.close();

  • [SOLVED] How to Connect to a Linksys Switch

    Does anyone know how I can connect to a linksys ethernet switch? It seems dhcp isn't working....
    Last edited by tony5429 (2009-07-27 22:03:30)

    tony5429 wrote:Sorry; I was in a hurry when I posted the question. The switch is not connected to the internet. I tried connecting to it the way I've always connected to routers in the past - using the network daemon during boot-up. But this time it failed - I think I got a dhcp timeout notification. In my /etc/rc.conf I have eth0="dhcp" and INTERFACES=(eth0). I also tried using WICD which I have installed on the computer (it's a laptop with a wifi chip) by enabling the wicd daemon, disabling the network daemon and blacklisting the eth0 interface; but when WICD tried to connect to the switch, I got an error saying it was unable to acquire an IP address. Please correct me if I am wrong but I suspect this all means I am going to need to specify my own static IP address as the switch is not going to assign one to me automatically. If that is the case, how do I go about specifying my own IP address? Thanks!!
    As mentioned by arkham, switches operate at Layer 2, which isn't aware of IP addresses (Layer 3). So if this is actually a switch (not a router) then no, you won't be able to get a DHCP lease from it since it's not running a DHCP server.
    If there's nothing else on your network acting as a DHCP server, which it doesn't sound like there is, then you'll need to set a static IP.
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    #   - prefix an entry in INTERFACES with a ! to disable it
    #   - no hyphens in your interface names - Bash doesn't like it
    # DHCP:     Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    eth0="eth0 10.16.1.175 netmask 255.255.255.0 broadcast 10.16.1.255"
    INTERFACES=(eth0)

  • [SOLVED]how to connect remotely to a windows machine

    hello all,
    I've tried both rdesktop and tsclient but both of them will log out the computer im trying to remotely control and thats not exactly want. You know just like dellconnect does with its clients and lets them see what the fuck is happening. Both rdesktop and tsclient will only leave the client computer all logged out without any clue to whats happening. Is there any other software that can achieve this kind of behavior?
    thanks
    Last edited by aluser (2011-02-20 03:46:21)

    Wittfella wrote:vnc
    That's exactly what I was looking for. Solved.

  • How to connect MBA to Windows domain over Wi-Fi?

    Hi. I`m on a university campus. MBA automatically picks up wi-fi connection, which is great. Because MBA does not have an Ethernet port, how do I join my office's Windows 2003 network domain over Wi-Fi? Thanks for any help I can get!

    Hi dufus,
    Are you looking to access domain resources over WiFi? Such as printers, AD resources, etc.? This sounds like a question for the domain administrators, unfortunately. Reason I say that, the domains that I manage at work specifically restrict access to resources based on connection Subnet and VLAN. As such unless you're hard wired to specific ports you don't get access to my resources.
    Everyone manages their domains differently and without knowing how your domain is configured it's impossible to recommend steps.

  • [SOLVED] How cat I make an http proxy from ssh?

    Hi.
    I can tunnel to ssh server using this:
    ssh -N -D $myport $user@$serverip
    It's working good. I tunneled to the server.
    But I have a problem!
    the created proxy is a Socks v5 proxy. I want to create a http proxy how can i do it?
    Thanks! I waiting for your answers...
    Last edited by ojZim (2013-05-26 17:55:36)

    Gusar wrote:
    You can't. What you can do is run a local http proxy that uses the ssh-created Socks5 as parent. Example config for polipo:
    daemonise=true
    proxyAddress=127.0.0.1
    proxyName=localhost
    allowedClients=127.0.0.1
    socksParentProxy=localhost:7777
    socksProxyType=socks5
    7777 is an example, use $myport there. The default polipo port is 8123, meaning apps should be configured to use localhost:8123 as proxy.
    Thanks for your help! It's worked very good and my problem is solved.
    For installing and configuration polipo, other users can read this:
    https://wiki.archlinux.org/index.php/Polipo
    Last edited by ojZim (2013-05-26 17:56:39)

  • How to connect Xperia ray with PC over WiFi after ICS update?

    Please don't tell me this option is now disabled. I also have the WiFi drop issues like many people before me but i assume we will have to wait untill the update for that fix. Needless to say, phone was working perfectly before this update.

    The issue is with WPA and WPA2:
    0day 00:59:03 wlan0: A wireless client is associated - XX:XX:XX:XX:XX:XX
    0day 00:59:06 wlan0: A STA is rejected by 802.1x daemon - XX:XX:XX:XX:XX:XX
    0day 00:59:06 wlan0: WPA2-AES PSK authentication in progress...
    0day 00:59:06 wlan0: A wireless client is associated - XX:XX:XX:XX:XX:XX
    0day 00:59:10 wlan0: A STA is rejected by 802.1x daemon - XX:XX:XX:XX:XX:XX
    0day 00:59:10 wlan0: WPA2-AES PSK authentication in progress...
    0day 00:59:10 wlan0: A wireless client is associated - XX:XX:XX:XX:XX:XX
    0day 00:59:13 wlan0: A STA is rejected by 802.1x daemon - XX:XX:XX:XX:XX:XX
    0day 00:59:13 wlan0: WPA2-AES PSK authentication in progress...
    0day 00:59:13 wlan0: A wireless client is associated - XX:XX:XX:XX:XX:XX
    0day 00:59:16 wlan0: A STA is rejected by 802.1x daemon - XX:XX:XX:XX:XX:XX
    and so on...
    XX:XX:XX:XX:XX:XX is my MAC
    as you can see in few seconds the phone is connected and then refused by the access point.

  • Connect to a specific instance

    Hi all,
    How to connect to a specific instance in RAC, with out using services and load balancing.
    our requirement is such that, the load balancing is of and my application has to connect to a specific instance at runtime.. where i can specify the SID of the instance or Instance number at runtime.
    Is this possible in RAC, if Yes, how should the connect string should look in the tnsnames.ora

    You can also specify services (using dbca it is very easy)
    When you configure your service define it as prefered on instance1 (if you need HA, you can make it available on instance2)
    Then copy the section from the tnsnames.ora file for the service that you just defined.(dbca automatically updates tnsnames, and crs with the new service definition)
    Just remember that services do not restart automatically after a clean shutdown of the environment. (If it was a crash, they will resume their last state) You will need to script a service restart if you want it to be automatic.

  • How can I keep MAC connected to a specific router on my 3 router home network

    How can I keep MAC connected to a specific router on my 3 router home network? Closest router is Airport in same room but keeps jumping to Belkin router one floor below.

    In the settings, be sure the Channel your router works on is Different than the other.
    Be sure the Security is set, so you login to the correct router with password.
    Have the computer remember the home wireless router of your choice. Not just any.
    Be sure your router in top in the list of connection sources for your computer.
    •Resetting an AirPort base station FAQ
    Perhaps you should check into and maybe reset the airport or other base station
    to be sure it is correct. Maybe after you check the localized System Preferences
    settings for Network, then also into the router. IF it is an Apple AirPort, the info
    should be easy to find in the Help viewer in your OS X or online at Apple Support.
    AirPort + Wi-Fi = Apple Support:
    https://ssl.apple.com/support/airport/
    If you are an experienced user, there are advanced ideas about how to Secure
    a Network and the computer; but these are not for the neophyte and these can
    be viewed as a background since newer OS X versions offer other security...
    Security Guides for OS X (v 10.3/10.4/10.5/10.6)
    https://ssl.apple.com/support/security/guides/
    You can control and secure the computer a few ways. Depending on the vintage
    of the computer, router, and software (in OS X and router) the means can vary.
    Good luck & happy computing!

  • How to connect j2me to sip server

    Hi friends ...
    I am new to this topic and i just want to know how to connect a real sip server with the j2me application .
    I tried using the GoSIP demo given in wtk2.5 . its working fine with local SIP proxy and registrar given in that .
    But i want to connect to a real SIP Server. Even i have a registered sip number.
    Can any one please help me how to sort out this problem as i am very new to this topic. Is there any source given for this ??? If so please tell me ...
    Thanks in advance ......

    is it possible to make
    voice calls from the GoSIP example given in the
    wtk2.5 demo examples ?
    Probably not. Have you tried?
    I have a sip account and i just want to know how to
    register my sip account with the sip server using a
    j2me application .
    Change the SipHeader and / or SipAddress
    What are the changes to be made in the GoSIP example
    to connect to a real sip server and not to the sip
    proxy server
    See above
    and what are the syntax to be changed
    in it ????
    Syntax is a property of the programming language, not the application.
    And one question mark is enough to pose a question, 4 is overkill and perceived as rudeness.
    Please help me in solving out this problem ....
    What have you done to help yourself?
    Read the javadoc for jsr-180
    http://www.forum.nokia.com/document/Java_ME_Developers_Library_v2/GUID-2508C2ED-C0BE-4512-9302-6805AB7ACB0E/index.html
    Introduction to the SIP API for Java ME
    http://dev2dev.bea.com/lpt/a/565
    A presentation on the architecture and capabilites of SIP
    http://phoenix.labri.fr/documentation/sip/Documentation/Papers/Programming_SIP/Presentation/Jain/SIP_for_J2ME.pdf
    Thanks in advance ....
    If you're looking to solve a need by cut-n-paste programming sans understanding, you're unlikely to get it here.
    Increase your level of understanding, experiment with your codes and post back when you have a specific issue.
    Good luck, Darryl

  • How to connect my keynote remote

    how to connect my keynote remote

    Hello,
    to those unable to get Wi-Fi syncing working at your work or institution, it is not the fault of the App, rather it is the fault of the network that you are connecting to.
    It is most likely that the reason that it doesn't work is because the network administrators have closed access to the port that you need for the linking between your iOS device and your Mac. The reason that it works fine at home is because you have those ports that you need locked down. The other reason may be that your iOS device is talking to another base station than your Mac is and some networks also segregate base stations from each other.
    On the Bluetooth side, it might not be working because you are trying it use something like an iPod Touch 2nd generation (or iPhone 3) these devices can only use their Bluetooth headset, nothing else. So if you are trying to connect your Mac and iPod Touch 2nd Gen, you might get them to pair, but you'll never get them to connect. So don't bother.
    So what do you do? Did you just waste your money? Let me assure you that no you didn't.
    This is what you do.
    Go to your Wi-Fi/Airport menu and select "Create Network…" then give it a network name, such as yours or the name of your computer. I would strongly recommend adding 128-WEP encryption so that your classmates/co-workers/viewers can't connect to your computer and start sniffing around. Once you've created a network your Wi-Fi/Airport menu should turn into a grey arc with a computer in the centre.
    Go to your iOS device and under the General -> Network settings select your newly created network
    Enter in the password you just gave your network.
    Once your iOS device is connected to your Mac, you are good to go! Fire up Keynote on your Mac and Keynote Remote on your device.
    Do the linking in the Keynote Settings on your Mac. You should now have control of your presentation!
    A couple of notes: what you are doing is effectively removing yourself from the infrastructure network and creating your own. With that in mind note that you won't have access to the Internet on your iOS device nor your Mac. But unless your presentation includes links to websites, you should be okay. The way around this is to connect your Mac to a wired Ethernet connection and perhaps sharing that Internet connection to your Wi-Fi/Airport port to give to your iOS device as well.
    A tip: If you do the initial set up at home/office with the network and linking and use the same network name and password, you should only have to do step 1, 2 & 4 as your iOS device will have your password stored and the linking already done.
    Hope that helps!
    And yes, I would like to have the ability to jump to a specific page, and also have the ability to black out the screen.
    Cheers, Andrew Jung.

Maybe you are looking for

  • Error with printer setup

    Error with printer setup but everyhing seems to be fine

  • Iphoto glitch with retained masters

    Mavericks 10.9.4 iphoto 9.5.1 I am currently having a mysteriously bulky iphoto even after deleting most my photos. How can I delete the masters of iPhoto without losing my photos in the main iPhoto display library and all their masters and edits. I

  • PDF Thumbnail

    Hi All, I have a folder with images and other type of documents (ex. PDFs,PPTs...) I used a modified Thumbnail Layout Set to have a Images preview... I know to have a Pdf preview I need a Thumbnail PlugIn, but I'm looking only to have a bigger PDF IC

  • READ RFC to managed system could not be found

    I am trying to run the managed system configuration in Solution Manager for NetWeaver CE (Java) system. The step "Configure Diagnostics" fails with 1 error and 2 warnings: [SSO] SSO setup OK [Roles] At least one support role assignment did not succed

  • Supervisor-webview issue

    Dears, i have UCCE 7.2.5 environemnt , the customer requested to enable  the supervispor to loging to webview to get report for any thing realting to his team. i created supervisor for a team , and enabled to loging to webview page but can't  genrate