LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-03-2005, 11:30 AM   #1
RySk8er30
Member
 
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274

Rep: Reputation: 30
VNC Problem


I recently installed Mandriva 2005 LE on a server. I also installed Webmin. In Webmin I saw an option for VNC Client. When I tried to login, I received the message:

Quote:
java.net.ConnectionException: Connection refused
I then went and installed vnc (from RealVNC). I could start vnc server fine with the command:

Quote:
vncserver
I have two questions. How do I get vncserver to run on startup? How do I get vncserver to start with a console, (instead of twm or startkde).

Ryan
 
Old 09-03-2005, 09:03 PM   #2
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
Assuming you want to start vncserver as someone other than root, you might try something like this in your /etc/rc.d/rc.local file (your path to rc.local might be different):

su - someuser vncserver &

I can't say if this will work for vncserver but it does for a couple other programs I run as a non-root user at startup.

I'm not sure I'm understanding your 2nd question, though - do you NOT want to have a window manager start up when you run vncserver? You ONLY want console? If so, you may want to run something like sshd instead. If what you're asking is how to have a console up and running on your desktop when a user logs into vncserver, you can add a line like this to your ~/.vnc/xstartup file:

xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &

Hope this helps
 
Old 09-05-2005, 05:57 PM   #3
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Mandrake comes with packages for tightvnc (tightvnc-server etc.). Once you install that there will be a vncserver service that you can start/stop/enable/disable in the normal way either through the Mandrake Control Centre or using the service and chkconfig commands.
 
  


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
VNC problem gauge73 Linux - Networking 13 01-27-2009 12:34 AM
Yet another VNC problem paul_dundee Linux - Software 5 03-06-2005 04:40 PM
little vnc problem -- please help ruwach Linux - Software 3 12-06-2004 10:47 PM
VNC Problem Wolf-67 Linux - Newbie 1 10-01-2004 06:19 PM
VNC problem Fulkan Linux - Software 1 10-01-2004 06:12 PM

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

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