Some windows redirected to console (not in VNC)
I am using VNC to remotely control a Red Hat 9 system. Some of the applications display on the console instead of the VNC screen. [I suspect that they are hardwired to show up on display 0, but I don't know enough about Linux to be sure if this is the problem.] For example the HTTP Server configuration application does not show up in VNC.
How can I configure the system so that all the applications show up in VNC? :scratch: |
Figuer out which display is VNC connecting to.
then before lauching the program from the command line do: export DISPLAY=<ip_of_vnc_server>:DISPLAY_NUM example I connect to vnc server 123.123.123.12 on DISPLAY 9 I would do: %> export DISPLAY=123.123.123.12:9 %> xeyes And voila ... My VNC client can see me. |
In the VNC client open a shell and do:
%> export DISPLAY:localhost:<id_of_display> in above post example: %> export DISPLAY=localhost:9 %> xeyes NOTE: All programs have to be launched from that same shell. Or repeat that example for all the shells that your are opening. Commands run from the menu will not work. |
I tried xeyes without the display redirect stuff and it showed up in my VNC client. So I thought maybe if I launch the applications from the shell they will be happy. I then tried redhat-config-httpd, mozilla & redhat-config-xfree86. Only mozilla works. The rest give the following error message:
Xlib: connection to ":1.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key VNC is on display 1. I am clueless about what Xlib does not like. Can anyone tell me how to placate it? |
try
xhost + on the vnc server. |
Thanks!! You are the man!!
If I type in "xhost +localhost" in the shell then all the menus (that I have tried that did not work before) now seem to work. Where can I put this so it happens by it self? Should I put it in "/.vnc/xstartup" ? |
Right on ...
I never considered myselft to me a "true man" a male .. no ... I am too weak to be a male ... But thx for the ego boost. |
All times are GMT -5. The time now is 09:44 PM. |