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


pkrix

pkrix’s Profile: http://forums.opensuse.org/member.php?userid=19064
View this thread: http://forums.opensuse.org/showthread.php?t=403843

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


Box: Linux 2.6.25.18-0.2 x86_64 | OS 11.0 | (KDE4.1.87) “1.1” | M2N4-SLI
| AMD 64 X2 5200+ | nVidia 8500GT | 2GB RAM
http://tinyurl.com/985fp2

caf4926’s Profile: http://forums.opensuse.org/member.php?userid=204
View this thread: http://forums.opensuse.org/showthread.php?t=403843

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

pkrix’s Profile: http://forums.opensuse.org/member.php?userid=19064
View this thread: http://forums.opensuse.org/showthread.php?t=403843

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


pkrix

pkrix’s Profile: http://forums.opensuse.org/member.php?userid=19064
View this thread: http://forums.opensuse.org/showthread.php?t=403843

anyone have an idea?


pkrix

pkrix’s Profile: http://forums.opensuse.org/member.php?userid=19064
View this thread: http://forums.opensuse.org/showthread.php?t=403843

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


pkrix

pkrix’s Profile: http://forums.opensuse.org/member.php?userid=19064
View this thread: http://forums.opensuse.org/showthread.php?t=403843