When I try to connect using x2go client, I get the error:
Quote:
"stdin: is not a tty stty: standard input: Invalid argument".
My online searches return results of most people suggesting to replace the line:
with
in /root/.profile
or some variation. I tried this but the problem persists.
I'm thinking this has to do with shell scripts trying to access tty in a non-interactive mode but I cannot seem to find where else this would be happening. I'm pretty new to Linux so I probably need some assistance now, thank you.
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)
Am reading this doc Full Hard-Drive Backup with Linux Tar
on backup.
why do we need the dot at the end ?
tar -cvpf /backups/fullbackup.tar --directory=/ --exclude=proc
--exclude=sys --exclude=dev/pts --exclude=backups . (7 Replies)
I have an situation that are quite strange to me. I am not able to exit the server terminal and enter back into my home computer terminal by the command exit like I used to be able to exit the server terminal with before. I end up into my root shell again without even typing the root password like... (6 Replies)
I am installing a Debian Server on a:
HP Proliant DL380 G4
Dual CPU's 3.20 ghz / 800 mhz / 1MB L2
5120 MB RAM
6 hard disks on HP Smart Array 6i controller (36.4 GB Ultra320 SCSI HD each)
I will be using this server to capture VHS video, encode, compress, cut, edit, make DVD's, rip... (0 Replies)
Dear All
My scenario is
Debian with PPTP Server in which I am able to connect to through other machines. Ive enable echo 1 > /proc/sys/net/ipv4/ip_forward and through client machine i can browse internet as well
I created another pptp client in debian server which connects to another... (0 Replies)
Hi. I have problems sometimes going to "My Network Places" in the Windows Explorer. Sometimes works OK and sometimes appears an Explorer.exe Application Popup:
<<The instruction at "0x10004160" referenced memory at "0x10004160". The memory could not be "read">> (Event ID: 26 at the Windows... (0 Replies)
Hi. I have problems sometimes going to "My Network Places" in the Windows Explorer. Sometimes works OK and sometimes appears an Explorer.exe Application Popup:
<<The instruction at "0x10004160" referenced memory at "0x10004160". The memory could not be "read">>
and the Explorer go out or is... (0 Replies)
Hi,
I just picked up the book "Linux System Administration" and would like to get started setting up a server.
I currently have a MacBook running OS X 10.5.1 and would like to use it for remote loging to the server.
I have a Netgear WGR614 v6 wireless router.
I'm wondering if I will be... (3 Replies)
My supervisor keep getting "stdin not tty" or something like that when he pipe or redirect input into a program. Others
don't seem to get this message. Is there some way I can help him to fix or turn this off?
Thx in advance (1 Reply)
PROBEMODEM(8) System Manager's Manual PROBEMODEM(8)NAME
probemodem - check modem and report the result of certain commands
SYNOPSIS
/usr/sbin/probemodem [-f] [-c AT_COMMAND] [-s SPEED] [ttyname]
DESCRIPTION
The probemodem script checks a modem attached to a serial line and reports the results of certain commands.
The ttyname argument is the name of the tty port that the modem is attached to.
This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have
a manual page.
OPTIONS -f Do not use the command fuser in order to check if other processes are using the tty ttyname and kill them
-c AT_COMMAND
Specify a string to be sent to the modem instead of "AT+FCLASS=?"
-s speed
Set the speed to use for the ttyname port
SEE ALSO hylafax(5)AUTHOR
This manual page was written by Dermot Bradley <bradley@debian.org>, and modified by Giuseppe Sacco <eppesuig@debian.org> for the Debian
GNU/Linux system.
PROBEMODEM(8)