From 804d86f3b29299439fc48143fd4ca3d8ee34e93d Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Fri, 3 Apr 2009 14:33:51 +0000 Subject: [PATCH] Execute vncconfig in xstartup file early to make clipboard working. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3749 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- unix/vncserver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/vncserver b/unix/vncserver index 405d0923..07c3bec5 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -55,6 +55,7 @@ $xauthorityFile = "$ENV{XAUTHORITY}" || "$ENV{HOME}/.Xauthority"; $defaultXStartup = ("#!/bin/sh\n\n". + "vncconfig -iconic &\n". "unset SESSION_MANAGER\n". "OS=`uname -s`\n". "if [ \$OS = 'Linux' ]; then\n". @@ -75,7 +76,6 @@ $defaultXStartup "fi\n". "[ -r \$HOME/.Xresources ] && xrdb \$HOME/.Xresources\n". "xsetroot -solid grey\n". - "vncconfig -iconic &\n". "xterm -geometry 80x24+10+10 -ls -title \"\$VNCDESKTOP Desktop\" &\n". "twm &\n"); -- 2.39.5