two important bug, gnome-session error,and x-terminal-emulator error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vnc4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
bug 1: vnc run x-terminal-emulator error
-------
on ubuntu 16.04 or ubuntu 18.04,
sudo apt-get install vnc4server
then run vncserver
the ~/.vnc/xstartup file was created as follow:
$ cat ~/.vnc/xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/
[ -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 &
when use vncviewer connect vnc service , only find vncconfig window, no x-terminal-
the error root cause was
/usr/bin/
``````
if ($login == 1)
{
@args = ('--login', @args);
}
exec('gnome-
`````
when gnome-terminal run with parameter "--login", will complain
"Failed to parse arguments: Unknown option --login\n" and exit. so we can't see it in vncclient.
please change the /usr/bin/
bug2; vnc run gnome-session error
-------
on ubuntu 16.04 or ubuntu 18.04,
sudo apt-get install vnc4server
then run vncserver
change the ~/.vnc/xstartup file was created as follow:
$ cat ~/.vnc/xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-window-manager &
gnome-session &
then use vnc client connet the vncserver, we will not see gone-session desktop.
because the /usr/bin/
the wrong message /usr/bin/
"software acceleration check failed: Child process exited with code 1"
"gnome-
please change vnc4server support opengl hardware/software acceleration as tightervnc.
or add --disable-
for more detail infomation please contact me via elwin_mao@163.com.