Changes

From Amahi Wiki
Jump to: navigation, search
1,617 bytes removed ,  13:24, 22 October 2010
no edit summary
<big>'''More detailed instructions are available [http://www.g-loaded.eu/2005/11/10/configure-vnc-server-in-fedora/ here].'''</big>
= Running the Full Gnome Desktop =
 
In order to run the full gnome desktop in vnc, you have to edit this file in the home directory of the user you want to run vnc on:
 
First kill the VNC session: vncserver -kill :1
 
.vnc/xstartup
 
and make sure it has these two lines uncommented, per the comment there:
 
<pre>
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
</pre>
 
Now restart the vncserver: vncserver
 
I use remote desktop viewer, hit the connect button and type hda:1<br>
That should be it.
 
= Killing the Server =
 
To kill the server in session :1, you can do:
 
vncserver -kill :1
 
= Setup Automatic Login =
 
Automatic login is useful if you want to run a headless HDA and enjoy the benefits that VNC provides without having to login from the command line via SSH and manually start X.
 
Add the following to the file /etc/gdm/custom.conf
 
<pre>
#Enable Auto login to the GNOME desktop
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=<username>
TimedLoginEnable=true
TimedLogin=<username>
TimedLoginDelay=0
</pre>
 
Replace <username> with the username that you want to automatically login to the GNOME desktop.
 
If you want to have a script help you to accomplish the task, download [http://wiki.amahi.org/images/a/a3/AutomaticLogin.rb AutomaticLogin.rb] and run the script as root (directions to accomplish this are below).
 
Login as root then run the following commands:
<pre>
cd /tmp
wget http://wiki.amahi.org/images/a/a3/AutomaticLogin.rb
chmod +x AutomaticLogin.rb
./AutomaticLogin.rb
</pre>
 
Then follow the prompts to guide you in the setup.
= Troubleshooting for Vista =
This helpful page has helped with [http://www.windowsreference.com/internet-explorer/windows-has-blocked-this-software-because-it-cant-verify-the-publisher/ blocking VNC]
12,424

edits