Xubuntu VNC problem

this is how i set mine up

this line added to /etc/rc.local
Code:
su - username -c '/usr/bin/vncserver -depth 16 -geometery 1024x768 :1'

change username to your username.
it does mean it's running all the time.
 
Have you tried rebooting the machine- This is 100% design behaviour :)
NOTE: The session created does not end if you terminate the connection. It persists until you actually log out. This is useful if you are on a connection that drops out or if you login to start a job and need to disconnect without killing the job.

Otherwise, if you've got ssh access you could restart the XVNC service like this:
sudo /etc/init.d/xinetd stop
sudo killall Xvnc
sudo /etc/init.d/xinetd start

Cheers

-Leezer-
 
Nice, I'll give this a go. :) The machine it 10 miles away, so it's a PITA to have to drive somewhere just to reboot a machine... :o

Remote reboot :p
Obviously, logging out/ in again would also produce the desired results, but I can't think of a way to do that without SSH, & if you're going in that way its easier to simply restart the XVNC service.

Cheers

-Leezer-
 
SSH worked a treat in the end, just "sudo reboot" once logged in. :)

I'm now going to made so VNC is done over SSH for a little extra security...

Is it better to do SSH over another port instead of 22 for added security also?
 
Google FreeNX and take a look at that, its X11 over SSH and it rocks, been using it here for ages now, had to iron out a few minor niggles but its great.

ZLIB compression and better speed than vnc, take a gander you wont regret it :)
 
Google FreeNX and take a look at that, its X11 over SSH and it rocks, been using it here for ages now, had to iron out a few minor niggles but its great.

ZLIB compression and better speed than vnc, take a gander you wont regret it :)
Ok, thanks... I'm still getting to grips with Linux but I must admit I was find X11 a lot slower than XP's RDP thingy... :)
 
You only need to add the sources to apt-get, update sources then apt-get install freenx

Install client on your XP box and enjoy, obviously theres a lot more to it but you get the jist.

I tunnel mine through my squid proxy even on a slow connection from work browsing the net using a remote x11 is fast and mouse scrolling is smooth.
 
Last edited:
Back
Top Bottom