How to execute epoptes-client by the command console

Asked by sam_sao

Guys, can anyone help me?

I need to execute epoptes-client from the command console. If I try, simply entering 'epoptes-client' on command console I receveid these erros:

aluno1@le-lab08:~$ epoptes-client
 * Epoptes-client connecting to 192.168.0.112:789... ...done.
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
./screenshot:35: GtkWarning: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
  root = gdk.get_default_root_window()
[: 247: Illegal number:
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
./screenshot:35: GtkWarning: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
  root = gdk.get_default_root_window()
xprop: unable to open display ''
aluno1@le-lab08:~$

How to solve this? Thanks! :)

Ps: Pardon me, I'm brazilian and my english isn't so good. :p

Question information

Language:
English Edit question
Status:
Solved
For:
Epoptes Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fotis Tsamis (ftsamis) said :
#1

Hello,

Are you trying to run epoptes-client on an environment without a graphical desktop interface (e.g. Unity/Gnome/KDE)?

Revision history for this message
sam_sao (sao2029-cadastros) said :
#2

Fotis Tsamis, thanks for update. :)

I'm trying to run epoptes-client on an graphical desktop interface based on Kubuntu LTS 10.04 Lucid Lynx.

The reason for I'm using epoptes-client on the console is because I need to run epoptes from other PC by using SSH connection.

Revision history for this message
Fotis Tsamis (ftsamis) said :
#3

The problem is that epoptes-client can't take thumbnails of the screen to send back to Epoptes, because you don't have a X screen in ssh.

We really didn't have that scenario in mind when designing Epoptes (running without X screen) since most features are useless without a graphical interface, but if you really need to do that via SSH, try using ssh -X so you can have X11 forwarding.

I'm sure we'll have a better solution if you tell us what exactly are you trying to achieve and why do you need to start epoptes-client via ssh.

Revision history for this message
sam_sao (sao2029-cadastros) said :
#4

Fotis Tsamis, thanks again for your look in this problem.

I've already tried ssh with -X argument. But, didn't work. :/

My problem is this:

How to reconnect clients (remotely) who had disconnected from server or how to client does a polling every minute to establish the connection again?

Revision history for this message
stasia (stasiascani) said :
#5
Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Fotis Tsamis (ftsamis) said :
#7

Marking as solved, as per the submitter's comment.