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 27: Line 27:
 
Now edit ~/.vnc/xstartup file and add one line after the x-window-manager, it's like this:
 
Now edit ~/.vnc/xstartup file and add one line after the x-window-manager, it's like this:
 
  #!/bin/sh
 
  #!/bin/sh
 
 
  xrdb $HOME/.Xresources
 
  xrdb $HOME/.Xresources
 
  xsetroot -solid grey
 
  xsetroot -solid grey
Line 36: Line 35:
 
  export XKL_XMODMAP_DISABLE=1
 
  export XKL_XMODMAP_DISABLE=1
 
  /etc/X11/Xsession
 
  /etc/X11/Xsession
~
+
 
 +
Now let's restart the vnc server
 +
 
 +
root@radxa:~# '''vncserver -kill :1'''
 +
root@radxa:~# '''vncserver -geometry 1280x800 :1'''

Revision as of 02:47, 27 March 2014


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