Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Putty question

30 views
Skip to first unread message

Mark

unread,
Mar 18, 2013, 6:34:58 AM3/18/13
to
I am logging into a remote system via SSH using putty. When I try to
run 'screen' on the remote system I get the following error:

$ screen -x
Cannot open your terminal '/dev/pts/4' - please check.

I have tried running putty with the '-t' option in the command line
but it does not seem to make a difference. Could this be a putty
issue?
--
(\__/) M.
(='.'=) If a man stands in a forest and no woman is around
(")_(") is he still wrong?

Ivan Shmakov

unread,
Mar 18, 2013, 9:45:58 AM3/18/13
to
>>>>> Mark <i...@dontgetlotsofspamanymore.invalid> writes:

[Cross-posting to news:comp.os.linux.misc.]

> I am logging into a remote system via SSH using putty. When I try to
> run 'screen' on the remote system I get the following error:

> $ screen -x
> Cannot open your terminal '/dev/pts/4' - please check.

> I have tried running putty with the '-t' option in the command line
> but it does not seem to make a difference. Could this be a putty
> issue?

Seems more like an issue with the remote system (e. g., /dev/pts
not mounted properly.) What do the following commands say?

$ id -un

$ ls -l -- "$(tty)" /proc/self/fd/0

$ ls -ld -- /dev/pts/

$ grep -F -- pts < /proc/mounts

--
FSF associate member #7257

Mark

unread,
Mar 19, 2013, 6:13:30 AM3/19/13
to
On Mon, 18 Mar 2013 13:45:58 +0000, Ivan Shmakov <onei...@gmail.com>
wrote:
Solved: It works if I log in directly but not using 'su'.
0 new messages