LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-05-2004, 08:04 PM   #1
alirezan1
Member
 
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150

Rep: Reputation: 15
Angry VNC on Mandrake 10.1 problem????


Hello,

I have mandrake 10.1 community installed and I have been trying to install VNC server on it in the service mode
My problem is that I always have to run x0vncserver manually on the shell i norder to be able to connect to my computer. However, I can not run it on SSH. I tried to install it as system service by adding:

/usr/local/bin/x0vncserver & to the end of the /etc/rc.d/rc.local but I had no success.

COuld anyone please tell me how to run this program under service mode so that I can connect to it without having to run the server program manualy?

thanx

Alireza
 
Old 12-05-2004, 11:35 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,579

Rep: Reputation: 220Reputation: 220Reputation: 220
I think X has to be running for the vnc server to load and X isn't running when rc.local is done executing. You could try putting it at the end of the /etc/X11/Xsession script or, if your using kde, create a link to your executable in /home/<username>/.kde/Autostart:

# ln -s /usr/local/bin/x0vncserver /home/<username>/.kde/Autostart/x0vncserver
 
Old 12-06-2004, 01:41 AM   #3
alirezan1
Member
 
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150

Original Poster
Rep: Reputation: 15
Thanks it worked! But now I have a new problem.
When I try to connecto to my computer, I get the error "No password configured for VNC Auth"!!! I try to set a new password with vncpasswd but no luck.
ANy suggestions?

Thanx

Alireza
 
Old 12-06-2004, 02:16 AM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,579

Rep: Reputation: 220Reputation: 220Reputation: 220
That one is easier. In the start menu go to Internet>Remote Access>Virtual Network Connection. That will bring up a configuration window where you set the password to allow remote access.
 
Old 12-06-2004, 02:23 AM   #5
alirezan1
Member
 
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150

Original Poster
Rep: Reputation: 15
THanks again!

The problem is I still can't connect to my computer from somewhere else. Because I have to do this all manually ( i mean bringing up the Virtual Network Connection and setting the password ) all via XX but what if I don't have access to X? Is there a way or I am stuck with this way?

Thanx
 
Old 12-06-2004, 01:21 PM   #6
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,579

Rep: Reputation: 220Reputation: 220Reputation: 220
OK. I see what you mean.. . As to a solution, the only one I've found is to link up vnc with either kdm, gdm or xdm. Then once you set the password for your remote user, it stays every time you reboot and when accessing a remote machine with vnc you get a standard X login screen; you just have to remember your user name and password. The only problem is it looks pretty complicated:

http://www.sourcecodecorner.com/articles/vnc/linux.asp

In a multiuser environment it might be worth hassling with. Also, that article is pretty old, eg. it refernces editing inetd which both redhat and mandrake replaced with xinetd ages ago.
 
  


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 up vnc in mandrake nanjil Linux - Newbie 1 07-10-2005 10:32 AM
little vnc problem -- please help ruwach Linux - Software 3 12-06-2004 11:47 PM
VNC Server to work on Mandrake 10 Linux Echo Kilo Linux - Networking 3 09-25-2004 04:51 PM
VNC on Mandrake (9.0 & 9.2) blank screen on client side saavik24 Mandriva 10 09-19-2004 03:19 PM
VNC at startup with Mandrake 9.2 crates Linux - Software 4 01-14-2004 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration