Page 1 of 1

How do I edit the Remote Desktop Preferences via terminal?

Posted: Wed Feb 16, 2011 8:26 am
by AndyNJ
I'm trying to get VNC up and running, but I'm not near the physical machine (at the moment) so I only have SSH access at the moment.

I followed the instructions at http://wiki.amahi.org/index.php/WebVNC, but I'm stuck at the "Turn on Desktop Sharing" section. Where are these settings so I can edit via the terminal?

EDIT: The server is not headless and a desktop session should be currently active right now.

Re: How do I edit the Remote Desktop Preferences via termina

Posted: Wed Feb 16, 2011 12:57 pm
by sag47
When missiles and nukes fail, shoot a low orbit ion cannon at it... in other words blow it up with the find command.

Search all possible locations vnc could be.

Code: Select all

su cd / #search file names for vnc find / -type f 2> /dev/null | grep -i 'vnc' > ~/vnc_file_names #search contents of files for vnc find / -type f -print0 2> /dev/null | xargs -0 grep -iH 'vnc' 2> /dev/null | cut -d: -f1 | sort -u > ~/vnc_in_files
Search the contents of the two files ~/vnc_file_names and ~/vnc_in_files to see if you can find the location of a config file which contains a setting for enabling it. I know it's a very generic solution but for me this method resolves a lot of my problems.

SAM

Re: How do I edit the Remote Desktop Preferences via termina

Posted: Thu Feb 17, 2011 5:58 am
by sag47
Here's information on VNC server for Linux. Perhaps it could be related to WebVNC.

http://www.skullbox.net/vncserver.php