Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-12-2004, 08:51 AM   #1
LQ Newbie
Registered: May 2004
Posts: 5

Rep: Reputation: 0
cant restore 'screen': No Sockets found

I have a problem with the 'screen' command: i run a script at startup with the following line
su $eduser -c "screen -dmS $prog $eddir$edbin"
Afterwards the program seems to be running when i check it with 'ps -a', but I cant restore the screen. This would be the output:

[user@localhost user]$ screen -r
Cannot open your terminal '/dev/pts/2' - please check.
[user@localhost user]$ screen -list
No Sockets found in /home/user/tmp.
Old 05-12-2004, 08:52 AM   #2
LQ Newbie
Registered: May 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Is the problem in the way i run the script or when Im restoring it?
Old 12-10-2004, 02:39 AM   #3
LQ Newbie
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
i got the same problem.

I use the screen command to start a game server and voice over ip server.

so i have made a shell script to start the program

[shell script]
screen -A -d -m -S ventrilo ./ventrilo_srv
[end shell script]

If i enter "sh ventrilo"
then the server starts,

but if i enter "screen -list"
i get the message "no sockets found in ...."

If i start the server twice (so there are 2 processes,) i can reattach the screen

Sometimes i can reattach it, but mostly not

Any help is appreciated...
Old 12-13-2004, 02:16 AM   #4
LQ Newbie
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
btw i just reattach through this command:

screen -R ventrilo

help plz!

Last edited by njh; 12-13-2004 at 03:49 AM.
Old 12-15-2004, 07:31 AM   #5
LQ Newbie
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
Old 03-18-2005, 05:16 PM   #6
Registered: Oct 2003
Location: /dev/null
Posts: 33

Rep: Reputation: 15
kinda late responce, but whoever might find it helpful....

the reason u get that is because you do not have proper permissions to dev/pts/2 ..which is probably owned by root.

try: su - user
the "-" makes sure the full potential of the local user is used, otherwise certain aspects of the root account are still left over...
and make sure the needed pts has desired permissions... have fun.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cardmgr[953]: no sockets found! vasudevadas Linux - Hardware 4 11-02-2004 12:42 PM
no sockets found - pcmcia epoo Linux - Laptop and Netbook 2 03-01-2004 11:11 AM
dump restore: not found on tape eddi.b Linux - Newbie 1 02-05-2004 08:36 AM
cardmgr[52]: no sockets found! _mu_ Linux - Laptop and Netbook 0 01-18-2004 10:12 AM
add screen / screen init not found for device 0 jamaso Slackware 5 12-29-2002 05:46 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration