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