Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock/vnc"

Line 3: Line 3:
 
__TOC__
 
__TOC__
  
 +
== Setting up the vnc servier ==
 
You can access your radxa rock desktop from the network remotely by setting up the VNC (Virtual Network Computing) server.
 
You can access your radxa rock desktop from the network remotely by setting up the VNC (Virtual Network Computing) server.
 
Install the vncserver if you haven't install it on your rock
 
Install the vncserver if you haven't install it on your rock
Line 40: Line 41:
 
  root@radxa:~# '''vncserver -kill :1'''
 
  root@radxa:~# '''vncserver -kill :1'''
 
  root@radxa:~# '''vncserver -geometry 1280x800 :1'''
 
  root@radxa:~# '''vncserver -geometry 1280x800 :1'''
 +
 +
== Access the desktop remotely ==
 +
===Linux===
 +
===Mac===
 +
===Windows===

Revision as of 02:49, 27 March 2014

Setting up the vnc servier

You can access your radxa rock desktop from the network remotely by setting up the VNC (Virtual Network Computing) server. Install the vncserver if you haven't install it on your rock

sudo apt-get install tightvncserver

Run it the first time to setup the password:

root@radxa:~# vncserver                                                         
                                                                               
You will require a password to access your desktops.                            
                                                                               
Password:                                                         #(input your password here)              
Warning: password truncated to the length of 8.                                 
Verify:                                                                  #(repeat the password)       
Would you like to enter a view-only password (y/n)? n                           #(input n here)
xauth:  file /root/.Xauthority does not exist                                   
                                                                               
New 'X' desktop is radxa:1                                                      
                                                                               
Creating default startup script /root/.vnc/xstartup                             
Starting applications specified in /root/.vnc/xstartup                          
Log file is /root/.vnc/radxa:1.log

Now edit ~/.vnc/xstartup file and add one line after the x-window-manager, it's like this:

#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
startlubuntu &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession

Now let's restart the vnc server

root@radxa:~# vncserver -kill :1
root@radxa:~# vncserver -geometry 1280x800 :1

Access the desktop remotely

Linux

Mac

Windows