LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-17-2010, 12:15 PM   #1
msdobrescu
Member
 
Registered: Feb 2006
Location: Romania
Distribution: Sabayon
Posts: 36

Rep: Reputation: 3
Mandriva 2010.1 TigerVNC setup


Hello,

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,
Mike
 
Old 07-19-2010, 02:28 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
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)

Code:
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:
http://www.vanemery.com/Linux/VNC/vnc-over-ssh.html
http://bobpeers.com/linux/vnc_ssh.php

I'll leave you to experiment, but you should also take a look at NX:
http://www.nomachine.com/download.php
 
1 members found this post helpful.
Old 07-19-2010, 11:13 PM   #3
msdobrescu
Member
 
Registered: Feb 2006
Location: Romania
Distribution: Sabayon
Posts: 36

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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:14 PM.

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
Open Source Consulting | Domain Registration