I was reading the thread "Remote Desktop to Ubuntu from a Windows XP PC", which came close to what I'm trying to do. I have a Linux box that I'm trying to set-up using a remote desktop (using Windows XP) without have into login at the linux box and without a display, mouse, or keyboard attached (to the linux box). Anyone have any ideas on how to do this? All comments welcome. - drdoug

Dani AI

Generated

asked about connecting from a Windows XP box to a headless Ubuntu machine. Early replies pointed to VNC (), NX () and SSH/PuTTY (, ). The notes below build on those suggestions with practical, persistent configuration and safety steps often missing from short replies.

A concise working approach: run a lightweight desktop on Ubuntu, provide a VNC-style X session that starts at boot, and restrict remote access to an SSH tunnel. Key steps: install a minimal DE (Xfce/LXDE), install a VNC server that creates a virtual display (TigerVNC is common), create a per-user systemd unit so the VNC desktop starts before interactive login, and set the VNC server to bind to localhost only. Example systemd unit (adapt User and paths):

[Unit]
Description=TigerVNC server for %i
After=network.target

[Service]
Type=forking
User=ubuntu
PIDFile=/home/ubuntu/.vnc/%H:%i.pid
ExecStart=/usr/bin/vncserver :%i -geometry 1280x800 -depth 24
ExecStop=/usr/bin/vncserver -kill :%i

[Install]
WantedBy=multi-user.target

Security and Windows XP notes: never expose VNC directly to the internet. Tunnel the VNC port over SSH from the Windows side (PuTTY local port forwarding) or use a VPN. Enable key-based SSH auth, disable password SSH root login, and keep VNC listening on 127.0.0.1 only (or use the VNC server’s -localhost option). Since Windows XP is out of support, always assume the client side is untrusted and rely on encrypted tunnels.

Troubleshooting tips: check systemctl status and journalctl -u for the VNC unit, confirm IP with ip a, verify firewall with ufw status, and inspect X logs if the desktop won’t start. On machines that disable the GPU/display when no monitor is attached, use a virtual framebuffer (Xvfb :1 -screen 0 1024x768x24 &) or a dummy/EDID configuration so the X server provides a usable display.

Recommended Answers

All 5 Replies

use VNC.

I highly recommend NX client and server from nomachine

hlow....how to configure remote desktop xp to ubuntu...

plz help...me

use putty, there is windows version. It will give you the cmd line just as ubuntu server. very handy.

just google putty.

Putty (any SSH client) will only work if the Ubuntu machine is already set up with a working network interface and has a SSH server installed and running. If the machine is running Ubuntu Server there should be no problem checking the box for SSH Server during the installation of Ubuntu Server.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.