Starting VNCserver on Mandrake 10.0
Hi,
I just installed Mandrake 10.0 on a new computer and I can not get vncserver to start. I downloaded vnc 3.3.7 and trying to get it to run. I know how to use vnc, I haev been using it at work often, and from a PC, but I need the server to start. I get the message xsetroot: unable to open display 'modemcable139.29-201-24.mc.videotron.ca:1' /home/claude/.vnc/xstartup: line 5: xterm: command not found So I also do not have xterm installed! Where can I find all the necessary files??? Here is my current xstartup file =================== #!/bin/sh [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & startkde & ===================== I changed the last line from twm to startkde since I am using kde as the gui. Last note, I am trying to start it from a ssh Thanks, Archange |
you wont be able to start from ssh.
Try downloading realVNC and install it on the computer you are running it from. To start a vnc session on the host computer enter vncserver this will open a new vnc server on screen 0 or 1. then connect from another machine running a vnc client such as real vnc. open a vnc viewer like this vncviewer connect like this xxx.xxx.xxx.xxx:1 where the xxxx's are the IP address of the host machine and the 1 is the screen name. If you want to start in graphical mode you will have to change ~/.vnc/xstartup to look like this #!/bin/sh # Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc #[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup #[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources #xsetroot -solid grey #vncconfig -iconic & #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #twm & startkde |
All times are GMT -5. The time now is 08:47 PM. |