[opensuse] screen is terminating
Hello, I am running OpenSuse 13.1 and found that regular users cannot run 'screen', without getting the error 'screen is terminating'. Any suggestion on how to fix this? Thank you, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/22/2014 07:40 PM, James D. Parra wrote:
Hello,
I am running OpenSuse 13.1 and found that regular users cannot run 'screen', without getting the error 'screen is terminating'. Any suggestion on how to fix this?
Details please. Are they just running 'screen' from the command line or what? Are there any parameters, is screen being used to invoke a program? Is utmp recording any logins/ What is in /etc/screenrc? In users .screenrc? "screen -v" please RTFM? Try running 'screen' under 'strace' to see what calls are made. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Subject: Re: [opensuse] screen is terminating On 10/22/2014 07:40 PM, James D. Parra wrote:
Hello,
I am running OpenSuse 13.1 and found that regular users cannot run 'screen', without getting the error 'screen is terminating'. Any suggestion on how to fix this?
Details please. Are they just running 'screen' from the command line or what? Are there any parameters, is screen being used to invoke a program? Is utmp recording any logins/ What is in /etc/screenrc? In users .screenrc? "screen -v" please RTFM? Try running 'screen' under 'strace' to see what calls are made. ~~~~~~~ Thank you for the reply. Screen version 4.00.04devel (GNU) 8-Jun-12 screen is run from the command line without any parameters. "Is utmp recording any logins/" It is, I see my username and IP address. Contents of /etc/screenrc; # this is the global screenrc file. Handle with care. termcapinfo xterm* G0:is=\E[?4l\E>:ti@:te@ termcapinfo linux me=\E[m:AX <end> Users do not have an .scrennvc file. Created an .screen dir in a user's home dir and ran 'export SCREENDIR=$HOME/.screen' but to no avail. How can I run 'screen' under 'strace' to see the calls made? Best regards, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/22/2014 08:50 PM, James D. Parra wrote:
How can I run 'screen' under 'strace' to see the calls made?
Have you RTFM? man 1 strace at the very least strace screen but that will likely confuse as you'll get the two streams confused. I'd use the "-o filename" option. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Subject: Re: [opensuse] screen is terminating On 10/22/2014 08:50 PM, James D. Parra wrote:
How can I run 'screen' under 'strace' to see the calls made?
Have you RTFM? man 1 strace at the very least strace screen but that will likely confuse as you'll get the two streams confused. I'd use the "-o filename" option. ~~~~~~~~~ I get; [screen is terminating] ) = ? ERESTARTNOHAND (To be restarted if no handler) --- SIGHUP {si_signo=SIGHUP, si_code=SI_USER, si_pid=4748, si_uid=1003} --- rt_sigaction(SIGHUP, {SIG_IGN, [], SA_RESTORER, 0x7f4516e99550}, {0x4285d0, [], SA_RESTORER, 0x7f4516e99550}, 8) = 0 stat("/home/jparra/.screen/4748.pts-4.server", 0x7fff1471d6d0) = -1 ENOENT(No such file or directory) --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4748, si_status=0, si_utime=0, si_stime=0} --- exit_group(0) = ? +++ exited with 0 +++ <end> The only I can see that means anything to me is the (No such file or directory) for "/home/jparra/.screen/4748.pts-4.server", however /home/jparra/.screen/ does exist. Any ideas with the details I sent how I can make screen work for regular users? Thank you in advance. James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/22/2014 10:35 PM, James D. Parra wrote:
Subject: Re: [opensuse] screen is terminating
On 10/22/2014 08:50 PM, James D. Parra wrote:
How can I run 'screen' under 'strace' to see the calls made?
Have you RTFM?
man 1 strace
at the very least
strace screen
but that will likely confuse as you'll get the two streams confused.
I'd use the "-o filename" option. ~~~~~~~~~
I get;
[screen is terminating] ) = ? ERESTARTNOHAND (To be restarted if no handler) --- SIGHUP {si_signo=SIGHUP, si_code=SI_USER, si_pid=4748, si_uid=1003} --- rt_sigaction(SIGHUP, {SIG_IGN, [], SA_RESTORER, 0x7f4516e99550}, {0x4285d0, [], SA_RESTORER, 0x7f4516e99550}, 8) = 0 stat("/home/jparra/.screen/4748.pts-4.server", 0x7fff1471d6d0) = -1 ENOENT(No such file or directory) --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4748, si_status=0, si_utime=0, si_stime=0} --- exit_group(0) = ? +++ exited with 0 +++ <end>
The only I can see that means anything to me is the (No such file or directory) for "/home/jparra/.screen/4748.pts-4.server", however /home/jparra/.screen/ does exist.
Any ideas with the details I sent how I can make screen work for regular users?
Based on your snaphhot, as opposed to seeing the whole of the that log file and what preceeded it to give it context, SIGHUP is a hangup. Maybe I'm reading too much into too little but that's a termination, often a result of EOF/ctl-d. Just to make sure, what's the permissions in /home/jparra/ and /home/jparra/.screen/ ? Is what you showed the tail of the result of the output file from the '-o filename' option? What the 'stty' going in and coming out of this ? Could something be generating the EOF? -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Anton Aylward
-
James D. Parra