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) 						     Linux Programmer's Manual							   MESG(1)

NAME
mesg - display (do not display) messages from other users SYNOPSIS
mesg [n|y] DESCRIPTION
The mesg utility is invoked by a users to control write access others have to the terminal device associated with the standard error out- put. If write access is allowed, then programs such as talk(1) and write(1) may display messages on the terminal. Traditionally, write access is allowed by default. However, as users become more conscious of various security risks, there is a trend to remove write access by default, at least for the primary login shell. To make sure your ttys are set the way you want them to be set, mesg should be executed in your login scripts. Options available: n Disallows messages. y Permits messages to be displayed. If no arguments are given, mesg displays the present message status to the standard error output. The mesg utility exits with one of the following values: 0 Messages are allowed. 1 Messages are not allowed. >1 An error has occurred. FILES
/dev/[pt]ty[pq]? SEE ALSO
biff(1), talk(1), write(1), wall(1), login(1), xterm(1) HISTORY
A mesg command appeared in Version 6 AT&T UNIX. AVAILABILITY
The mesg command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. Linux 1.2 10 March 1995 MESG(1)
All times are GMT -4. The time now is 05:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy