need help with screen

hi,

i have a problem with screen. i could use screen only as root, but not as an other user.

backgroundinfo: the system runs on a root server and i had to install screen. i used the command yast -i screen.

could anyone help me to configure screen, that i could use it as a normal user?

greetz, patrick

Tell us more about your graphics card, system
are you kde3/4 or gnome
is this openSUSE 11.0 or 11.1??

its a root server in the internet and the system is opensuse 11.0. i dont use grafical systems like gnome or kde. its only textmode via ssh2

i have a few screens started as root. if i type screen -r as a normal user i get the follow message:

Cannot open your terminal ‘/dev/pts/2’ - please check.

What should i do?

pkrix schrieb:
> i have a problem with screen. i could use screen only as root, but not
> as an other user.
>
> backgroundinfo: the system runs on a root server and i had to install
> screen. i used the command yast -i screen.
>
> could anyone help me to configure screen, that i could use it as a
> normal user?

It should work for every user out of the box without any configuration,
at least it did on every system I ever tried. (Several SuSEn included.)

What happens if you run it as a normal user?

normaluser@openSUSE-110-64-LAMP:~/codserverfiles> screen -dmS testserver ./coduo_lnxded +set net_port 10100 +set dedicated 2 +g_password test +sv_hostname testserver
normaluser@openSUSE-110-64-LAMP:~/codserverfiles> screen -r
Cannot open your terminal ‘/dev/pts/2’ - please check.
normaluser@openSUSE-110-64-LAMP:~/codserverfiles> screen -r testserver
Cannot open your terminal ‘/dev/pts/2’ - please check.
normaluser@openSUSE-110-64-LAMP:~/codserverfiles>

nothing happens. no gameserver, no screen… at my homeserver it works perfectly…

thx for help

anyone have an idea?

pkrix schrieb:
> normaluser@openSUSE-110-64-LAMP:~/codserverfiles> screen -dmS testserver
> ./coduo_lnxded +set net_port 10100 +set dedicated 2 +g_password test
> +sv_hostname testserver
> normaluser@openSUSE-110-64-LAMP:~/codserverfiles> screen -r
> Cannot open your terminal ‘/dev/pts/2’ - please check.
> normaluser@openSUSE-110-64-LAMP:~/codserverfiles> screen -r testserver
> Cannot open your terminal ‘/dev/pts/2’ - please check.
> normaluser@openSUSE-110-64-LAMP:~/codserverfiles>
>
> nothing happens. no gameserver, no screen…

Try breaking it up in order to see whether the problem is with “screen”
or with the command “./coduo_lnxded” you try to run:

First test basic “screen” functionality by running it without any
arguments, see if you get a screen, if you can detach and reattach.
If reattaching fails, try “screen -list” to get screen’s opinion on
whether the session still exists.

Then try “screen -dmS testserver” but still without giving a command
to run. See if you can attach to the screen session and get a command
line. If attaching fails, try “screen -list” to get screen’s opinion on
whether the session still exists.

Next, try to run the command “./coduo_lnxded +set …” manually within
that screen session and look for any errors it might report.

HTH
T.

pkrix schrieb:
> anyone have an idea?

My, my, you are impatient. Not even 12 hours after my last reply, and you’re already nagging.

hi, i have the answer for the problem. i created the normal user before i installed screen. with a new user screen works!! i dont know why but it works perfectly ^^

greets and thx

patrick