LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-30-2005, 07:39 PM   #1
co_macho
LQ Newbie
 
Registered: Dec 2005
Distribution: Mandriva 2006
Posts: 8

Rep: Reputation: 0
VNCserver..help!


I am using Mandrake 2006. I just installed tight-vnc server and basically set it to run under username:guest
and then i run vncpasswd under guest profile to set the vnc password. After that i set the /etc/sysconfig/vncservers to run as username guest during startup.

VNCSERVERS="1:guest"

then i type in chkconfig vncserver on to turn on the vncserver

after that i start the service by typing: service vncserver start to run the vnc server.

then i use vncviewer on another box (XP) to connect to the vnc-server (mandriva).
I log in using the password that i've specified during the vncpasswd setup.

I connected succesfully but then i get a error message saying that the sound driver or something etc/dsp (permission denied)

After that I reboot the mandriva completely. after it reboots, i connect back using vncviewer and now all the menu is gone from the bar. it only has the Kmenu button and Desktop Access button.
When i clicked on the menu, all the applications are also gone missing. it says "no entries"
also i get the error message sound driver /etc/dsp cannot be access, permission denied
the only way i can launch application is just by running it from "Run command"

When i log back in locally at the box using the guest account it does the same thing to that account. but when i log in using another account (not root) everything is normal nothing is missing and no error message.

Looks to me the vncserver messed the account permission up or it might be some settings i'm missing in vncserver?

anybody has any tips/suggestions that i can try or anyone has the same issue before?

the screenshot:
http://i4.photobucket.com/albums/y12...acho/error.jpg

thanks

Last edited by co_macho; 01-10-2006 at 01:51 PM.
 
Old 01-02-2006, 04:12 PM   #2
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
also i get the error message sound driver /etc/dsp cannot be access, permission denied
This seems fairly normal in VNC sessions AFAIK - it just means that there will be no sound. If you've got a working sound card in the machine and it works when you login to that machine locally then its fine.

Quote:
When i clicked on the menu, all the applications are also gone missing. it says "no entries"
I doubt this is a vnc problem if it happens when you login locally as well. Unfortunately these kinds of things happen every so often with Mandriva. Try browsing through the guest user's home directory with 'Show Hidden Files' set on in Konqueror. If you see any files or directories about menus move them somewhere else and then logout and log back in.
 
Old 01-10-2006, 01:25 PM   #3
co_macho
LQ Newbie
 
Registered: Dec 2005
Distribution: Mandriva 2006
Posts: 8

Original Poster
Rep: Reputation: 0
recently I found out that this issue happened only if i set the vncserver to run during the startup process. If initate the vncserver session manually after i log in then everything will be fine. all the menu will be there except the etc/dsp (understandable)

Also Is there a way that i can set the vncserver to use the current session that the user is currently logged in locally rather than launching a new seperate session for vnc?
in other words, is it possible to setup the vnc server to share the same desktop with current running local session?

thanks
 
Old 01-10-2006, 03:53 PM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Try x2x and x2vnc (they're both in the Mandriva software repos). There used to be one called x0rfbserver but that project has died and I think these ones do the same thing.
 
Old 01-11-2006, 04:17 PM   #5
co_macho
LQ Newbie
 
Registered: Dec 2005
Distribution: Mandriva 2006
Posts: 8

Original Poster
Rep: Reputation: 0
i guess this is a noobie question but how can i setup the x2vnc to work with vncserver? I've googling and haven't have any luck in how to setup this kind of stuff. anybody knows where i can get a documentation to setup x2vnc on linux box so that i can connect from a windows box using vncviewer?

Thanks

Last edited by co_macho; 01-11-2006 at 04:23 PM.
 
Old 01-11-2006, 05:22 PM   #6
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
http://fredrik.hubbe.net/x2vnc.html
http://www.zzamboni.org/brt/2005/10/19/67/
 
Old 01-11-2006, 05:33 PM   #7
co_macho
LQ Newbie
 
Registered: Dec 2005
Distribution: Mandriva 2006
Posts: 8

Original Poster
Rep: Reputation: 0
i finally get the x0rfbserver works and does what i want. is it possible for me to launch the x0rfbserver remotely via ssh? i tried the command line but i have no luck so far it keeps saying failed. any idea?

The help file only list this:
x0rfbserver -shared :2
x0rfbserver:

heXoNet RFB server exporting a running X session
Version 0.6.1

usage: x0rfbserver [<options>]
x0rfbserver -stdio
x0rfbserver -about
x0rfbserver -help

<options>
-shared
-viewonly
 
Old 01-11-2006, 06:22 PM   #8
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Should have also mentioned that KDE's Remote Desktop Sharing (install the krfb package) and GNOME's Vino (vino package) allow remote access of your running X desktop as well. These should be very easy to setup - see the KDE or GNOME control centre.
 
  


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
Fedora acting as web server dtournas Fedora 2 01-28-2005 12:45 PM
netcat acting as server ? miko3k Linux - Software 1 01-02-2005 11:37 AM
server acting like a printer psarni Linux - Hardware 2 09-20-2004 08:38 PM
Generating server certificates and acting as own CA with OpenLDAP BedriddenTech Linux - Security 1 07-03-2004 04:16 PM
Gnome and VNC acting up RiR Linux - Software 5 02-27-2004 06:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:18 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
Open Source Consulting | Domain Registration