You are not logged in.

#1 2015-04-20 22:07:12

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Starting a program from the shell into a vncserver running on 5901

I started a vncserver via `vncserver -geometry 1792x1008 -alwaysshared :1` and within it, I am running xfce4 just fine.  I would like to start a program from a shell outside of the vncserver.  I tried the following but got errors.  What am I missing?

% DISPLAY=1.0 lxterminal

(lxterminal:17489): Gtk-WARNING **: cannot open display: 1.0

Offline

#2 2015-04-21 00:02:31

mwillems
Member
Registered: 2014-08-09
Posts: 93

Re: Starting a program from the shell into a vncserver running on 5901

Try

$ export DISPLAY=:1
$ lxterminal

That works over here.

Last edited by mwillems (2015-04-21 00:03:43)

Offline

Board footer

Powered by FluxBB