How to startx on remote machine's monitor

Hi there,
I would like to startx on a remote machine, having the X session on that remote machine's display/monitor.
Background: My machines all run Arch linux, and they all dont use a graphical login manager (like GDM or KDM or such). I usually log into tty, and type in "startx" to start my XFCE4 session. While on work, I sometimes connect to my home-machine via VNC. This works nice. Sometimes, I do stuff that requires my remote machine (at home) to reboot.
If I do so, there is no way to re-connect to the machine, as my VNC-connection needs a running X session (for x11vnc in my case). So, I need a procedure to somehow connect to my freshly rebooted remote machine (to TTY1) in order to type in username, password and "startx".
Could someone please give a hint how to do that?
Last edited by produnis (2015-01-17 17:14:56)

Would https://wiki.archlinux.org/index.php/Xpra work?

Similar Messages

  • How to login to remote machine using SSH?

    Hi,
    I have a requirement where in I am required to connect to a remote machine using SSH and execute some commands, say a tail -100 on some file over there and pull back output data from the remote machine.
    I know we can use sockets to connect to remote machines and Runtime.exec to execute external commands. But I am unable to tie together the two of these to achieve whatever I want to do.
    Is it possible to somehow connect w/o using a custom server socket? The problem is that there is no concrete list of servers to connect to. It will be decided by the user. So I will not be able to install a server socket on each and every machine.
    Any help would be most appreciated. Thanks a lot.
    With regards,
    Ganesh

    Hi,
    I am writing a java program that will try to use a SSH client to connect to a remote machine. I do not want to log into every single remote machine to moitor stuff over there.
    My plan goes like this:
    Have a web application that can connect to a DB for all information regarding remote servers to be monitored.
    Based on user selection of a particular server, use data from the DB to connect to the particular remote server and pull in some data.
    Hope I am clear enough now. Thanks a lot.
    Ganesh

  • How remote monitoring works -- without any agents at remote machine

    Using JAVA, Is there any way to execute a system level command on the remote machine and get back the data to the host machine.
    It should work something like this, my application resides on Windows, and it should send a system command to the remote machine (Solaris) like vmstat and getback the resultant output to my application. This should be achieved without installing any agents at the remote machines.
    Suggest me some good advice to design this application.

    Most Unix boxes run a Telnet serverActually, if the sysadmins are smart, there's no
    telnet server nor a telnet client in sight - they've
    been removed and sshd is running. Most (if I
    remember correctly) Linux distros now do not
    install telnetd by default, but sshd is. I use
    Linux/Solaris 100% of the time, at work and at home,
    and I can't even remember the last time I fired up
    "telnet."This is a good point and hints to the fact that any application must define and document
    its dependencies. In this case the application must document that the appropriate server daemon
    must be running for it to work, whether telnetd, rshd or sshd. No assumptions can be made about any
    of these daemons as they can all be turned off and not running.
    For this application to run the user must be able to turn on the required daemon at the required
    server. This is not the same but somewhat equivalent to requiring the installation of a
    specialized daemon at the server. In all cases the user must have administrative access to the server,
    either directly or indirectly.

  • How to start/stop/restart a java desktop application from remote machine

    Hi,
    I want to know is there a way in java where i can start/stop/restart a java desktop application running on a remote machine through another java desktop application?
    For e.g i have an Admin console which monitors its clients based on socket communication, all of them are java desktop applications. I want to also give start/stop remote clients through my Admin console.
    I am thinking in terms of windows system service which can start/restart/stop my clients on request of Admin console, but how can i call this system service remotely?
    How can i do it?

    I got it. its about connection...

  • How to check the "APPWIZ.CPL" of a remote machine ?

    Hi All,
    I would like to know is there a way to check the programs and features options of a remote machine[Server] from a local system[Server].
    I tried the following step but that is not accurate since it was showing huge differences in the installed programs
    From the local system[Server] , i call the remote machines [Server]C drive [\\machine id\C$]
    Once i landed in C drive , then navigate to Windows---System32---Then Appwiz.cpl[C:\Windows\System32\appwiz.cpl]
    It will open the programs and features .
    Is there any other accurate way for checking the programs list of a remote machine or Server ?
    Thanks In Advance 
    Madhu Madhavan

    Hello,
    The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
    As the question is off topic here, I am moving it to the
    Where is the Forum... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How to read file from remote machine

    Hello,
    Hi, i would like to know how to read text file from remote machine using java source code, any code ?
    Thanks very much;
    Best regards
    Kim

    On the server, perform the following steps:
    Parse the request and determine the file to serve
    Open a FileInputStream to the appropriate file
    Obtain a reference to the Servlet OutputStream
    Pipe the bytes from the file to the output stream
    Flush and close the streamYou might want to call HttpServletResponse.setContentType("application/octet") to indicate to the browser that a file download will be occurring. Do so before getting the reference to the Servlet's OutputStream.
    - Saish

  • How to test oracle is up and running in remote machine using shell script

    Hello,
    I need help to write an linux script.
    I have a java application server running on machine 192.168.5.20 and our oracle 10g standard 1.0.2 is running on machine 192.168.5.21.
    I have found script to start oracle when computer is turned on.
    But I cannot start my application server automatically since it depends on whether oracle is up and running or not on the remote machine.
    Therefore, in case of power failure or maintenance, our client has to call us to start application server.
    I would be grateful if someone can help me "How can I write script to check oracle is up and running in machine 192.168.5.21 from machine 192.168.5.20.
    For your information, I have no oracle installed in application server. So tnsping won't work.
    What I want is when power is back, application server script automatically and tesing for oracle server is up and running. If it is up, script will start application server.
    Thanking you.

    Hi,
    It's not failover or experimental. My application server uses JBOSS and JBOSS needs database name to start up. My enviroment is LAN. My database is in different machine as I mentioned before. So In case of power failure, I need to start my application server (JBoss) manually, because I need to confirm that oracle is already running before start app server.
    I want an automated script (when power is just on) to start my application server which will wait to check if the datbase server is up I will start application server.
    The scripts given above It works if appserver and db server in the same machine (my development machine).
    But when I test the script in my production applicaiton server, It shows sqlplus command not found (my app server does not have any oracle client installed).
    About hostname yes My applicaiton server hostname is hostapp1 and dabase server hostname is hostdat1.
    Do you think Is it possible to test the script without oracle client not installed. or It has to be done writing code like java program and test using jdbc connection.
    Best regards.

  • How to use URL class to execute a java class/app  on a remote machine?

    I am a beginner in Java networking and have a question about URL programming.
    How do I pass parameters to a java class/application over the web and then cause it to execute ? I then want to get the result back from the clas/app. The class/app resides on a remote machine and the protocol used is "http" protocol. OR all this is not possible through the URL and related classes ?

    How do I pass parameters to a java class/application over the web and then cause it to execute ? Using the HTTP protocl you can either perform a GET where the parameters are in the URL or a POST where the data is sent to the server with the request.
    The server must be setup as a web server to execute code based ojn a HTTP request. Using a web server with a JSP which contains the code to execute is the simplest way to do this.
    I then want to get the result back from the clas/app. The output of the JSP becomes in the data returned by the HTTP request.
    I would suggest looking for example on google.
    http://www.google.co.uk/search?q=java+http+request+tutorial
    Another option is to use RMI. The integration is tighter but it does not use the HTTP protocol.

  • How to make OTM scripts to run on remote machines

    Hi,
    I came across lot of posts which tells how to configure OTM to connect to remote machines.
    Some how i dont understand when they say stop the OATS service and configure it manually
    Also to use the password for authentication manager.
    What i really want to know is step by step for a layman to set up OTM to run scripts on a remote desktop and on the local with the execution being displayed (not suppressed)
    How do we configure that?
    Any help is deeply appreciated!! my test cases are just stuck inprogress status
    Thanks
    Radhika

    Hi Radhika,
    For running Scripts from either the server or the remote machine using OTM you need to run the Agent Manager service as a console not the OATS service. For that you need to stop that service--> set the startup type as manual--> the run the ' C:\OracleATS\agentmanager\bin\AgentManagerService.exe –c AgentManagerService.conf ' command in the CMD to run this service as a console. Because this agent manager service is for OLT to communicate with its agents and works fine even if it is set to automatic or manual and started normally. Hope this helps.....
    Regards,
    Charles Kingsly

  • How to create a file on a remote machine using PrintStream

    I want to create an HTML file on a remote machine connect via LAN the path is "\\vineet\akh\" akh is folder where I want to save the HTML file. Now in PrintStream i can give only a local file. Please help how to do it

    .. You can do this in two ways!!
    1) easy way
    2) hard way
    1) EASY WAY
    .. as you know for write to a remote dir you must
    a) have shared remote dir
    b) have write permit on remote dir
    if you have point a) and b) the way to follow it's simple as the other user explained to you!!
    2) HARD WAY
    the hard way is to use RMI (Remote Method Invokation)
    i mean to create a service on a remote machine that give to you a remote method that make you write without share anything..!!!
    check it out
    http://tns-www.lcs.mit.edu/manuals/java-api-1.1beta2/guide/rmi/
    i hope i'm been clear!!
    SORRy My english!! (please)
    Alessandro

  • How to run a PS script on a remote machine

    Hi,
    I have a script located on a remote machine at c:\Temp\Script1.ps1  I want to run this script remotely from a driver system.  Via Powershell remoting on the driver machine, I run the following:
    $cred = Get-Credential Domain1\User1
    $Sessid = New-Pssession DC1
    Invoke-Command -session $sessid -cred $cred -ScriptBlock {c:\temp\Script1.ps1}
    I get an error 'Invoke-Command : Parameter set cannot be resolved using the specified named parameters.
    I see the Session ID created and opened fine and the script runs fine on its own on the remote machine.
    Any suggestions as to how to resolve the error
    Thanks for your help! SdeDot

    You don't say what the client machine is, but if it is a windows PC you could use the TEXT_IO package that comes as part of Oracle Forms or procedure builder. Alternatively you could use the client version of SQL*Loader. If neither of these options are feasible, why not just copy the file on to the server and use UTL_FILE, SQL*Loader, or define an extrnal table?
    Regards,
    Steve Rooney

  • Screen sharing crashes remote machine with two monitors in 10.7.2

    Hello,
    Whenever i connect to my Mac Pro (running 10.7.2 now), the machine hangs completely if my two monitors are connected.  This happens both over the network using Back to my Mac and Slink, when on a local network from my macbook Pro and a friends older iBook. (both running Lion). It also happens from a VNC client (remoter vnc) from my ipad. If i disconnect my second monitor, it works fine in all cases.  Is anyone else experience a remote machine crash when trying to screen share?
    I can connect to the disks fine. it's just screen sharing
    I recently refromatted my machine and it was working fine before then -- but i imagine the problem stems from 10.7.2 since i both reformatted and upgraded.
    thanks
    dan

    If you want to insure that Apple actually knows this is an issue, you should your own bug report
      BugReporter
    <http://bugreporter.apple.com>
    Free ADC (Apple Developer Connection) account needed for BugReporter.
    Anyone can get a free account at:
    <http://developer.apple.com/programs/register/>

  • How to fetch TimeZone of remote machine ?

    Hi all,
    how could i get the time zone of a remote machine ?
    what i want is, just by providing the IP i want to retrieve the time zone.
    All reply will be appriciated.
    Thanks
    [email protected]

    buggy: use one of the ip services about to guessthe
    country the macjine is running in.Some countries have several time zones :)And many machines connect through proxyservers which
    may well be in a different timezone from the actual
    machine (and the address you'd get could well be the
    address of the proxy).And thus the "Buggy" prefix.

  • How to boot only one group in remote machine from master machine

    Hi,
    I want to know the command to boot entire remote machine from master machine and how to boot only one group for remote machine from master machine.
    Thanks
    Amit

    You can boot the entire remote machine (after booting the Master machine) as follows:
    tmboot -B <lmid of remote machine> -l <lmid of remote machine>.
    For all the available tmboot options see http://download.oracle.com/docs/cd/E18050_01/tuxedo/docs11gr1/rfcm/rfcmd.html#wp1032112
    Regards,
    Malcolm.

  • How can I run aqua applications on remote machine

    Hi, I would like to know how to run an aqua application on a remote mac, but display the result on the local machine. I can easily do that for X applications under Unix through ssh, but I don't know what is the equivalent for aqua. Since the remote machine is much faster than my local one, I don't want to just mont the remote disk, since in this way I'll be running on my slow local resources.
    Thanks

    To the best of my knowledge, Screen Sharing is your only option.
    Screen Sharing is Apple's dressed up VNC.  When going Mac to Mac it is rather good.  When mixing 3rd party VNC clients or servers with Apple's Screen Sharing components, you performance may vary.

Maybe you are looking for

  • Is it too much to ask for Apple to explain the content of the Console?

    I've asked for definitions of terms for years now ... defintions of console terms and phrases such as the following example, each of which may well relate, in terms of the components and the Consoles ref to their "loading", to the ongoing, sophistcat

  • Schedule webi document to printer and save the output in shared drive

    Hi all, Is it possible to schedule a webi document via java BOE SDK, run at once, save the output in pdf format in a shared drive and at the same time, send the output to printer? Or I need to run the webi document to run 2 times? Thanks. Best regard

  • OWB 9.0.4 ability to restart failed ETL jobs ?

    Hi all, Does OWB 9.0.4 provide the ability to restart failed ETL jobs ? For example in a Module of 20 mappings, 15 mappings have completed with success. Mapping 16 fails and hence OWF exists with failure. In the event the problem is rectified can OWB

  • Portlet header styles

    Is there any way to have two portlet regions on the same page have 2 different styles? The only thing I've found indicated that you could change the background. I'd also like to change the header and font colors as well. Is this even possible?

  • 1Z1-514 Oracle Database 11g Essentials for Implementors

    Hi Guys What shall i study in order to prepare the exam 1Z1-514 Oracle Database 11g Essentials for Implementors that is in Beta? My manager have no budget to training courses.' Please help me...