-
VNCServer after Knoppix HDD install.
I have looked and tried everything I can find on the net but must be doing something stupid.
Simply put, I have installed Knoppix on my Hard Disk and am trying to get vncserver to run at startup in the same way it does when I run it from a console once logged in - (ie so I see a the same things on my desktop)
I tried using .kde/autostart and placed a link to vncserver in there - this worked ace until I realised that everytime I VNC'd to my Linux box it started another VNC server instance... not good - I ended up with about 20 instances in a day...
I tried changing /etc/X11/xinit/xserverrc by adding the line
exec /usr/bin/vncserver :1
That didn't work.
I tried changing /etc/X11/xdm/Xservers and added the line
:1 local /usr/bin/Xvnc -geometry 1000x730 :1
That didn't work - It can't be that hard <aahhhh>....
Help ?
Thanks
Phil
-
Senior Member
registered user
-
Hi Stephen
Thanks but the problem I have is where to launch the vncserver from - which startup file and how... everything I have dont so far wont actually get vncserver launched..
Once its running its fine but I want it to autostart at bootup
Regards
Phil
-
Senior Member
registered user
#/bin/bash
su -c "vncserver -geomtery 1024x768 -name Knoppix:1" knoppix
^ Make a shell script like that. Stick it in /usr/local/bin. Make it owned by you and executable by all.
as root:
ln -s /usr/local/bin/vnc-script_name /etc/rc5.d/S99vnc
Note: I may not have the vncserver command exactly corrent, and there are a lot of options for you to decide on like depth and geometry. I'll have to look at my remastered CD to see what vnc scripts I used.
-
VNC Perfect
Thanks - Perfect - did the trick.
Thanks
Phli
Similar Threads
-
By charleswong in forum Networking
Replies: 3
Last Post: 11-29-2007, 05:22 PM
-
By pupton in forum General Support
Replies: 0
Last Post: 12-12-2004, 10:21 PM
-
By patrick79 in forum Customising & Remastering
Replies: 1
Last Post: 11-05-2004, 11:06 PM
-
By hugo in forum General Support
Replies: 1
Last Post: 08-27-2003, 01:14 AM
-
By tegan in forum General Support
Replies: 5
Last Post: 03-12-2003, 02:03 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

IBM Power S822 POWER8 1x CPU 32GB DDR4 RAM 2U Rack Server No HDD.
$629.99

Lot of 2 IBM blade center Type H chassis 8852
$559.00

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$200.00

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$149.99

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS
$80.00

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$108.92

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER
$349.99

Ibm Computer Tower
$400.00

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99