Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old June 5th, 2006   #1
davidbd
5 Cups of Ubuntu
 
Join Date: Jun 2006
Beans: 19
How to start vncserver at startup

Hello,
I installed Ubuntu server with x server ( minimal install ) on a computer without a screen.
I would like to boot and then connect to the server via vnc client or via x-server.

currently I installed ssh server on the linux server and ssh client ( putty ) and x-server ( cygwin-x ) on the PC .

Then I used the ssh to connect to the server and then run vncserver and other tools.

I know there is an option to enable the XDMP service and connect with external x-server running on other machine.

I whould like to enbale the following at automatically start up:
- XDMP server
- VNC server

What are the excat step to do so and what is recomendad ?

Regards,
David.
davidbd is offline   Reply With Quote
Old June 6th, 2006   #2
davidbd
5 Cups of Ubuntu
 
Join Date: Jun 2006
Beans: 19
Re: How to start vncserver at startup

Any answer ?
__________________
Regards,
David.
davidbd is offline   Reply With Quote
Old June 11th, 2006   #3
mjfarina
First Cup of Ubuntu
 
Join Date: Mar 2006
Beans: 10
Re: How to start vncserver at startup

I would love to see someone answer this!!
mjfarina is offline   Reply With Quote
Old June 11th, 2006   #4
tronica
Dipped in Ubuntu
 
tronica's Avatar
 
Join Date: Apr 2005
Location: under a rock
Beans: 572
Ubuntu Karmic Koala (testing)
Re: How to start vncserver at startup

i'm trying to find a guide that i used a long time ago but i know that it has something to do with ~.vnc/xstartup

also try here
http://72.14.203.104/search?q=cache:...&ct=clnk&cd=26

and go down to configuring vnserver

Last edited by tronica; June 12th, 2006 at 12:01 AM..
tronica is offline   Reply With Quote
Old June 13th, 2006   #5
tronica
Dipped in Ubuntu
 
tronica's Avatar
 
Join Date: Apr 2005
Location: under a rock
Beans: 572
Ubuntu Karmic Koala (testing)
Re: How to start vncserver at startup

here yah go

http://ubuntuforums.org/showthread.p...ight=vnc+gnome
tronica is offline   Reply With Quote
Old June 13th, 2006   #6
viper52b
Spilled the Beans
 
Join Date: Jun 2006
Location: Lichtaart, Belgium
Beans: 14
Ubuntu 6.06
Send a message via MSN to viper52b
Re: How to start vncserver at startup

If you just want vncserver to start at system startup, you can just add it to the correct runlevel: this will probably be /etc/rc3.d/ (console login, not graphical, with networkin support). To make vncserver startup automatically just add a symlink here to /etc/init.d/vncserver

Code:
# cd /etc/rc3.d
# sudo ln -s /etc/init.d/ssh S99vncserver
The number S99 just means it will be executed as the last program. (numbering goes to 100). This way just makes vncserver start automatically...
Hope it helps!
viper52b is offline   Reply With Quote
Old June 13th, 2006   #7
Slim Odds
Fresh Brewed Ubuntu
 
Slim Odds's Avatar
 
Join Date: Apr 2006
Location: Ubuntuland
Beans: 1,372
Ubuntu 9.10 Karmic Koala
Question Re: How to start vncserver at startup

Quote:
Originally Posted by viper52b
If you just want vncserver to start at system startup, you can just add it to the correct runlevel: this will probably be /etc/rc3.d/ (console login, not graphical, with networkin support). To make vncserver startup automatically just add a symlink here to /etc/init.d/vncserver

Code:
# cd /etc/rc3.d
# sudo ln -s /etc/init.d/ssh S99vncserver
The number S99 just means it will be executed as the last program. (numbering goes to 100). This way just makes vncserver start automatically...
Hope it helps!
Why the heck would you link it to ssh?
__________________
24 beers in a case, 24 hours in a day. Coincidence? I think not!

Karmic Koala 64 bit, AMD Phenom 9500 Quad Core, GeForce 9600 GT
8G PC2-6400 RAM, Twin 320G SATA 7200 RPM RAID0, 400G IDE 7200 RPM, 750G eSATA 7200 RPM
Slim Odds is offline   Reply With Quote
Old June 14th, 2006   #8
viper52b
Spilled the Beans
 
Join Date: Jun 2006
Location: Lichtaart, Belgium
Beans: 14
Ubuntu 6.06
Send a message via MSN to viper52b
Re: How to start vncserver at startup

my mistake...

should be vncserver offcourse

(was testing it on my pc for ssh server)
viper52b is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:08 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry