How to start the X windows program such as xeyes from boot time?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Tao_Xu
Posted On:   Wednesday, May 29, 2002 03:54 PM

I wrote a java server socket program which could accept the command from client and then based on different commands, the server program could run different x windows program. The problem is after I add my server program to rc.local by adding "/usr/java/j2sdk1.4.0/bin/java TCPserver &" to rc.local. then, x windows program can not be shown after client send commands to server. I could see java server program is running on background by "ps -ef". It seems to me the server socket could get the command from client and execute the x windows program. The only problem is that the x windows can not be shown on the termin   More>>


I wrote a java server socket program which could accept

the command from client and then based on different
commands, the server program could run different

x windows program. The problem is after I add my

server program to rc.local by adding

"/usr/java/j2sdk1.4.0/bin/java TCPserver &" to
rc.local. then, x windows program can not be shown after
client send commands to server. I could see java
server program is running on background by "ps -ef".

It seems to me the server socket could get the

command from client and execute the x windows program.
The only problem is that the x windows can not be shown on
the terminal.




Then I tried adding "/usr/X11R6/bin/xeyes &" in
rc.local and test to see if I could using this way

to launch the xeyes program from rc.local. The answer
is no.




My question is how can I launch a X windows program such

as xeyes from boot time?



Any hint is highly appreciated!!!


Tao    <<Less
About | Sitemap | Contact