Tag Info

New answers tagged

1

Why do you use \ at all? The detach character is d.


0

start cmd: # screen -ls There is a screen on: 24525.pts-0.syscontrol (Attached) start cmd: # pstree -p 24525 screen(24525)─┬─bash(10773)───su(10790)───bash(10791) ├─bash(10863)───pstree(11099) └─bash(24526)


1

If xterm isn't a necessity, one solution is changing terminals. Terminator has built-in split capability, horizontal and vertical, and the size of each section can be adjusted with keyboard shortcuts. Each section can also be further split. Should be available in repos. http://linux.die.net/man/1/terminator http://linux.die.net/man/5/terminator_config


0

I ran into this problem when I pressed a wrong key combination by accident, and all my split screens were gone. :(( However, there was a (humble) way out for me, at least. Since I mostly use screen together with xterm and bash shells, the last thing I wanted to have is launch any more bashes. (Controlling things with ps revealed the bash processes were ...


2

When you start a virtual terminal connected to something like an X terminal emulator or an SSH session, the terminal size is configured for you (e.g. forwarded over SSH from your local terminal). As you've discovered, when connecting over a raw serial port, this does not happen. Option 1: just run resize This command will attempt to discover the size of ...


-1

Just go to terminal and type /etc/root/scrnsver reset --u local


3

You are using screen the wrong way. You should connect with ssh and start screen on the remote system (or reattach to it). On the remote system you should open a new screen window for each process. Thus there is no need to run them in the background.


1

Did you try Teamviewer for Linux? http://www.teamviewer.com/en/download/linux.aspx It is free for non-commercial use. I use it for my Debian 6 webdav server without major problems and get the same desktop as if I were sitting behind Debian itself...


0

Not exactly what you're looking for, but the closest thing I know of is Xpra (http://xpra.org/). (Doesn't let you grab existing apps, but does let you detach and reattach much like screen or tmux.)


1

You can use xming and X11 forwarding in putty From http://acs.newpaltz.edu/linux/help/xming : To run Xming: Launch Xming. An Xming icon will appear in the Windows system tray. Xming does not require additional configuration. Launch PuTTY. In the left menu pane, expand the "SSH" option under "Connection". Select "X11", and the options ...


0

screen -S test -p 0 -X stuff '^A:' does work, but it does what it's supposed to do, not what you're trying to do: it sends the two characters ^A and : to the application running in the screen window. That's what the stuff command does: it sends characters to the application running in the screen window, not to the screen interface. What you want to do is ...


0

To achieve what I wanted, users Sukminder and lemonsqueeze provided 2 variances of a way to access the Ctrl+A+: interface, which is great. Sukminder wrote: What about using eval? As in screen -S test -p 0 -X eval "hardcopy -h sample" lemonsqueeze wrote: or even just screen -S test -p0 -X hardcopy out.txt I've tested and both solutions work. I ...


0

If the screens are dead, use: screen -wipe


0

The logs are your friends. When you see the black screen with the pointer, use this key combination: wi Ctrl + Alt + F2 you should see the prompt, login with the root credentials. go to /var/log and do: less Xorg.0.log Start reading the log to know what's going on with Xorg. From what i read can be a problem of your ~.xinitrc file, but ...


-1

screen -S myscreen screen -R myscreen -X exec command Example: screen -R myscreen -X exec top


0

"Attached" / "detached" refers to the virtual screen console, not to the copy process. If there is one screen session only then the easiest way to get it back is: screen -x If there are several ones then the above command gives you their names. If the process running in screen (usually a shell) exits then the screen console is closed.



Top 50 recent answers are included