LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Vncserver grey screen (https://www.linuxquestions.org/questions/linux-newbie-8/vncserver-grey-screen-260860/)

a10392 11-30-2004 05:21 AM

Vncserver grey screen
 
Hi,

I'am using stable debian and i want to install vncserver

apt-get install vncserver, everything ok

but when i run vncviewer on other machine i only get a grey screen with mouse.

what configuration is missing ????


thanx

mufy 11-30-2004 06:16 AM

Manually locate kdestart in your system. If you've successfully installed vncserver in your system you should be able to find it with ease.

Edit /$HOME/.vnc/xstartup script by appending the path of the kdestart you've located in your system.

This should solve your problem (hopefully!!!).

For further leads go to:
http://www.realvnc.com/faq.html#grey

Regards.

a10392 11-30-2004 07:02 AM

what should the content of xstartup file to start wmaker


i have triyed the /home/.vnc/xstartup with

exec wmaker,

but in the vncserver log file i get
/usr/bin/WindowMaker fatal error: could not open display "home:2"


regards
MM

mufy 11-30-2004 10:55 PM

This is how the xstartup file looks in my system:

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -little "$VCNDESKTOP Desktop" & (Comment this line in the script)
/usr/bin/startkde (The path could be different in your system)
twm &

Try this out and let me know.

a10392 12-05-2004 06:14 PM

hi, using your script

i have the same grey screen and in the log file i get :


[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -little "$VCNDESKTOP Desktop" &
/usr/X11R6/startx &
wmaker &


i have the same grey screen and in the log file i get :


xsetroot: unable to open display 'home:3'
/home/myname/.vnc/xstartup: vncconfig: command not found
/home/myname/.vnc/xstartup: /etc/X11R6/bin/startx: No such file or directory
.... few lines without errors
/usr/bin/WindowMaker fatal error: could not open display 'home:3'
xterm Xt error: Can't open display: home:3

What should i do next ????

Please help!!

mufy 12-05-2004 10:57 PM

You were supposed to have commented the line containing
"xterm -geometry...." by which I meant to put a '#' symbol at the beginning of that line which I don't see in your script.

Do make that change if you still haven't tried and let me know the result.

Regards,
Mufy

a10392 12-06-2004 08:33 AM

Hi, Mufy

i have changed the line /usr/X11R6/startx to /usr/bin/X11/startx because the path was wrong.
Adding a comment to the line i get this on the log file :

X: warning; process set to priority 0 instead of requested priority -10

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0.lock
and start again

when reporting a problem related to a server crash, please send the full server output, not just the last messages.
Please report problems to ....
......
some lines without errors and the last line is

/usr/bin/WindowMaker fatal error: could not open display "home:3"


regards
MM

mufy 12-06-2004 10:44 PM

I am sorry MM. I don't have an answer to that at the moment, but I'll let you know as soon as I find something.

Regards,
Mufy


All times are GMT -5. The time now is 10:43 AM.