Re: startx from terminal or telnet



On Jan 12, 4:07 pm, mbadude <mba.share.succ...@xxxxxxxxx> wrote:
On Jan 11, 12:07 pm, Jurgen Haan <jur...@xxxxxxxx> wrote:





hagit wrote:
Hi,
I have a very strange phenomenon.
I connect to my box with telnet, change to super user (root) and run
'startx'.
Then, if I don't run anything else from my telnet window (the same
window I run the 'startx' from) everything goes fine. The X starts and
I can work normally.
BUT - If I run any command (even a simple 'ls') from my telnet window,
the X doesnt run properly:
- running gnome-terminal takes a lot of time and sometimes doesnt even
run
- cant open web-browser
- when I run heavy commands on the telnet session (like big 'cp') the
X doesnt run at all (cant get a full desktop).

PS - same happened when I run 'startx' from terminal on another PC

It is a strange problem indeed.
There really isn't something I can think of that is causing this.
Lacking any logic to why this is happening, I'm blaming telnet. (Though
it really should not, but perhaps something quirky is going on with the
STDOUT/STDERR streams).
Could you try running startx from within a screen? (the screen utility).
Does this also happen when you start X from a console, or from SSH?

I also run the "startx &" command from console (I connect my board to
via RS232 to a serial port) and the same is happening there.



And what happens if you do 'startx > /dev/null 2>&1'?
If this solves the problem, then I think something strange is going on
between startx and some other tool displaying output on STDERR and/or
STDOUT in combination with telnet.

I will try it and let u know - Thanks!!!!!





Other than the output streams conflicting, I can't think of anything
else causing the problem.

-R-- Hide quoted text -

- Show quoted text -- Hide quoted text -

- Show quoted text -- Hide quoted text -

- Show quoted text -

OK,
I have tried

'startx > /dev/null 2>&1'

and I got the same proble. X isn't started when I press 'enter' 10
times after running the command.....
Very strange..
.



Relevant Pages

  • Really weird expect problem
    ... I'm working on a legacy expect script. ... At first glance it would seem that the shell is in echo or verbose mode, ... is operating telnet from a Windows 2000 machine. ... I've looked for strange environment variables. ...
    (comp.unix.programmer)
  • Re: startx from terminal or telnet
    ... I have a very strange phenomenon. ... I connect to my box with telnet, change to super user and run ... running gnome-terminal takes a lot of time and sometimes doesnt even ... PS - same happened when I run 'startx' from terminal on another PC ...
    (comp.os.linux.x)
  • Re: startx from terminal or telnet
    ... I have a very strange phenomenon. ... I connect to my box with telnet, change to super user and run ... window I run the 'startx' from) everything goes fine. ... running gnome-terminal takes a lot of time and sometimes doesnt even ...
    (comp.os.linux.x)
  • Re: Really weird expect problem (solved)
    ... TERM variable to "ansi" like what happens when using telnet directly. ... > I'm working on a legacy expect script. ... > don't get this strange double echo. ... I've looked for strange environment variables. ...
    (comp.unix.programmer)
  • Re: Telnet
    ... >> just typing startx. ... > Telnet does not do this automatically. ... > user-mode progrem without installation on any Win32 client. ... a remote location and a Windoze box than I was before..... ...
    (comp.unix.questions)