Unleash Your Samsung Tablet: Remote Server Access on Ubuntu
Turn an old tablet into a portable workstation - no new hardware required.
Why This Setup?
Old tablets gather dust in drawers. Instead of throwing them away, you can turn them into lightweight terminals that connect to a remote Ubuntu server - giving you a productive, portable workstation for the cost of zero new hardware.
This guide shows you how to set up a wireless connection from a Samsung tablet to a remote Ubuntu machine using VNC, so you can work from anywhere with a full desktop environment.
What You Need
Hardware
- Samsung Tablet - Galaxy Tab S series with Android 11 or later (older tablets work too)
- Remote Server - a desktop or laptop with:
- 16 GB RAM (8 GB minimum)
- Quad-core processor
- 256 GB storage
- Stable internet with at least 50 Mbps upload
Software
On the server:
- Ubuntu (20.04 or later)
- TightVNC server
- A Dynamic DNS service account (if using residential internet)
On the tablet:
- VNC Viewer app (from Play Store or F-Droid)
- OpenVPN client (optional, for security)
Server Setup
1. Install the VNC Server
sudo apt update
sudo apt install tightvncserver xfce4 xfce4-goodies2. Create a VNC Startup Script
nano ~/vnc-startup.shAdd:
#!/bin/bash
vncserver :1 -geometry 1920x1080 -depth 24Make it executable:
chmod +x ~/vnc-startup.sh3. Configure the Desktop Environment
Kill any existing session and configure the startup:
vncserver -kill :1
mv ~/.vnc/xstartup ~/.vnc/xstartup.bak
nano ~/.vnc/xstartupAdd:
#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &Make it executable:
chmod +x ~/.vnc/xstartup4. Set a VNC Password
vncpasswdNetwork Configuration
1. Dynamic DNS
If your server is on residential internet (no static IP):
- Create an account with a DDNS provider (No-IP, DynDNS, or DuckDNS)
- Install the DDNS client on your server
- Configure your domain name (e.g.,
myserver.ddns.net)
2. Router Port Forwarding
- Access your router admin panel (typically
192.168.1.1) - Set up port forwarding: external port
5901to internal port5901, TCP - Point it to your server's local IP address
3. Security Hardening
Do not expose VNC to the internet without protection:
# Install fail2ban for brute-force protection
sudo apt install fail2ban
# Configure firewall
sudo ufw allow 5901/tcp
sudo ufw allow ssh
sudo ufw enableFor better security, tunnel VNC through SSH instead of opening the port directly:
# From the tablet (using Termux or similar):
ssh -L 5901:localhost:5901 user@myserver.ddns.netThen connect VNC Viewer to localhost:5901.
Tablet Configuration
1. Install VNC Viewer
Download VNC Viewer from the Play Store or F-Droid. Create a new connection:
- Address:
your-ddns-domain.net:5901(orlocalhost:5901if tunneling through SSH) - Picture Quality: Automatic
- Name: Give it a recognizable name
2. Optimize Tablet Performance
For a smoother experience on older tablets:
- Enable Developer Options (tap Build number 7 times in Settings > About)
- Set Window animation scale to 0.5x or off
- Set Transition animation scale to 0.5x or off
- Enable Force GPU rendering
Daily Workflow
Starting a Session
- (If using VPN/SSH) Connect to your VPN or open the SSH tunnel first
- Launch VNC Viewer
- Connect to your server
- You now have a full Ubuntu desktop on your tablet
Tips for Productivity
- Use a Bluetooth keyboard and mouse for a laptop-like experience
- Adjust VNC resolution to match your tablet's screen:
vncserver :1 -geometry 2560x1600 -depth 24 - Use XFCE's panel and workspaces to organize your work
- Keep your server updated:
sudo apt update && sudo apt upgrade
Ending a Session
- Disconnect from VNC Viewer
- (Optional) Kill the VNC session on the server:
vncserver -kill :1 - Disconnect VPN/SSH if active
Security Checklist
- Change all default passwords
- Use SSH tunneling instead of direct port exposure when possible
- Enable
fail2banfor brute-force protection - Keep Ubuntu and all packages updated
- Monitor access logs regularly:
cat ~/.vnc/*.log - Configure automatic backups for your server
Conclusion
This setup turns discarded hardware into a functional workstation. An old tablet becomes a portable terminal, a dusty desktop becomes a remote server - and nothing ends up in a landfill. It is a practical way to extend the life of your devices while maintaining a productive workflow from anywhere.