Sponsored Content
Full Discussion: stuborn screen sessions
Top Forums UNIX for Dummies Questions & Answers stuborn screen sessions Post 302141926 by sharanbr on Tuesday 23rd of October 2007 12:28:30 PM
Old 10-23-2007
stuborn screen sessions

Being new to screen I am having real trouble with some basics.

Actually when I login to a machine and type
sharan :: screen -list

I see the following
Code:
There are screens on:
        11001.pts-11.hcllnx2    (Attached)
        10615.pts-11.hcllnx2    (Attached)
2 Sockets in /u/basappas/.screen.

Now when I try to detach these by typing
sharan :: screen -d 11001.pts-11.hcllnx2
[11001.pts-11.hcllnx2 detached.]

Now when I try to attach these by typing
sharan :: screen -r 11001.pts-11.hcllnx2
There is a screen on:
11001.pts-11.hcllnx2 (Attached)
There is no screen to be resumed matching 11001.pts-11.hcllnx2.

The main issue is I want to get rid of these screen sessions. I am not able to somehow.

I tried the following command
sharan :: screen -wipe 11001.pts-11.hcllnx2
There is a screen on:
11001.pts-11.hcllnx2 (Attached)
1 Socket in /u/basappas/.screen.

Can someone decipher what is going on and help me kill these screen sessions ..

Thanks

Last edited by Yogesh Sawant; 05-26-2010 at 03:11 AM.. Reason: added code tags
 

10 More Discussions You Might Find Interesting

1. Programming

C programming sessions

Hey guys, i'm in trouble, i'm high school teacher, and a student ask me for help, he want's to know where he can study C language for his application exam. Somebody could help us? (1 Reply)
Discussion started by: eleia
1 Replies

2. UNIX Desktop Questions & Answers

Output terminal sessions to screen and log file

I would like to use a terminal session to ssh to switches and routers. I need to capture data while logged into switches to a file I can email for troubleshooting. I use termial to log into Cisco switch, run the sh tech command, and then sent the output to cisco. Is there a way to run a... (4 Replies)
Discussion started by: tdelliott
4 Replies

3. OS X (Apple)

Virtual screen accessed by Screen Sharing

Hi, I'm trying to create a virtual screen, (maybe xvfb? or any other virtual screen buffer) and be able to use Screen Sharing to connect to it. The setup is that I have a Mac Mini connected to the TV. But when my girlfriend is using Front Row, I can't use Screen Sharing at the same time from... (0 Replies)
Discussion started by: linge
0 Replies

4. Shell Programming and Scripting

script : How many sessions are there ?

Hi everybody, I need a script that shows the total number of sessions there are ... This shows how many sessions are open... echo "Number of open sessions: " w | grep :0 | wc | awk '{print $1} But how can I see how many sessions there are in total?? I hope someone can help me... ... (3 Replies)
Discussion started by: xaviraan
3 Replies

5. Solaris

Switching between sessions

Unix sys admin in training here and I was performing a rollout of java code. While rolling out my connection to the server was broken. I logged back on to the box and performed a ps -ef | grep 'user' . I could see that session and pid number. My question is was there anyway to resume or... (1 Reply)
Discussion started by: vedder191
1 Replies

6. UNIX for Dummies Questions & Answers

Automatic logging (capture screen output) of telnet/ssh sessions on a Solaris node

Hi I am working in Solaris 10 and I want to monitor logs for every telnet/ssh session that tries to connect to the server. I need these logs to be generated in a file that I can fetch using ftp. I am a new user and a stepwise detail will be great BR saGGee (3 Replies)
Discussion started by: saggee
3 Replies

7. UNIX for Dummies Questions & Answers

I-node and sessions

I have a program (written by me, for educational purposes) called "analyzer". The program takes a parameter, a filename, and does some statistics on it (for example, word's number, line's number, ... ) at regular intervals. My teacher told me that if the file is edited while the "analyzer" is... (4 Replies)
Discussion started by: hurricane
4 Replies

8. Red Hat

command line tool to disable screen lock and/or screen saver

Hi, I have a simple question : how to disable screen lock and/or sreen saver with command line with RHEL5.4 ? (1 Reply)
Discussion started by: albator1932
1 Replies

9. HP-UX

Idle sessions.

What kind of problems can be faced if any session which connects to unix server is open for longer time? How to find out from how much time that session is idle? :) (1 Reply)
Discussion started by: anandgodse
1 Replies

10. UNIX for Dummies Questions & Answers

Accidentally made a screen within a screen - how to move it up one level?

I made a screen within a screen. Is there a way to move the inner screen up one level so that it is at the same level as the first screen running from the shell? (2 Replies)
Discussion started by: phpchick
2 Replies
BlackPixelOfScreen(3X11)					     MIT X11R4						  BlackPixelOfScreen(3X11)

Name
       BlackPixelOfScreen, WhitePixelOfScreen, CellsOfScreen, DefaultColormapOfScreen, DefaultDepthOfScreen, DefaultGCOfScreen, DefaultVisualOf-
       Screen, DoesBackingStore, DoesSaveUnders, DisplayOfScreen, XScreenNumberOfScreen, EventMaskOfScreen, HeightOfScreen, HeightMMOfScreen, Max-
       CmapsOfScreen, MinCmapsOfScreen, PlanesOfScreen, RootWindowOfScreen, WidthOfScreen, WidthMMOfScreen - screen information functions and
       macros

Syntax
       BlackPixelOfScreen(screen)

       WhitePixelOfScreen(screen)

       CellsOfScreen(screen)

       DefaultColormapOfScreen(screen)

       DefaultDepthOfScreen(screen)

       DefaultGCOfScreen(screen)

       DefaultVisualOfScreen(screen)

       DoesBackingStore(screen)

       DoesSaveUnders(screen)

       DisplayOfScreen(screen)

       int XScreenNumberOfScreen(screen)
	  Screen *screen;

       EventMaskOfScreen(screen)

       HeightOfScreen(screen)

       HeightMMOfScreen(screen)

       MaxCmapsOfScreen(screen)

       MinCmapsOfScreen(screen)

       PlanesOfScreen(screen)

       RootWindowOfScreen(screen)

       WidthOfScreen(screen)

       WidthMMOfScreen(screen)

Arguments
       screen	 Specifies a pointer to the appropriate structure.

Description
       The macro returns the black pixel value of the specified screen.

       The macro returns the white pixel value of the specified screen.

       The macro returns the number of colormap cells in the default colormap of the specified screen.

       The macro returns the default colormap of the specified screen.

       The macro returns the default depth of the root window of the specified screen.

       The macro returns the default GC of the specified screen, which has the same depth as the root window of the screen.

       The macro returns the default visual of the specified screen.

       The macro returns or which indicate whether the screen supports backing stores.

       The macro returns a Boolean value indicating whether the screen supports save unders.

       The macro returns the display of the specified screen.

       The function returns the screen index number of the specified screen.

       The macro returns the root event mask of the root window for the specified screen at connection setup.

       The macro returns the height of the specified screen.

       The macro returns the height of the specified screen in millimeters.

       The macro returns the maximum number of installed colormaps supported by the specified screen.

       The macro returns the minimum number of installed colormaps supported by the specified screen.

       The macro returns the number of planes in the root window of the specified screen.

       The macro returns the root window of the specified screen.

       The macro returns the width of the specified screen.

       The macro returns the width of the specified screen in millimeters.

See Also
       AllPlanes(3X11), ImageByteOrder(3X11), IsCursorKey(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															  BlackPixelOfScreen(3X11)
All times are GMT -4. The time now is 10:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy