Changes

From Amahi Wiki
Jump to: navigation, search
11 bytes added ,  15:37, 5 April 2014
no edit summary
{{NeedsUpdate}}
 
The [[WebVNC]] application sets up a web page to access a Java applet for VNC connections. VNC is graphical remote control desktop software. VNC allows you to connect to a desktop on the the Amahi server from a remote computer via a browser. You must have a desktop session open on your HDA to be able to open a WebVNC session.
</div>
>== Install the WebVNC Package ==
# Go to http://setup
# Click the install icon to install the WebVNC server package on your HDA
'''NoteNOTE:''' ''You must have a desktop session open'' on your HDA to be able to open a WebVNC session. If you have a headless HDA server, see below. ----<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">---->=[http://eruvipokyke.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=---- ----<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">----=[http://itaxolimy.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=----=[http://itaxolimy.co.cc CLICK HERE]=----</div> =[http://eruvipokyke.co.cc CLICK HERE]=----</div>
==Setup VNC Server==
Sorry, some manual work is needed to run the server:
# 1. Log into the computer running the HDA as a normal user# 2. Launch a command line/terminal session (From the GNOME desktop, select Applications > System Tools > Terminal)# 3. Login as super user:<br /><br />#: su-#:password: ''enter root password''<br /><br /># 4. Change the permissions of /etc/sysconfig/vncservers to allow editing with the following command:<br /><br />#: chmod 777 /etc/sysconfig/vncservers<br /><br /># 5. Open the file /etc/sysconfig/vncservers with a text editor (Applications > Accessories > gedit Text Editor on the GNOME desktop) and add the following two lines to the bottom of the file:<br /><br />#: VNCSERVERS="0:''yourusername''"#: VNCSERVERARGS[0]="-geometry 1024x768 -depth 16"<br /><br />#'''NOTE:''' ''yourusername'' is the desktop user you use to login to your HDA desktop. Make sure there is no # comment symbol in front of your entries. This entry will create a 1024 x 768 desktop with 16M colors on your remote machine.<br /><br />#:You can set the desktop resolution to any value you want -- see below.<br /><br />#: You can also setup sessions for multiple users and computers. More detailed instructions are available [http://www.g-loaded.eu/2005/11/10/configure-vnc-server-in-fedora/ here].<br /><br />#6. Change the file permissions back:<br /><br />#: chmod 244 /etc/sysconfig/vncservers  
== Turn on Desktop Sharing ==
Next, remove the original index.html file and create a symlink to the appropriate new file:
 
rm index.html
ln -s /home/%USER%/.amahi.webvnc.800x600.index.html index.html
:To delete:
~/.gnome2/keyrings/default.keyring
:or backup:
mv ~/.gnome2/keyrings/default.keyring ~/.gnome2/keyrings/default.keyring.bak
::rm ~/.gnome2/keyrings/default.keyring== Headless Servers ==
If your HDA server is headless, then WebVNC is not for you (because you will not have a desktop session running). Instead, install a VNC client on your remote computer and [[VNC|VNC Server]] on the HDA.  There is however a hack to allow you to run WebVNC from a headless server. This is rather complex, and will not allow you to boot with a monitor attached without changing files again.  You need to modify you xorg.conf to emulation a monitor.  cd /etc/X11/ nano xorg.conf:or backupsave it as xorg.conf.bak nano xorg.conf:replace everything with  Section "Monitor" Identifier "Monitor0" HorizSync 31-81 VertRefresh 56-75 EndSection Section "Device" Identifier "Card0" Driver "vesa" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" EndSection :save and close xorg.conf
::mv ~ nano /.gnome2boot/keyringsgrub/defaultgrub.conf:save it as grub.keyring ~conf.bak nano /.gnome2boot/keyringsgrub/defaultgrub.keyring.bakconf:add above title Fedora GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
== Headless Servers ==Reboot
If your HDA server is headless, then WebVNC is not for you (because you will not have ever want to use a desktop session running). Insteadmonitor, install a VNC client on your remote computer and [[VNC|VNC Server]] on you just need to restore the HDA. bak files.
[[Category:Apps]]
12,424

edits