~/Blog

Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI studying Automated Reasoning in AI and Linux Enthusiast.

VNC Setup

Published on

Updated on

Warning: This post has not been modified for over 2 years. For technical posts, make sure that it is still relevant.

I mostly following this Digital Ocean Tutorial on getting a working VNC setup on my desktop computer. There is one main difference on my end since I use KDE. I edited the /home/$USER/.vnc/xstartup file to appear as

#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
dbus-launch --exit-with-session startkde

And I added the following script to make my life easier

#!/bin/bash
ssh -L 5901:127.0.0.1:5901 -C -N -l rozek 192.168.0.104 &
krdc vnc://127.0.0.1:5901
Reply via Email Buy me a Coffee
Was this useful? Feel free to share: Hacker News Reddit Twitter

Published a response to this? :