LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Thread Tools
Old 09-03-2005, 12:30 PM   #1
RySk8er30
Member
 
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274
Thanked: 0
VNC Problem


[Log in to get rid of this advertisement]
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
RySk8er30 is offline     Reply With Quote
Old 09-03-2005, 10:03 PM   #2
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371
Thanked: 2
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
pnellesen is offline     Reply With Quote
Old 09-05-2005, 06:57 PM   #3
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Mandriva 2009.1
Posts: 1,547
Thanked: 0
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.
tkedwards is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 08:28 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration