LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-01-2004, 03:01 PM   #1
archange
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
Angry 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
 
Old 10-01-2004, 09:14 PM   #2
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
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

Last edited by jax8; 10-01-2004 at 09:17 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting vncserver at boot using rc.local promethious Linux - General 3 10-14-2005 08:57 AM
Starting vncserver mickeyboa Fedora 3 08-08-2005 03:47 AM
Trouble starting vncserver maximyus Linux - Networking 3 04-02-2005 01:49 PM
vncserver problems starting Xris718 Linux - General 2 10-09-2004 12:53 AM
Problem starting vncserver bunghole Linux - Networking 2 10-29-2001 04:53 AM


All times are GMT -5. The time now is 07:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration