Sponsored Content
Operating Systems Linux Debian X2go server on Debian 8.10, stdin is not a tty Post 303024099 by brighamandrew on Saturday 29th of September 2018 07:33:30 PM
Old 09-29-2018
X2go server on Debian 8.10, stdin is not a tty

I am using x2go server on Debian 8.10.

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:

Code:
mesg n

with

Code:
tty -s && mesg n

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.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

stdin not tty when try to pine or redirect

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)
Discussion started by: Micz
1 Replies

2. UNIX for Dummies Questions & Answers

First Server (Debian) MacBook Remote Login

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)
Discussion started by: andou
3 Replies

3. Debian

Debian ftp server

What the best FTP server to run on debian.. it has to be secure and stable.. also any guides flying around ? Thanks (3 Replies)
Discussion started by: wmccull
3 Replies

4. Debian

Usually problems with Windows Explorer in w2k3 over server Debian 3.0

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)
Discussion started by: luisben
0 Replies

5. IP Networking

Usually problems with Windows Explorer in w2k3 over server Debian 3.0

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)
Discussion started by: luisben
0 Replies

6. Debian

Debian with PPTP Server

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)
Discussion started by: kazimnaim
0 Replies

7. Debian

Best RAID settings for Debian Server? Help!! (1+0 or 5 or NAS)

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)
Discussion started by: Marcus Aurelius
0 Replies

8. Debian

How to exit debian server terminal?

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)
Discussion started by: Jonathan Sander
6 Replies

9. Debian

Tar backup of debian server

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)
Discussion started by: coolatt
7 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
mesg(1) 							   User Commands							   mesg(1)

NAME
mesg - permit or deny messages SYNOPSIS
mesg [-n | -y | n | y] DESCRIPTION
The mesg utility will control whether other users are allowed to send messages via write(1), talk(1), or other utilities to a terminal device. The terminal device affected is determined by searching for the first terminal in the sequence of devices associated with standard input, standard output, and standard error, respectively. With no arguments, mesg reports the current state without changing it. Processes with appropriate privileges may be able to send messages to the terminal independent of the current state. OPTIONS
The following options are supported: -n|n Denies permission to other users to send message to the terminal. See write(1). -y|y Grants permission to other users to send messages to the terminal. ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of mesg: LANG, LC_ALL, LC_CTYPE, LC_MES- SAGES, and NLSPATH. EXIT STATUS
The following exit values are returned: 0 if messages are receivable. 1 if messages are not receivable. 2 on error. FILES
/dev/tty* terminal devices /dev/pts/* terminal devices ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
talk(1), write(1), attributes(5), environ(5), standards(5) SunOS 5.11 31 Oct 1997 mesg(1)
All times are GMT -4. The time now is 12:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy