Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to screen #24

Closed
claytonraymond2004 opened this issue Dec 25, 2011 · 3 comments
Closed

Can't connect to screen #24

claytonraymond2004 opened this issue Dec 25, 2011 · 3 comments

Comments

@claytonraymond2004
Copy link

Everything seems to be running perfectly with the script except I can't seem to be able to connect to the screen with the server console. (Server is running under the user "minecraft" on my server) I log in as administrator to my server.

I've tried:
screen -x minecraft
sudo screen -x minecraft

All of which get: There is no screen to be attached matching minecraft.

I've also tried:
sudo su minecraft
then
screen -x minecraft

Which gives: Cannot open your terminal '/dev/pts/5' - please check.

(I've tried all of the commands with the -r flag instead of -x flag and get the same result.

Any help would be greatly appreciated.

@Ahtenus
Copy link
Owner

Ahtenus commented Dec 26, 2011

Login to the user running the server (using su)
Then screen -r minecraft
Den 25 dec 2011 01:50 skrev "claytonraymond2004" <
reply@reply.github.com

:

Everything seems to be running perfectly with the script except I can't
seem to be able to connect to the screen with the server console. (Server
is running under the user "minecraft" on my server) I log in as
administrator to my server.

I've tried:
screen -x minecraft
sudo screen -x minecraft

All of which get: There is no screen to be attached matching minecraft.

I've also tried:
sudo su minecraft
then
screen -x minecraft

Which gives: Cannot open your terminal '/dev/pts/5' - please check.

(I've tried all of the commands with the -r flag instead of -x flag and
get the same result.

Any help would be greatly appreciated.


Reply to this email directly or view it on GitHub:
#24

@claytonraymond2004
Copy link
Author

I tried that with the same result. Perhaps the user (minecraft) is not setup correctly? The user has /bin/bash for shell, is not allowed to login and therefore has no password, and is a member of no groups.
"I've also tried:
sudo su minecraft
then
screen -x minecraft

Which gives: Cannot open your terminal '/dev/pts/5' - please check."

Thanks

@claytonraymond2004
Copy link
Author

I figured a way around. I had to reset some permissions on /dev/pts/* and now it works. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants