Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-24-2013, 12:50 PM
|
#1
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639
Rep:
|
vnc window size problem
Hi,
I'm using x11vnc on the server and tigervnc as the client with ssh tunneling. Everything worked easily. (Both systems are Slack64 13.37, with alien's tigervnc and x11vnc built from slackbuilds.org).
However, I have one problem, which is that the vncviewer window is just a little too small for the image. I can play with different resolutions (using the -geometry option) and can make the vertical view fit, but no matter what I try I can't make the horizontal scroll bar go entirely away. What's more, when using a smaller resolution I can resize my window vertically if necessary, but I cannot resize the window horizontally beyond a certain point which happens to be just a little too small to fit the entire image.
Does anyone know how I can fix this?
Thanks in advance,
Brian
|
|
|
09-25-2013, 10:52 AM
|
#2
|
Senior Member
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,240
|
Quote:
Originally Posted by BCarey
Hi,
I'm using x11vnc on the server and tigervnc as the client with ssh tunneling. Everything worked easily. (Both systems are Slack64 13.37, with alien's tigervnc and x11vnc built from slackbuilds.org).
However, I have one problem, which is that the vncviewer window is just a little too small for the image. I can play with different resolutions (using the -geometry option) and can make the vertical view fit, but no matter what I try I can't make the horizontal scroll bar go entirely away. What's more, when using a smaller resolution I can resize my window vertically if necessary, but I cannot resize the window horizontally beyond a certain point which happens to be just a little too small to fit the entire image.
Does anyone know how I can fix this?
Thanks in advance,
Brian
|
As far as I remember I had trouble with this while using x11vnc at the server end. I could be wrong but I think it has to do with x11vnc attaching to a real, physical display. I don't know about TigerVNC but I do know that TightVNC creates a virtual X11 session instead. I never had problems with TightVNC as server and client. Make sure to remove existing vncserver binaries, vncpasswd files, etc. first, if you decide to install it.
|
|
|
09-25-2013, 12:34 PM
|
#3
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639
Original Poster
Rep:
|
Thanks for the answer. My goal is to get into an existing X session, so I'm using x11vnc on the server side and I'm only using the viewer from tigervnc on the client side. I guess I could try some alternative viewers.
Brian
|
|
|
09-25-2013, 12:44 PM
|
#4
|
Member
Registered: Aug 2012
Location: UK
Posts: 206
Rep:
|
TigerVNC has x0vncserver, which gives you access to an existing X session.
|
|
|
09-25-2013, 06:01 PM
|
#5
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639
Original Poster
Rep:
|
Quote:
Originally Posted by turtleli
TigerVNC has x0vncserver, which gives you access to an existing X session.
|
Thanks, but I'm having trouble getting x0vncserver working, while x11vnc was really easy. x0vncserver gives me a "Unable to open display """, and this problem doesn't seem to occur often according to google.
Brian
|
|
|
09-25-2013, 06:14 PM
|
#6
|
Member
Registered: Aug 2012
Location: UK
Posts: 206
Rep:
|
I think you need to specify a display. I use
Code:
x0vncserver -display=:0 -PasswordFile=$HOME/.vnc/passwd
to set up access to my desktop.
|
|
|
09-25-2013, 10:34 PM
|
#7
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639
Original Poster
Rep:
|
Ok, that's a big help. I got the server working, but...one more question if you don't mind. With x11vnc the geometry option resizes the displayed screen to the specified size. In tigervnc it seems to make the viewer display only a portion of the actual screen. Is there any way to resize the screen? (The geometry option in vncviewer seems to have no effect when I change it.)
If I can't resize the display then it leaves me with even more scrolling than with x11vnc.
Thanks for your help,
Brian
|
|
|
09-25-2013, 11:56 PM
|
#8
|
Member
Registered: Aug 2012
Location: UK
Posts: 206
Rep:
|
The geometry option in vncviewer doesn't affect physical X sessions accessed using x0vncserver, it's more for virtual X sessions started with vncviewer.
You can use xrandr I guess, it'll support resizing to whatever the remote computer's monitor supports easily, I'm clueless about advanced xrandr uses though if the supported monitor modes are still too big for your use. You'll need to restart x0vncserver after you resize with xrandr. If you don't need to resize a lot then it's probably a workable solution.
|
|
|
All times are GMT -5. The time now is 06:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|