Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-17-2010, 01:15 PM   #1
LQ Newbie
Registered: Feb 2006
Location: Romania
Distribution: Sabayon
Posts: 26

Rep: Reputation: 3
Mandriva 2010.1 TigerVNC setup


Does anybody know how to setup TigerVNC on Mandriva 2010.1?
TightVNC doesn't install anymore due to broken package deps.

I have installed the packages (tigervnc, tigervnc-server, tigervnc-server-module). I have created the vncservers file and password for some user.
It runs if I issue vncserver in console.

Then I tried to register the server as service:

chkconfig --add vncserver

This error occurs:

error reading information on service vncserver: No such file or directory

I have tried change run level, path (absolute), rights of the user etc..

None worked. It seems to be a bug, or I might do something wrong. I am pretty newbie in this, but I have successfully installed a RedHat server with Gnome and setup VNC to run before Gnome login - in the past. I wolud like to do this on Mandriva 2010.1 too. I would like to use ssh also with TigerVNC.

Is there anybody to help me do it? At least to diagnose it properly...

Thank you,
Old 07-19-2010, 03:28 AM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
error reading information on service vncserver: No such file or directory
That's because there is no /etc/init.d/vncserver script - you'll have to write it.
See the other scripts in that directory for examples of how to do this.

Easier though, is just to start the vncserver at boot with a line like this in rc.local on the line before the final exit 0

The user you wish the script to run as is username (and that should be the user you previously configured to run the server successfully in a console)

su - username -c " cd /home/username && vncserver :1 -geometry 1024x768 -depth 24" &
Note: Your version of vncserver may require different parameters from mine ( -geometry ... )

If you'd like to run vnc over ssh (a good idea, as vnc is not secure) see these links:

I'll leave you to experiment, but you should also take a look at NX:
1 members found this post helpful.
Old 07-20-2010, 12:13 AM   #3
LQ Newbie
Registered: Feb 2006
Location: Romania
Distribution: Sabayon
Posts: 26

Original Poster
Rep: Reputation: 3
Thank you so much,

I have found that vncserver script is missing, also.
Since is an implementation of a VNC, shouldn't be a script with little variations from flavor to flavor? If so, could anyone post some script?
I'm not lazy, but unexperienced with such scripts and I am unsure of what I might do.

Thank you.


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
Mandriva 2010.1 mecelec415 Mandriva 22 07-09-2010 08:47 AM
LXer: How to setup Google Chrome 5 in Mandriva 2010 LXer Syndicated Linux News 0 03-29-2010 03:10 PM
Mandriva 2010 gerard4143 Mandriva 16 03-19-2010 10:44 PM
mandriva 2010 is slower than mandriva 2009 ? mandriva2009 Mandriva 16 03-16-2010 11:17 AM
Mandriva 2010 sinbsd Mandriva 5 12-02-2009 07:08 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:37 AM.

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