Re: Wheezy/XFCE: remote desktop service difficulties with VNC server

2013-11-18 Thread Ron Leach

On 17/11/2013 20:40, Emilio Lopez wrote:


I think what you are looking for is x11vnc which allows you to view local
session by vnc

EmilioLLBB



Emilio, brilliant, I'd missed the need for it.

Installed, and after reading man x11vnc - it's quite long - used:

$ x11vnc -display :0

Gave us the user's desktop remotely, at 1440 x 900.  Just what we 
wanted to achieve.



On 17/11/2013 20:53, Reco wrote:



It's like this:

1) You need to be able to run some X app over network - you use
vnc4server or tightvnc. You run it over VNC - any local user won't
notice anything.

2) You need to be able to control X display of a local user - you use
x11vnc, which attaches to a local X display. You run something over VNC
- local user immediately sees that someone's moving windows on their
desktop.



This is very interesting.  I'd assumed that VNC only let you into the 
user's session, but explained this way it is much more capable than 
I'd thought, and this explains why I saw its 'new' sessions each time 
I tried.  Whilst our use-case, to date, has been to access the user's 
session, I think this could be useful in the future.


Neal's remarks about screen virtualisation raise the prospect of 
setting up some multi-segment sessions on larger screens; these could 
help at some presentation and training events.


Very useful thread, my thanks to the list, we're up and running with 
VNC on Wheezy/XFCE now.



regards, Ron


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/528a3ed3.5030...@tesco.net



Re: Wheezy/XFCE: remote desktop service difficulties with VNC server

2013-11-18 Thread Jonathan Dowland
Hi,

I don't know what happened to quoting in your message but it was nigh-on
unreadable. It might be worth a look at your mailer settings.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131118163302.ga11...@bryant.redmars.org



OT: Wheezy/XFCE: remote desktop service difficulties with VNC server

2013-11-18 Thread Ralf Mardorf
On Mon, 2013-11-18 at 16:33 +, Jonathan Dowland wrote:
 I don't know what happened to quoting in your message but it was nigh-on
 unreadable. It might be worth a look at your mailer settings.

By Emilio’s quoting some paragraphs became endless lines, so the
quotation sign is only at the beginning of the paragraph. It becomes
readable without line wrapping and it's comfortable to scroll using mice
with horizontal wheels.

Emilio, it's common practise to break a line after around 72 chars, IIRC
allowed are 80 chars. Don't quote whole messages, only what's needed,
IOW next time at least cut the signature of the mail you're quoting.

Regards,
Ralf



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1384794915.1093.52.camel@archlinux



Re: OT: Wheezy/XFCE: remote desktop service difficulties with VNC server

2013-11-18 Thread Emilio Lopez
On Nov 18, 2013 6:15 PM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote:

 On Mon, 2013-11-18 at 16:33 +, Jonathan Dowland wrote:
  I don't know what happened to
 quoting in your message but it was nigh-on
  unreadable. It might be worth a look at your mailer settings.

 By Emilio’s quoting some
 paragraphs became endless lines, so the
 quotation sign is only at the beginning of the paragraph. It becomes
 readable without line wrapping and it's comfortable to scroll using mice
 with horizontal wheels.

 Emilio, it's common practise to break a line after around 72 chars, IIRC
 allowed are 80 chars. Don't quote whole messages, only what's needed,
 IOW next time at least cut the signature of the mail you're quoting.

 Regards,
 Ralf


Sorry for the bad posting.

I was using Android's Gmail client which I'm not familiar with.

EmilioLLBB


Re: Wheezy/XFCE: remote desktop service difficulties with VNC server

2013-11-17 Thread Ron Leach

On 17/11/2013 18:01, Reco wrote:


Your .Xauthority seems to be misconfigured (probably owned by root).
Please ensure that this file is owned by regular user and has 0600
permissions.


Thanks, done.




Your xstartup script tries to execute non-installed 'gnome-session'.
Try replacing 'gnome-session' with '/etc/X11/Xsession',


Huge steps forward following your suggestion.  Working remote desktop 
achieved, but 'not' the same desktop as hosted on the attached screen. 
 Differences are screen resolution, and application windows.


Had to use slightly different layout compared to your suggestion, 
maybe this /home/ward/.vnc/xstartup is still is not quite correct:



#!/bin/sh

# Uncomment the following two lines for normal desktop:
#unset SESSION_MANAGER
#exec /etc/X11/xinit/xinitrc


 ## Those had been uncommented, but did not provide usable screen  ##


[ -x /etc/vnc/xstartup ]  exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ]  xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic 
x-terminal-emulator -geometry 80x24+10+10 -ls -title $VNCDESKTOP Desktop 
x-window-manager 

# added by user following a post on Debian Users list
/etc/X11/Xsession



X could not detect the attached screen because its cable is switched 
across a KVM which seems to destroy the EDID information; I'd already 
manually configured a Modeline for 1440x900.  (This works fine on the 
attached screen even through the KVM.)  The remote desktop appears to 
be 4x3 shape, and something closer to 800x600, I would guess.  Though 
XFCE 'settings' does allow the display resolution to be 
checked/changed using the keyboard and attached screen, on the remote 
desktop XFCE - instead - does not and complains that RandR is version 
1.1, not v1.2 .  No such complaint on the physical desktop.  Very odd; 
I wonder if this means that the Xsession being used for the remote is 
not the same as the Xsession being used for the physical user session? 
 I'll look deeper into logs; it might also explain why applications 
that the user is running do not show up on the remote desktop.


I've left vnc4server installed.  If I don't get anywhere with logs 
I'll try replacing it with tightvnc.


Reco, much obliged, that was a helpful post.

regards, Ron


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/528923c6.4010...@tesco.net



Re: Wheezy/XFCE: remote desktop service difficulties with VNC server

2013-11-17 Thread Emilio Lopez
On Nov 17, 2013 9:15 PM, Ron Leach ronle...@tesco.net wrote:

 On 17/11/2013 18:01, Reco wrote:


 Your .Xauthority seems to be misconfigured (probably owned by root).
 Please ensure that this file is owned by regular user and has 0600
 permissions.


 Thanks, done.



 Your xstartup script tries to execute non-installed 'gnome-session'.
 Try replacing 'gnome-session' with '/etc/X11/Xsession',


 Huge steps forward following your suggestion.  Working remote desktop
achieved, but 'not' the same desktop as hosted on the attached screen.
 Differences are screen resolution, and application windows.

 Had to use slightly different layout compared to your suggestion, maybe
this /home/ward/.vnc/xstartup is still is not quite correct:

 #!/bin/sh

 # Uncomment the following two lines for normal desktop:
 #unset SESSION_MANAGER
 #exec /etc/X11/xinit/xinitrc

  ## Those had been uncommented, but did not provide usable screen  ##
 

 [ -x /etc/vnc/xstartup ]  exec /etc/vnc/xstartup
 [ -r $HOME/.Xresources ]  xrdb $HOME/.Xresources
 xsetroot -solid grey
 vncconfig -iconic 
 x-terminal-emulator -geometry 80x24+10+10 -ls -title $VNCDESKTOP
Desktop 
 x-window-manager 

 # added by user following a post on Debian Users list
 /etc/X11/Xsession


 X could not detect the attached screen because its cable is switched
across a KVM which seems to destroy the EDID information; I'd already
manually configured a Modeline for 1440x900.  (This works fine on the
attached screen even through the KVM.)  The remote desktop appears to be
4x3 shape, and something closer to 800x600, I would guess.  Though XFCE
'settings' does allow the display resolution to be checked/changed using
the keyboard and attached screen, on the remote desktop XFCE - instead -
does not and complains that RandR is version 1.1, not v1.2 .  No such
complaint on the physical desktop.  Very odd; I wonder if this means that
the Xsession being used for the remote is not the same as the Xsession
being used for the physical user session?  I'll look deeper into logs; it
might also explain why applications that the user is running do not show up
on the remote desktop.

 I've left vnc4server installed.  If I don't get anywhere with logs I'll
try replacing it with tightvnc.

 Reco, much obliged, that was a helpful post.

 regards, Ron


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/528923c6.4010...@tesco.net


I think what you are looking for is x11vnc which allows you to view local
session by vnc

EmilioLLBB


Re: Wheezy/XFCE: remote desktop service difficulties with VNC server

2013-11-17 Thread Reco
On Sun, 17 Nov 2013 20:15:02 +
Ron Leach ronle...@tesco.net wrote:

 X could not detect the attached screen because its cable is switched 
 across a KVM which seems to destroy the EDID information; I'd already 
 manually configured a Modeline for 1440x900.  (This works fine on the 
 attached screen even through the KVM.)  The remote desktop appears to 
 be 4x3 shape, and something closer to 800x600, I would guess.

Vnc4server doesn't (and should not) take into account any EDID. The
entire point of VNC is to be able run even if video card(s) is
physically absent at the host.
Try experimenting with '-screen' and '-dpi' VNC options.


 Though XFCE 'settings' does allow the display resolution to be 
 checked/changed using the keyboard and attached screen, on the remote 
 desktop XFCE - instead - does not and complains that RandR is version 
 1.1, not v1.2 . 

AFAIK changing display resolution is not implemented in vnc4server (and
tightvnc, for that matter, too).


 No such complaint on the physical desktop.  Very odd; 
 I wonder if this means that the Xsession being used for the remote is 
 not the same as the Xsession being used for the physical user session? 

Unlikely. /etc/X11/Xsession should be used by any display manager they
put into Debian.


   I'll look deeper into logs; it might also explain why applications 
 that the user is running do not show up on the remote desktop.

It's like this:

1) You need to be able to run some X app over network - you use
vnc4server or tightvnc. You run it over VNC - any local user won't
notice anything.

2) You need to be able to control X display of a local user - you use
x11vnc, which attaches to a local X display. You run something over VNC
- local user immediately sees that someone's moving windows on their
desktop.


 I've left vnc4server installed.  If I don't get anywhere with logs 
 I'll try replacing it with tightvnc.
 
 Reco, much obliged, that was a helpful post.

You're welcome.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20131118005314.a1d4c6b6a22254b3f5bb5...@gmail.com



Re: Wheezy/XFCE: remote desktop service difficulties with VNC server

2013-11-17 Thread Neal Murphy
On Sunday, November 17, 2013 03:53:14 PM Reco wrote:
 On Sun, 17 Nov 2013 20:15:02 +
 
 Ron Leach ronle...@tesco.net wrote:
  X could not detect the attached screen because its cable is switched
  across a KVM which seems to destroy the EDID information; I'd already
  manually configured a Modeline for 1440x900.  (This works fine on the
  attached screen even through the KVM.)  The remote desktop appears to
  be 4x3 shape, and something closer to 800x600, I would guess.
 
 Vnc4server doesn't (and should not) take into account any EDID. The
 entire point of VNC is to be able run even if video card(s) is
 physically absent at the host.
 Try experimenting with '-screen' and '-dpi' VNC options.

To expand, vncserver creates an X11 server session that uses a virtual video 
card (in effect). Hence the 'virtual' in 'virtual network computing'.

'vncserver -geometry 1024x300' will create a 1024 wide x 300 high virtual 
display available via :1; 'vncviewer :1' will dutifully display it in a 
1024x300 window (plus trimmings).

VNC isn't rdesktop. As far as I know, the viewer can only display the virtual 
X session.

If you had a local X server configured to use a 2x2 matrix of 1920x1080 
displays as one logical display, you could have it run vncviewer to display a 
remote 3840x2160 VNC session fullscreen. (In theory, at least.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201311171629.08146.neal.p.mur...@alum.wpi.edu