Xvnc geometry problem

Latest response

I have my RHEL7 server configured for remote access via VNC.

In /etc/services:

# Local services
vnc1024         5900/tcp                # VNC & XDM

The contents of /etc/xinetd.d/vnc1024 (Yes, I know that it says '800x600' even though I called the service 'vnc1024'. I originally had the geometry set to 1024x768, but I changed it to 800x600 to see if changing it would have any effect. It doesn't seem to have had any effect at all.)

service vnc1024
{
disable = no
socket_type = stream
protocol = tcp
group = tty
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -geometry 800x600 -depth 16 -once -fp /usr/share/X11/fonts/misc -securitytypes=none
}

When I connect from a workstation via VNC, Xvnc seems to be started with the correct geometry option:

# ps -fC Xvnc
UID        PID  PPID  C STIME TTY          TIME CMD
nobody    5078  5068  0 11:41 ?        00:00:02 Xvnc -inetd -query localhost -geometry 800x600 -depth 16 -once -fp /usr/shar

But the VNC display created appears to have a size of 1920x1200, which is larger than my monitor's 1920x1080 resolution.

I've searched the forum and Google, but I haven't found a similar issue. Can someone point me in the right direction?

Responses

I have the same problem with my configuration.
Once logged in you can change the screen resolution like this:

$ xrandr -s 1024x768

Or go to Applications -> System Tools -> Settings -> Displays and set the resolution.

Hi Kolja.

I saw in another, older, thread that you have a script like clone-errata.py. Would you be willing to share this script with me? I'd greatly appreciate it.

Thank you,
Christopher Jacoby

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.