How do I edit the Remote Desktop Preferences via terminal?

AndyNJ
Posts: 38
Joined: Tue Feb 15, 2011 8:43 am

How do I edit the Remote Desktop Preferences via terminal?

Postby AndyNJ » Wed Feb 16, 2011 8:26 am

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.

sag47
Posts: 43
Joined: Sun Feb 13, 2011 9:27 am

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

Postby sag47 » Wed Feb 16, 2011 12:57 pm

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

sag47
Posts: 43
Joined: Sun Feb 13, 2011 9:27 am

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

Postby sag47 » Thu Feb 17, 2011 5:58 am

Here's information on VNC server for Linux. Perhaps it could be related to WebVNC.

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

Who is online

Users browsing this forum: No registered users and 2 guests