Sponsored Content
Top Forums UNIX for Advanced & Expert Users How can I remotely take unix/linux tty control!? Post 302457731 by @dagio on Tuesday 28th of September 2010 04:25:52 PM
Old 09-28-2010
creating a screen?
Before execute the command in the server execute
#screen -S <screenname>
When you are in your home connect via ssh in the server and execute
#screen -ls
This will list you all the screen sessions like this (example)
16908.test (09/28/2010 11:21:01 PM) (Attached)

Choose the proper one.
and execute
#screen -x 16908.test
These 2 Users Gave Thanks to @dagio For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

regaining control after remotely calling matlab

hi, i have written a tcsh script that calls matlab from a remote computer: matlab -nodisplay -nojvm -r "txt2avw('$roi'); exit" but when the program is finished calling/using matlab, i can't seem to get my script back because immediately following the line above, i've written: echo "Moving... (0 Replies)
Discussion started by: nixjennings
0 Replies

2. UNIX for Advanced & Expert Users

How to control remotely "full" Linux router in GUI ?

Hi, I mean Unix Linux general solution, so please don't move my question, as it's Unix specific. I would like to remotely control my "full" Linux router. Already succeeded to compile Linux Unix dialog, running some tests. The issue is dialog comes with a limited number of widget boxes for... (4 Replies)
Discussion started by: jack2
4 Replies

3. UNIX for Advanced & Expert Users

Porting Linux and TTY / Shell problems

Hello all, I am porting the linux 2.6.30rc2 kernel from one ARM architecture, /arch/arm/mach-davinci, to a new device, called Jacinto2. I am using the serial port ttyS0 as the default console. The bootloader is U-Boot and I am using busybox mounted as a ramdisk in internal SDRAM. I have got... (4 Replies)
Discussion started by: Interloper
4 Replies

4. IP Networking

helping new Linux users remotely ?

I volunteer with a small charity which locally donates refurbished computers to people who normally could not afford their own computer. Most of these computers now have Linux on them. We are in the process of remastering Xubuntu 9.04 to use as our main distro from now on. In the past any time... (3 Replies)
Discussion started by: lagagnon
3 Replies

5. Red Hat

Change password of linux servers remotely

Hi, I am very bad at scripting. I need help from scripting experts... I need to change password of around 100 linux remote servers. I have been given a script for changing the password that automates the task. however I do not understand the usage and meaning of the script, the script is an... (0 Replies)
Discussion started by: renuka
0 Replies

6. UNIX for Dummies Questions & Answers

How to input escape sequences in Linux tty?

More details: Unicode, Framebuffer. I tried to press Esc and then what should follow, letters or brackets, but seems not to work. Probably i do something wrong. If somebody is familiar with escape sequences in the console, how do you do that? Thanks in advance. (4 Replies)
Discussion started by: Action
4 Replies

7. UNIX for Dummies Questions & Answers

linux sudo: no tty present and no askpass program specified

Hi I have an Oracle DBA that is trying to install an RPM from Stratavia which is a web based portal and it executes the following: Instance Wrapper=sudo -u oracle /opt/datapalette/jython/jython Server Wrapper=sudo -u root /opt/datapalette/jython/jython I've compared the /etc/sudoers... (8 Replies)
Discussion started by: jeff-fafa
8 Replies

8. Shell Programming and Scripting

How to change passwords for User accounts on multiple UNIX/Linux machines remotely?

Hello Experts, Need some direction on creating shell script for following environment: We have about 20 people in the team working as Oracle DBA's (sysdba's and appdba's). Total Servers which is a mix of Unix and Linux are 200. We do not have Root user access on any of the servers and... (3 Replies)
Discussion started by: sha2402
3 Replies

9. UNIX for Dummies Questions & Answers

Connect to my Linux network remotely?

Have - -3 HP Proliant G4P servers - Debian (wheezy) -3 RaspPI's - Raspian -Unmanaged switch that all 6 can ssh into each other with via eth0 -Router (w wifi and 5 ports) - on eth1 of the three G4p's of protocol dhcp Want: To let the six servers, in my basement run, since the HPs are... (5 Replies)
Discussion started by: sas
5 Replies

10. Shell Programming and Scripting

Python: Redirecting to tty and reading from tty

In bash, you can do something like this: #!/bin/bash echo -n "What is your name? " > /dev/tty read thename < /dev/tty How can I do the same in python? I have a python script that has the following content: #!/usr/bin/python2.7 import getpass import sys import telnetlib import... (2 Replies)
Discussion started by: SkySmart
2 Replies
DMXAddScreen(3X)														  DMXAddScreen(3X)

NAME
DMXAddScreen - attach a new back-end screen SYNOPSIS
#include <X11/extensions/dmxext.h> Bool DMXAddScreen(Display *dpy, const char *displayName, unsigned int mask, DMXScreenAttributes *attr, int *screen); DESCRIPTION
DMXAddScreen() attaches a back-end screen to the Xdmx(1) server, in place of the previously detached back-end server specified by screen. displayName is the name of the new back-end display, mask specifies the field in attr that are active, and screen returns the new Xdmx(1) screen number for the attached screen. The information stored in mask and attr is identical to that used by the DMXChangeScreenAttributes(3X) and DMXGetScreenAttribues(3X) functions. RETURN VALUE
DMXAddScreen() will return True if the screen was successfully attached, and False otherwise. False will be returned if the -addremove- screens command line option was not specified on the Xdmx(1) command line, the input value of screen is out of range, screen is not cur- rently detached, displayName cannot be opened, has unexpected visuals, or has characteristics that do not match the previously detached screen. DMXAddScreen() can generate BadLength, BadAlloc, and BadValue errors. NOTES
Attributes that are not specified will default to 0. This may lead to unintended results. Unlike other functions in the DMX(3X) API, this function uses screen for both input and output. SEE ALSO
DMXRemoveScreen(3X), DMXChangeScreenAttributes(3X), DMXGetScreenAttributes(3X), DMX(3X), Xdmx(1) XFree86 Version 4.7.0 DMXAddScreen(3X)
All times are GMT -4. The time now is 03:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy