Mageia Bugzilla – Attachment 7226 Details for
Bug 17202
mgaapplet doesn't start if homedir is on NFS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
test-script for check_for_xserver
test-xserver.pl (text/plain), 720 bytes, created by
Hartmut Goebel
on 2015-11-22 14:43:20 CET
(
hide
)
Description:
test-script for check_for_xserver
Filename:
MIME Type:
Creator:
Hartmut Goebel
Created:
2015-11-22 14:43:20 CET
Size:
720 bytes
patch
obsolete
># https://bugs.mageia.org/show_bug.cgi?id=17202 > >use lib qw(/usr/lib/libDrakX); > >## This is a plain copy of >## /usr/lib/libDrakX/common.pm::check_for_xserver() with the >## debug-output from debug-check_for_xserver.patch applied. >sub check_for_xserver() { > print STDERR ">>> check_for_xserverxtest (running in $0)\n"; > if (!defined $::xtest) { > print STDERR ">>> \$::xtest not yet set, testing\n"; > print STDERR ">>> $DISPLAY: $ENV{DISPLAY}\n"; > $::xtest = 0; > eval { > require xf86misc::main; > $::xtest = xf86misc::main::Xtest($ENV{DISPLAY}); > } if $ENV{DISPLAY}; > } > print STDERR ">>> check_for_xserverxtest returns $::xtest\n\n\n"; > return $::xtest; >} >check_for_xserver();
# https://bugs.mageia.org/show_bug.cgi?id=17202 use lib qw(/usr/lib/libDrakX); ## This is a plain copy of ## /usr/lib/libDrakX/common.pm::check_for_xserver() with the ## debug-output from debug-check_for_xserver.patch applied. sub check_for_xserver() { print STDERR ">>> check_for_xserverxtest (running in $0)\n"; if (!defined $::xtest) { print STDERR ">>> \$::xtest not yet set, testing\n"; print STDERR ">>> $DISPLAY: $ENV{DISPLAY}\n"; $::xtest = 0; eval { require xf86misc::main; $::xtest = xf86misc::main::Xtest($ENV{DISPLAY}); } if $ENV{DISPLAY}; } print STDERR ">>> check_for_xserverxtest returns $::xtest\n\n\n"; return $::xtest; } check_for_xserver();
View Attachment As Raw
Actions:
View
Attachments on
bug 17202
:
7223
|
7224
|
7225
| 7226 |
7994
|
8009
|
8010
|
8011
|
8012